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