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