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:8e9bdaf9e120eecb51b4c30bfd221b53c53c8a256c52e80c7a83e5e729e07a86size 265492517123version https://git-lfs.github.com/spec/v1oid sha256:94d64a95fc64008d5f3c6ec44cbb29aec5dd046706d3e142024736f45e9cada1size 265492517
123version https://git-lfs.github.com/spec/v1oid sha256:886dae0c9e09052cda837919a0a0836ff1d9d4c73e20f1e5b70ee51003c53d2dsize 4946123version https://git-lfs.github.com/spec/v1oid sha256:27b4cd81dd50d3669c8ef53ec07c0706819dd8000b52cef3bccd325bc5c51d12size 5103
pytorch_model.bin+1-1
runs/Apr28_06-41-36_5e0256cf8e5c/events.out.tfevents.1682664176.5e0256cf8e5c.301.0+2-2