Instructions to use Aharneish/qa-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aharneish/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="Aharneish/qa-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Aharneish/qa-model") model = AutoModelForQuestionAnswering.from_pretrained("Aharneish/qa-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 5000
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:a436e482799479cc0cb91f8629cb94def3b7de3e20663253990ea6aa6d07010dsize 265492517123version https://git-lfs.github.com/spec/v1oid sha256:68f26592beefc8edc56fae4e09c6ef44f95936737db655a5c900602b2d115165size 265492517
123version https://git-lfs.github.com/spec/v1oid sha256:1a0e53b7c3026a1f6f10ed46ab2ba95e9157be3095567403217e3d3faf501433size 5260123version https://git-lfs.github.com/spec/v1oid sha256:f235529e3529f621a16fe9c879a1d9cb23e4354dbeb4322edcc2d5732f052327size 5417
pytorch_model.bin+1-1
runs/Apr28_06-41-36_5e0256cf8e5c/events.out.tfevents.1682664176.5e0256cf8e5c.301.0+2-2