Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

IDEA-CCNL
/
Erlangshen-MegatronBert-1.3B-NLI

Text Classification
Transformers
PyTorch
Chinese
megatron-bert
bert
NLU
NLI
Model card Files Files and versions
xet
Community
4

Instructions to use IDEA-CCNL/Erlangshen-MegatronBert-1.3B-NLI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use IDEA-CCNL/Erlangshen-MegatronBert-1.3B-NLI with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="IDEA-CCNL/Erlangshen-MegatronBert-1.3B-NLI")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-MegatronBert-1.3B-NLI")
    model = AutoModelForSequenceClassification.from_pretrained("IDEA-CCNL/Erlangshen-MegatronBert-1.3B-NLI", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

关于中文推理数据集

1
#4 opened over 1 year ago by
weiminw

Adding `safetensors` variant of this model

#3 opened about 3 years ago by
SFconvertbot

Adding `safetensors` variant of this model

#2 opened over 3 years ago by
SFconvertbot

the results reported is on dev or test set?

#1 opened almost 4 years ago by
NICOLASORZ
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs