Instructions to use Leonardolin/NTCIR_none_and_s_with_a with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Leonardolin/NTCIR_none_and_s_with_a with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Leonardolin/NTCIR_none_and_s_with_a")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Leonardolin/NTCIR_none_and_s_with_a") model = AutoModelForSequenceClassification.from_pretrained("Leonardolin/NTCIR_none_and_s_with_a") - Notebooks
- Google Colab
- Kaggle
tokenizer = BertTokenizer.from_pretrained("bert-base-chinese")
config = BertConfig.from_pretrained('Leonardolin/NTCIR_none_and_s_with_a', num_labels=2)
model = BertForSequenceClassification.from_pretrained("Leonardolin/NTCIR_none_and_s_with_a",config=config)
- Downloads last month
- 2