Instructions to use cotysong113/bert-finetuned-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cotysong113/bert-finetuned-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="cotysong113/bert-finetuned-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("cotysong113/bert-finetuned-squad") model = AutoModelForQuestionAnswering.from_pretrained("cotysong113/bert-finetuned-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from cotysong113/bert-finetuned-squad: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/cotysong113/bert-finetuned-squad/resolve/main/training_args.bin
- Command line
-
hf download hf://cotysong113/bert-finetuned-squad/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/cotysong113/bert-finetuned-squad/resolve/main/training_args.bin
5.3 kB
- Size of remote file:
- 5.3 kB
- SHA256:
- 45f66bc3d49496243f7f873505c467e252833ee39135cd064ce38e30fc90a2ec
路
Git Large File Storage (LFS) replaces large files with text pointers inside Git, while storing the file contents on a remote server. More info.