Update README.md
Browse files
README.md
CHANGED
|
@@ -19,6 +19,7 @@ This model was used as a baseline in [Hierarchical multimodal transformers for M
|
|
| 19 |
- Results on the MP-DocVQA dataset are reported in Table 2.
|
| 20 |
- Training hyperparameters can be found in Table 8 of Appendix D.
|
| 21 |
|
|
|
|
| 22 |
## How to use
|
| 23 |
|
| 24 |
Here is how to use this model to get the features of a given text in PyTorch:
|
|
@@ -45,6 +46,19 @@ answer_tokens = all_tokens[torch.argmax(start_scores) :torch.argmax(end_scores)+
|
|
| 45 |
answer = tokenizer.decode(tokenizer.convert_tokens_to_ids(answer_tokens))
|
| 46 |
```
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
## BibTeX entry
|
| 49 |
|
| 50 |
```tex
|
|
|
|
| 19 |
- Results on the MP-DocVQA dataset are reported in Table 2.
|
| 20 |
- Training hyperparameters can be found in Table 8 of Appendix D.
|
| 21 |
|
| 22 |
+
|
| 23 |
## How to use
|
| 24 |
|
| 25 |
Here is how to use this model to get the features of a given text in PyTorch:
|
|
|
|
| 46 |
answer = tokenizer.decode(tokenizer.convert_tokens_to_ids(answer_tokens))
|
| 47 |
```
|
| 48 |
|
| 49 |
+
## Model results
|
| 50 |
+
|
| 51 |
+
Extended experimentation can be found in Table 2 of [Hierarchical multimodal transformers for Multi-Page DocVQA](https://arxiv.org/pdf/2212.05935.pdf).
|
| 52 |
+
You can also check the live leaderboard at the [RRC Portal](https://rrc.cvc.uab.es/?ch=17&com=evaluation&task=4).
|
| 53 |
+
| Model | HF name | ANLS | APPA |
|
| 54 |
+
|-----------------------------------------------------------------------------------|:--------------------------------------|:-------------:|:---------:|
|
| 55 |
+
| [Bert-large](https://huggingface.co/rubentito/bert-large-mpdocvqa) | rubentito/bert-large-mpdocvqa | 0.4183 | 51.6177 |
|
| 56 |
+
| [Longformer-base](https://huggingface.co/rubentito/longformer-base-mpdocvqa) | rubentito/longformer-base-mpdocvqa | 0.5287 | 71.1696 |
|
| 57 |
+
| [**BigBird ITC base**](https://huggingface.co/rubentito/bigbird-base-itc-mpdocvqa)| rubentito/bigbird-base-itc-mpdocvqa | 0.4929 | 67.5433 |
|
| 58 |
+
| [LayoutLMv3 base](https://huggingface.co/rubentito/layoutlmv3-base-mpdocvqa) | rubentito/layoutlmv3-base-mpdocvqa | 0.4538 | 51.9426 |
|
| 59 |
+
| [T5 base](https://huggingface.co/rubentito/t5-base-mpdocvqa) | rubentito/t5-base-mpdocvqa | 0.5050 | 0.0000 |
|
| 60 |
+
| Hi-VT5 | TBA | 0.6201 | 79.23 |
|
| 61 |
+
|
| 62 |
## BibTeX entry
|
| 63 |
|
| 64 |
```tex
|