Model reference · open weights
nougat-small is an open-weight language model from facebook, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
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. alt="drawing" width="600"/ 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
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | |
|---|---|
| Type | Language models |
| Parameters (lead) | 247M |
| Variants | 1 |
| Runs with | transformers |
| Released | 2023-09-21 |
| Popularity | 25k downloads / month |
| Likes | 30 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| nougat-small | 247M | BF16 | ~0.6 GB | ✓ | Weights ↗ |
Using it via the API
Once AxForge deploys nougat-small for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (nougat-small below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"nougat-small","messages":[{"role":"user","content":"Hello"}]}'
Licence
Open weights under cc-by-4.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗