nielsr HF staff commited on
Commit
9b6b447
1 Parent(s): 414f455

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -7,12 +7,15 @@ tags:
7
  # Donut (base-sized model, pre-trained only)
8
 
9
  Donut model pre-trained-only. It was introduced in the paper [OCR-free Document Understanding Transformer](https://arxiv.org/abs/2111.15664) by Geewok et al. and first released in [this repository](https://github.com/clovaai/donut).
 
10
  Disclaimer: The team releasing Donut did not write a model card for this model so this model card has been written by the Hugging Face team.
11
 
12
  ## Model description
13
 
14
  Donut consists of a vision encoder (Swin Transformer) and a text decoder (BART). Given an image, the encoder first encodes the image into a tensor of embeddings (of shape batch_size, seq_len, hidden_size), after which the decoder autoregressively generates text, conditioned on the encoding of the encoder.
15
 
 
 
16
  ## Intended uses & limitations
17
 
18
  You can use the raw model for image classification. See the [model hub](https://huggingface.co/models?search=google/vit) to look for
 
7
  # Donut (base-sized model, pre-trained only)
8
 
9
  Donut model pre-trained-only. It was introduced in the paper [OCR-free Document Understanding Transformer](https://arxiv.org/abs/2111.15664) by Geewok et al. and first released in [this repository](https://github.com/clovaai/donut).
10
+
11
  Disclaimer: The team releasing Donut did not write a model card for this model so this model card has been written by the Hugging Face team.
12
 
13
  ## Model description
14
 
15
  Donut consists of a vision encoder (Swin Transformer) and a text decoder (BART). Given an image, the encoder first encodes the image into a tensor of embeddings (of shape batch_size, seq_len, hidden_size), after which the decoder autoregressively generates text, conditioned on the encoding of the encoder.
16
 
17
+ ![model image](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/model_doc/donut_architecture.jpg)
18
+
19
  ## Intended uses & limitations
20
 
21
  You can use the raw model for image classification. See the [model hub](https://huggingface.co/models?search=google/vit) to look for