Image-to-Text
Transformers
PyTorch
Safetensors
vision-encoder-decoder
image-text-to-text
vision
nougat
Instructions to use facebook/nougat-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/nougat-small 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="facebook/nougat-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("facebook/nougat-small") model = AutoModelForMultimodalLM.from_pretrained("facebook/nougat-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from facebook/nougat-small: direct link, hf CLI and curl.
- Browser
- Download file 990 MB
-
https://huggingface.co/facebook/nougat-small/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://facebook/nougat-small/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/facebook/nougat-small/resolve/main/pytorch_model.bin
990 MB
- Xet hash:
- e3de06d27a307c28dec8f2a7a9ff25ec5fb7670cd2b1f6c75dddbaac15495957
- Size of remote file:
- 990 MB
- SHA256:
- 5e9e8ec3b189a102efdebbbf09017d19ff9724d54bca3a83c92b38491ea27cb1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.