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