Update README.md
Browse files
README.md
CHANGED
|
@@ -1,21 +1,23 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
|
|
|
|
|
|
| 3 |
license: mit
|
| 4 |
pipeline_tag: document-question-answering
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
- pdf
|
| 9 |
widget:
|
| 10 |
-
- text:
|
| 11 |
-
src:
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# LayoutLM for Visual Question Answering
|
| 17 |
-
|
| 18 |
-
This is a fine-tuned version of the multi-modal [LayoutLM](https://aka.ms/layoutlm) model for the task of question answering on documents. It has been fine-tuned using both the [SQuAD2.0](https://huggingface.co/datasets/squad_v2) and [DocVQA](https://www.docvqa.org/) datasets.
|
| 19 |
|
| 20 |
## Getting started with the model
|
| 21 |
|
|
@@ -53,7 +55,3 @@ nlp(
|
|
| 53 |
```bash
|
| 54 |
pip install git+https://github.com/huggingface/transformers.git@2ef774211733f0acf8d3415f9284c49ef219e991
|
| 55 |
```
|
| 56 |
-
|
| 57 |
-
## About us
|
| 58 |
-
|
| 59 |
-
This model was created by the team at [Impira](https://www.impira.com/).
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- pt
|
| 4 |
+
- en
|
| 5 |
license: mit
|
| 6 |
pipeline_tag: document-question-answering
|
| 7 |
tags:
|
| 8 |
+
- document-question-answering
|
| 9 |
+
- pdf
|
|
|
|
| 10 |
widget:
|
| 11 |
+
- text: Qual é o número da fatura?
|
| 12 |
+
src: >-
|
| 13 |
+
https://huggingface.co/spaces/impira/docquery/resolve/2359223c1837a7587402bda0f2643382a6eefeab/invoice.png
|
| 14 |
+
- text: Qual é o valor da compra?
|
| 15 |
+
src: >-
|
| 16 |
+
https://huggingface.co/spaces/impira/docquery/resolve/2359223c1837a7587402bda0f2643382a6eefeab/contract.jpeg
|
| 17 |
+
metrics:
|
| 18 |
+
- accuracy
|
| 19 |
---
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Getting started with the model
|
| 23 |
|
|
|
|
| 55 |
```bash
|
| 56 |
pip install git+https://github.com/huggingface/transformers.git@2ef774211733f0acf8d3415f9284c49ef219e991
|
| 57 |
```
|
|
|
|
|
|
|
|
|
|
|
|