ONNX Model Zoo

onnx-community/nougat-small-ONNX

By onnx-community · ↓ 16 · ♥ 0 · Updated 2025-10-28

What's in this repo

This page lists the files in onnx-community/nougat-small-ONNX, including decoder_model.onnx, decoder_model_bnb4.onnx, decoder_model_fp16.onnx and more.

  • 16 ONNX models (.onnx files)
  • 25 files, including 16 .onnx, 7 .json, 1 .md
  • Last updated 2025-10-28

ONNX files

File Size Download
onnx/decoder_model.onnx — Download
onnx/decoder_model_bnb4.onnx — Download
onnx/decoder_model_fp16.onnx — Download
onnx/decoder_model_int8.onnx — Download
onnx/decoder_model_q4.onnx — Download
onnx/decoder_model_q4f16.onnx — Download
onnx/decoder_model_quantized.onnx — Download
onnx/decoder_model_uint8.onnx — Download
onnx/encoder_model.onnx — Download
onnx/encoder_model_bnb4.onnx — Download

Showing 10 of 16 .onnx files — see the full file list on the right.

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

nougat-small (ONNX)

This is an ONNX version of facebook/nougat-small. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js

See the pipeline documentation for image-to-text: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.ImageToTextPipeline


Nougat model, small-sized version

Nougat model trained on PDF-to-markdown. It was introduced in the paper Nougat: Neural Optical Understanding for Academic Documents by Blecher et al. and first released in this repository.

Disclaimer: The team releasing Nougat did not write a model card for this model so this model card has been written by the Hugging Face team.

Note: this model corresponds to the "0.1.0-small" version of the original repository.

Model description

Nougat is a Donut model trained to transcribe scientific PDFs into an easy-to-use markdown format. The model consists of a Swin Transformer as vision encoder, and an mBART model as text decoder.

The model is trained to autoregressively predict the markdown given only the pixels of the PDF image as input.

drawing

Nougat high-level overview. Taken from the original paper.

Intended uses & limitations

You can use the raw model for transcribing a PDF into Markdown. See the model hub to look for other fine-tuned versions that may interest you.

How to use

We refer to the docs.

BibTeX entry and citation info

@misc{blecher2023nougat,
      title={Nougat: Neural Optical Understanding for Academic Documents}, 
      author={Lukas Blecher and Guillem Cucurull and Thomas Scialom and Robert Stojnic},
      year={2023},
      eprint={2308.13418},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Model info

image-to-text transformers.js
transformers.js onnx vision-encoder-decoder image-text-to-text vision nougat image-to-text arxiv:2308.13418 base_model:facebook/nougat-small base_model:quantized:facebook/nougat-small license:cc-by-4.0 region:us
↓ 16 ♥ 0

Created: 2025-10-28

Updated: 2025-10-28

View on Hugging Face

Files (25)

.gitattributes
README.md
config.json
generation_config.json
onnx/decoder_model.onnx ONNX
onnx/decoder_model_bnb4.onnx ONNX
onnx/decoder_model_fp16.onnx ONNX
onnx/decoder_model_int8.onnx ONNX
onnx/decoder_model_q4.onnx ONNX
onnx/decoder_model_q4f16.onnx ONNX
onnx/decoder_model_quantized.onnx ONNX
onnx/decoder_model_uint8.onnx ONNX
onnx/encoder_model.onnx ONNX
onnx/encoder_model_bnb4.onnx ONNX
onnx/encoder_model_fp16.onnx ONNX
onnx/encoder_model_int8.onnx ONNX
onnx/encoder_model_q4.onnx ONNX
onnx/encoder_model_q4f16.onnx ONNX
onnx/encoder_model_quantized.onnx ONNX
onnx/encoder_model_uint8.onnx ONNX
preprocessor_config.json
quantize_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json

Related models