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