Instructions to use omid-ebi/Persian-Text-Emotion-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omid-ebi/Persian-Text-Emotion-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="omid-ebi/Persian-Text-Emotion-Classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("omid-ebi/Persian-Text-Emotion-Classification") model = AutoModelForSequenceClassification.from_pretrained("omid-ebi/Persian-Text-Emotion-Classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,8 @@ Hi, this is a Persian Text Emotion Detection model.
|
|
| 24 |
|
| 25 |
<!-- Provide a longer summary of what this model is. -->
|
| 26 |
|
| 27 |
-
|
|
|
|
| 28 |
- **Developed by:** [More Information Needed]
|
| 29 |
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
- **Shared by [optional]:** [More Information Needed]
|
|
|
|
| 24 |
|
| 25 |
<!-- Provide a longer summary of what this model is. -->
|
| 26 |
|
| 27 |
+
To use the model, you can use Persian sentences with emoji. Example:
|
| 28 |
+
واقعا هر کاری میخوای کنی نیم ساعت طول میکشه😭
|
| 29 |
- **Developed by:** [More Information Needed]
|
| 30 |
- **Funded by [optional]:** [More Information Needed]
|
| 31 |
- **Shared by [optional]:** [More Information Needed]
|