Instructions to use yusuf802/My_QA_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yusuf802/My_QA_Model 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="yusuf802/My_QA_Model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("yusuf802/My_QA_Model") model = AutoModelForQuestionAnswering.from_pretrained("yusuf802/My_QA_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress epoch 2
8258bfd -
Training in progress epoch 1
416ad11 -
Training in progress epoch 0
7be3e6e -
Training in progress epoch 2
6ad7796 -
Training in progress epoch 1
9e51308 -
Training in progress epoch 0
5c70541 -
initial commit
c0ee82a