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