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