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