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