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