Instructions to use samefaraz/SA-persian-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use samefaraz/SA-persian-lora with PEFT:
Task type is invalid.
- Transformers
How to use samefaraz/SA-persian-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("samefaraz/SA-persian-lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "negative": { | |
| "precision": 0.8134863701578192, | |
| "recall": 0.8669724770642202, | |
| "f1-score": 0.8393782383419689, | |
| "support": 654.0 | |
| }, | |
| "neutral": { | |
| "precision": 0.7286184210526315, | |
| "recall": 0.6742770167427702, | |
| "f1-score": 0.700395256916996, | |
| "support": 657.0 | |
| }, | |
| "positive": { | |
| "precision": 0.7886323268206039, | |
| "recall": 0.7971274685816876, | |
| "f1-score": 0.7928571428571428, | |
| "support": 557.0 | |
| }, | |
| "accuracy": 0.778372591006424, | |
| "macro avg": { | |
| "precision": 0.7769123726770181, | |
| "recall": 0.7794589874628928, | |
| "f1-score": 0.7775435460387025, | |
| "support": 1868.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 0.776226228454962, | |
| "recall": 0.778372591006424, | |
| "f1-score": 0.7766244540907616, | |
| "support": 1868.0 | |
| } | |
| } |