Update README.md
Browse files
README.md
CHANGED
@@ -44,6 +44,17 @@ end_idx = torch.argmax(outputs.end_logits, axis=1)
|
|
44 |
answers = self.processor.tokenizer.decode(input_tokens[start_idx: end_idx+1]).strip()
|
45 |
```
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
## Model results
|
48 |
|
49 |
Extended experimentation can be found in Table 2 of [Hierarchical multimodal transformers for Multi-Page DocVQA](https://arxiv.org/pdf/2212.05935.pdf).
|
|
|
44 |
answers = self.processor.tokenizer.decode(input_tokens[start_idx: end_idx+1]).strip()
|
45 |
```
|
46 |
|
47 |
+
## Metrics
|
48 |
+
**Average Normalized Levenshtein Similarity (ANLS)**
|
49 |
+
|
50 |
+
The standard metric for text-based VQA tasks (ST-VQA and DocVQA). It evaluates the method's reasoning capabilities while smoothly penalizes OCR recognition errors.
|
51 |
+
Check [Scene Text Visual Question Answering](https://arxiv.org/abs/1905.13648) for detailed information.
|
52 |
+
|
53 |
+
**Answer Page Prediction Accuracy (APPA)**
|
54 |
+
|
55 |
+
In the MP-DocVQA task, the models can provide the index of the page where the information required to answer the question is located. For this subtask accuracy is used to evaluate the predictions: i.e. if the predicted page is correct or not.
|
56 |
+
Check [Hierarchical multimodal transformers for Multi-Page DocVQA](https://arxiv.org/abs/2212.05935) for detailed information.
|
57 |
+
|
58 |
## Model results
|
59 |
|
60 |
Extended experimentation can be found in Table 2 of [Hierarchical multimodal transformers for Multi-Page DocVQA](https://arxiv.org/pdf/2212.05935.pdf).
|