Question Answering
Transformers
PyTorch
English
big_bird
DocVQA
Document Question Answering
Document Visual Question Answering
Instructions to use rubentito/bigbird-base-itc-mpdocvqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rubentito/bigbird-base-itc-mpdocvqa with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="rubentito/bigbird-base-itc-mpdocvqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("rubentito/bigbird-base-itc-mpdocvqa") model = AutoModelForQuestionAnswering.from_pretrained("rubentito/bigbird-base-itc-mpdocvqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
| 1 |
---
|
| 2 |
license: gpl
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: gpl
|
| 3 |
+
tags:
|
| 4 |
+
- Document Question Answering
|
| 5 |
+
datasets:
|
| 6 |
+
- MP-DocVQA
|
| 7 |
language:
|
| 8 |
- en
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# BigBird-ITC-BASE fine-tuned on MP-DocVQA
|
| 12 |
+
|
| 13 |
+
This is BigBird-base trained on TriviaQA from [Google hub](https://huggingface.co/google/bigbird-base-trivia-itc) and fine-tuned on Multipage DocVQA (MP-DocVQA) dataset.
|
| 14 |
+
* Due to Huggingface implementation, the global tokens are defined according to the Internal Transformer Construction (ITC) strategy.
|
| 15 |
+
|
| 16 |
+
- Results on the MP-DocVQA dataset are reported in table 2.
|
| 17 |
+
- Training hyperparameters can be found in Table 8 of Appendix D
|