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