Instructions to use samefaraz/SA-persian-lmhead with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use samefaraz/SA-persian-lmhead with PEFT:
Task type is invalid.
- Transformers
How to use samefaraz/SA-persian-lmhead with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("samefaraz/SA-persian-lmhead", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "negative": { | |
| "precision": 0.8073136427566807, | |
| "recall": 0.8776758409785933, | |
| "f1-score": 0.841025641025641, | |
| "support": 654.0 | |
| }, | |
| "neutral": { | |
| "precision": 0.7328767123287672, | |
| "recall": 0.6514459665144596, | |
| "f1-score": 0.6897663174858985, | |
| "support": 657.0 | |
| }, | |
| "positive": { | |
| "precision": 0.7835951134380453, | |
| "recall": 0.8061041292639138, | |
| "f1-score": 0.7946902654867256, | |
| "support": 557.0 | |
| }, | |
| "accuracy": 0.7767665952890792, | |
| "macro avg": { | |
| "precision": 0.7745951561744978, | |
| "recall": 0.7784086455856555, | |
| "f1-score": 0.7751607413327551, | |
| "support": 1868.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 0.774060813997784, | |
| "recall": 0.7767665952890792, | |
| "f1-score": 0.7740094848474897, | |
| "support": 1868.0 | |
| } | |
| } |