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