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