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 3000
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:2996f5a7403a97eb8462c077bb4aa8b2e06b86e32ca90d6413d15824b53c2991size 265492517123version https://git-lfs.github.com/spec/v1oid sha256:896c4d9aee2904427596cd76909e412ae1befb45d052c7fafc42d121fd5e17a5size 265492517
123version https://git-lfs.github.com/spec/v1oid sha256:92781bbbaca752defa6e36e0f1ccae1d172a4d9744672637f4c5c36c799328d3size 4632123version https://git-lfs.github.com/spec/v1oid sha256:e7c34116c417deb729a787f9cdf8aa806f8bd1db0e9392d286dbf1ea4516afd4size 4789
pytorch_model.bin+1-1
runs/Apr28_06-41-36_5e0256cf8e5c/events.out.tfevents.1682664176.5e0256cf8e5c.301.0+2-2