Instructions to use gagan3012/ViTGPT2_vizwiz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gagan3012/ViTGPT2_vizwiz with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" 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("image-to-text", model="gagan3012/ViTGPT2_vizwiz")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("gagan3012/ViTGPT2_vizwiz") model = AutoModelForMultimodalLM.from_pretrained("gagan3012/ViTGPT2_vizwiz", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from gagan3012/ViTGPT2_vizwiz: direct link, hf CLI and curl.
- Browser
- Download file 3.18 kB
-
https://huggingface.co/gagan3012/ViTGPT2_vizwiz/resolve/main/training_args.bin
- Command line
-
hf download hf://gagan3012/ViTGPT2_vizwiz/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/gagan3012/ViTGPT2_vizwiz/resolve/main/training_args.bin
3.18 kB
- Xet hash:
- 9f31350c84e9cad5d003a76616ef9b67ad153064d9cb7001d2bec76340d28851
- Size of remote file:
- 3.18 kB
- SHA256:
- 1e8ac49654314f95823553a83cd33655bde650f60b2a712e39529c349c04273f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.