Instructions to use hosseinhimself/tara-roberta-base-fa-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hosseinhimself/tara-roberta-base-fa-qa with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="hosseinhimself/tara-roberta-base-fa-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hosseinhimself/tara-roberta-base-fa-qa") model = AutoModelForQuestionAnswering.from_pretrained("hosseinhimself/tara-roberta-base-fa-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,12 +11,12 @@ tags:
|
|
| 11 |
- question-answering
|
| 12 |
- Persian
|
| 13 |
---
|
| 14 |
-
# Tara
|
| 15 |
|
| 16 |
<img src="https://huggingface.co/hosseinhimself/tara-roberta-base-fa-qa/resolve/main/OIG1.jpeg" alt="Model Image" width="400" height="400">
|
| 17 |
|
| 18 |
|
| 19 |
-
**Tara
|
| 20 |
|
| 21 |
## Model Description
|
| 22 |
|
|
|
|
| 11 |
- question-answering
|
| 12 |
- Persian
|
| 13 |
---
|
| 14 |
+
# Tara
|
| 15 |
|
| 16 |
<img src="https://huggingface.co/hosseinhimself/tara-roberta-base-fa-qa/resolve/main/OIG1.jpeg" alt="Model Image" width="400" height="400">
|
| 17 |
|
| 18 |
|
| 19 |
+
**Tara** is a fine-tuned version of the `facebookAI/roberta-base` model for question-answering tasks, trained on the [SajjadAyoubi/persian_qa](https://huggingface.co/datasets/SajjadAyoubi/persian_qa) dataset. This model is designed to understand and generate answers to questions posed in Persian.
|
| 20 |
|
| 21 |
## Model Description
|
| 22 |
|