Instructions to use bhatia1289/bert-qa-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bhatia1289/bert-qa-squad 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="bhatia1289/bert-qa-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("bhatia1289/bert-qa-squad") model = AutoModelForQuestionAnswering.from_pretrained("bhatia1289/bert-qa-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from bhatia1289/bert-qa-squad: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/bhatia1289/bert-qa-squad/resolve/main/training_args.bin
- Command line
-
hf download hf://bhatia1289/bert-qa-squad/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/bhatia1289/bert-qa-squad/resolve/main/training_args.bin
5.3 kB
- Xet hash:
- 98a8ce3c4758fadc1fb5e47d959eb52d563d6ee5ad9a234ddf590b9ce90bcd9b
- Size of remote file:
- 5.3 kB
- SHA256:
- b8f5dee688909bef8e86b0bc68b0ea339dfa3fbce6a6d1e7187827c66f9eeed3
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.