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