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