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
End of training
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:1a2062a3c57b0d6d3f6a38539804855dd1ce1c85695aed1945ffa59312b9ec01size 265492517123version https://git-lfs.github.com/spec/v1oid sha256:2cd1e859fee01404bd5798c6ba728e5c0a72d8333a9d0752b9bce9ad5e5fff84size 265492517
123version https://git-lfs.github.com/spec/v1oid sha256:59871abc0468cdc8f58a2e22f142ffc87cceb6c9703e944e67d736893cecfb4csize 6173123version https://git-lfs.github.com/spec/v1oid sha256:cf960f783b64c4ce7b38315bda818c427e4f84ee2e62b67592e940eca43f00d5size 6527
pytorch_model.bin+1-1
runs/Apr08_05-33-11_7eca6adcd188/events.out.tfevents.1680932051.7eca6adcd188.458.0+2-2