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
关于中文推理数据集
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