Image-to-Text
Transformers
PyTorch
Safetensors
vision-encoder-decoder
image-text-to-text
vision
nougat
Run this model with HF Jobs
Run facebook/nougat-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/facebook/nougat-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/facebook/nougat-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use facebook/nougat-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/nougat-base 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-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("facebook/nougat-base") model = AutoModelForMultimodalLM.from_pretrained("facebook/nougat-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from facebook/nougat-base: direct link, hf CLI and curl.
- Browser
- Download file 1.4 GB
-
https://huggingface.co/facebook/nougat-base/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://facebook/nougat-base/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/facebook/nougat-base/resolve/main/pytorch_model.bin
1.4 GB
- Xet hash:
- f45a2eb9dc5ccb9801b2ee0ebc97e77118e2e49d7b659b7b585f57ecad2b9120
- Size of remote file:
- 1.4 GB
- SHA256:
- 1d869e03add64b8f6a803fc7873e5c9048aa263a9b899fe834203e4352ddd440
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.