Instructions to use AliBagherz/qa-persian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AliBagherz/qa-persian 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="AliBagherz/qa-persian")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("AliBagherz/qa-persian") model = AutoModelForQuestionAnswering.from_pretrained("AliBagherz/qa-persian", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
590a746 -
Update README.md
69aea53 -
Update README.md
38031f5 -
Update config.json
1f2f1db -
Update README.md
9b90771 -
Update README.md
04acb12 -
Update README.md
6ed935f -
Update README.md
9b1b04f -
Update README.md
80052ce -
Upload tokenizer
8e2f294 -
End of training
943d22f -
Update README.md
02b144a -
Upload tokenizer
f891178 -
End of training
833c161 -
Update README.md
dd2979c -
Update README.md
396da91 -
Update README.md
1536136 -
Upload tokenizer
990207a -
End of training
689573d
-
Upload tokenizer
82732f4 -
End of training
34991bc -
initial commit
f087177