Instructions to use datarpit/toy-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use datarpit/toy-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="datarpit/toy-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("datarpit/toy-qa") model = AutoModelForQuestionAnswering.from_pretrained("datarpit/toy-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.5952741
-
update model card README.md
cd848d6 -
Model save
b60f997 -
Training in progress, step 20000
78eed37 -
Training in progress, step 19500
e669e90 -
Training in progress, step 19000
859695b -
Training in progress, step 18500
1701aa5 -
Training in progress, step 18000
92b9d2f -
Training in progress, step 17500
275d22f -
Training in progress, step 17000
57e2ac5 -
Training in progress, step 16500
1b9462b -
Training in progress, step 16000
0b4cf81 -
Training in progress, step 15500
61368c5 -
Training in progress, step 15000
d21cfe2 -
Training in progress, step 14500
972be6c -
Training in progress, step 14000
73612bc -
Training in progress, step 13500
8c81daf -
Training in progress, step 13000
f611051 -
Training in progress, step 12500
b8229ae -
Training in progress, step 12000
c0c2a08 -
Training in progress, step 11500
18e2c1a -
Training in progress, step 11000
98316d3 -
Training in progress, step 10500
fbbc35f -
Training in progress, step 10000
5f7de2c -
Training in progress, step 9500
4c3ecb8 -
Training in progress, step 9000
c3fc262 -
Training in progress, step 8500
7d89c5e -
Training in progress, step 8000
772dbf2 -
Training in progress, step 7500
5ac27d7 -
Training in progress, step 7000
71fae5a -
Training in progress, step 6500
2aadffe -
Training in progress, step 6000
dda9687 -
Training in progress, step 5500
b5ed546 -
Training in progress, step 5000
c4ca676 -
Training in progress, step 4500
87ad5ec -
Training in progress, step 4000
09c03be -
Training in progress, step 3500
11247ee -
Training in progress, step 3000
2e66025 -
Training in progress, step 2500
cb1a3e8 -
Training in progress, step 2000
96bd52a -
Training in progress, step 1500
98d74e7 -
Training in progress, step 1000
04ad294 -
Training in progress, step 500
b3b56ba -
update model card README.md
b9ee54c -
Model save
a397962 -
Training in progress, step 500
54091a4 -
Training in progress, step 500
f7e60c9 -
initial commit
bf34041