Instructions to use NLPclass/bert_textclassification_persiandata2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NLPclass/bert_textclassification_persiandata2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NLPclass/bert_textclassification_persiandata2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NLPclass/bert_textclassification_persiandata2") model = AutoModelForSequenceClassification.from_pretrained("NLPclass/bert_textclassification_persiandata2") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
13b7b79 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:22531e8b8f575a69a370a19b6d9f5c74a71dc1092ab4853d8be2149bfcef956e
size 5048
|