tasal9/ZamAI_Pashto_Dataset
Viewer • Updated • 57.3k • 20
How to use tasal9/ZamAI-Sentiment-Pashto with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tasal9/ZamAI-Sentiment-Pashto") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tasal9/ZamAI-Sentiment-Pashto")
model = AutoModelForSequenceClassification.from_pretrained("tasal9/ZamAI-Sentiment-Pashto", device_map="auto")Task: text-classification
Languages: ps, en
Training dataset(s): tasal9/ZamAI_Pashto_Dataset
This model is part of the ZamAI Pashto language AI collection. It is fine-tuned/adapted for text-classification in Pashto and related languages.
from transformers import pipeline
classifier = pipeline("text-classification", model="tasal9/ZamAI-Sentiment-Pashto")
print(classifier("دا ډیره ښه خبره ده"))
The model was trained or fine-tuned on: tasal9/ZamAI_Pashto_Dataset.
| Metric | Value | Description |
|---|---|---|
| accuracy | TBD | Add measured value |
| f1 | TBD | Add measured value |
| precision | TBD | Add measured value |
| recall | TBD | Add measured value |
Update this table with your measured results and link to the evaluation script/notebook.
@misc{zamai_pashto,
title = {{ZamAI Sentiment Pashto}},
author = {ZamAI / Yaqoob Tasal},
year = {2024},
howpublished = {\url{https://huggingface.co/tasal9/ZamAI-Sentiment-Pashto}}
}
This model is released under the "apache-2.0" license.