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 4000
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:0f47a152933b23004d9720193402dd358a2c4afa80f3a70f933b27fc4ed489basize 265492517123version https://git-lfs.github.com/spec/v1oid sha256:eff86bb67ea3b5d1975316214505cb315b8bfb01859c283f18ce3e4f3a4527d5size 265492517
123version https://git-lfs.github.com/spec/v1oid sha256:66842cc5e1501cc41f26aa4b2784cf9f35d0b02e9e00758ab24a92926791d283size 4946123version https://git-lfs.github.com/spec/v1oid sha256:dfba1c4e428b3485affea11954fdbf5ebfd0fea2cacb9eeccf12cd7220a2e12dsize 5103
pytorch_model.bin+1-1
runs/Apr27_08-43-13_b1814898af71/events.out.tfevents.1682585073.b1814898af71.324.0+2-2