Model reference · open weights
nougat 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, base-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-base" 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) | 349M |
| Variants | 1 |
| Runs with | transformers |
| Released | 2023-09-21 |
| Popularity | 88k downloads / month |
| Likes | 189 |
| Licence | Commercial licence needed |
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-base | 349M | BF16 | ~0.8 GB | ✓ | Weights ↗ |
Using it via the API
Once AxForge deploys nougat for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (nougat 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","messages":[{"role":"user","content":"Hello"}]}'
Licence
The weights are open but cc-by-nc-4.0 needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗