Text Classification
Transformers
Safetensors
Persian
xlm-roberta
sentiment-analysis
persian
text-embeddings-inference
Instructions to use frameai/PersianSentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frameai/PersianSentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="frameai/PersianSentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("frameai/PersianSentiment") model = AutoModelForSequenceClassification.from_pretrained("frameai/PersianSentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b730cdb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b5ca2cef10b94920dcbcc3b9cd54c0948da4a0947897ea88575e16e1dc113b07
size 5240
|