Instructions to use cgt/pert-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cgt/pert-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="cgt/pert-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("cgt/pert-qa") model = AutoModelForQuestionAnswering.from_pretrained("cgt/pert-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.da14c02
-
update model card README.md
afd4120 -
train completed.
fd7bfb5 -
Training in progress, step 1500
98f3a9a -
Training in progress, step 1000
63f5aba -
Training in progress, step 500
9fed666 -
update model card README.md
dae5af4 -
train completed.
b1185c1 -
Training in progress, step 2000
d8d957e -
Training in progress, step 1500
a8a24c2 -
Training in progress, step 1000
0bdf185 -
Training in progress, step 500
a4ffc85 -
update model card README.md
f9f3cf1 -
train completed.
b79a247 -
Training in progress, step 3000
9c2d474 -
Training in progress, step 2500
21b52b6 -
Training in progress, step 2000
2d998fe -
Training in progress, step 500
7b28f52
-
update model card README.md
b5ed77d -
train completed.
588df3b -
Training in progress, step 3500
62bfd4b -
Training in progress, step 3000
3bc655d -
Training in progress, step 2500
8ed2566 -
Training in progress, step 2000
8331bfa -
Training in progress, step 1500
77f40c4 -
Training in progress, step 1000
e9e6fa6 -
Training in progress, step 500
bc3dcfc
-
update model card README.md
c6c7a1c -
Training in progress, step 6000
1add129 -
Training in progress, step 5500
7d8a888 -
Training in progress, step 5000
06673f1 -
Training in progress, step 4500
aa2723a -
Training in progress, step 4000
367a55a -
Training in progress, step 3500
d032541 -
Training in progress, step 3000
d4a6daf -
Training in progress, step 2500
ba7eea8 -
Training in progress, step 2000
4b8e224 -
Training in progress, step 1500
c10918f -
Training in progress, step 1000
0de9736 -
Training in progress, step 500
b5af052 -
Training in progress, step 3500
6dd278f -
Training in progress, step 3000
1369f8d -
Training in progress, step 2500
4b4977f -
Training in progress, step 2000
c0d82ec -
Training in progress, step 1500
9ac51bb -
Training in progress, step 1000
f91a167 -
Training in progress, step 500
c456787
-
update model card README.md
f0317d6 -
Training in progress, step 12000
f347a22 -
Training in progress, step 11500
2a10dc2