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)
1223version https://git-lfs.github.com/spec/v1oid sha256:91166df6b7d2767c8440c4c796c819c903f2697b73d37b3b3a547db265bfc316oid sha256:39a0c453a9114232a5842b06ee60fabadb7841cfd412150d56b5a75f47e28ab8size 26549251712323version https://git-lfs.github.com/spec/v1oid sha256:9183902ca6e7f279eebdf909032020fd005f7c522846e6b3c7f6ef37cf8a965fsize 4475oid sha256:32111a4afaa2249395df491631fd74405691ae01a4e3b4cec23eed637ddd283dsize 4632pytorch_model.bin+1-1
runs/Apr27_08-43-13_b1814898af71/events.out.tfevents.1682585073.b1814898af71.324.0+2-2