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 from transformers import pipeline pipe = pipeline("question-answering", model="rubentito/bigbird-base-itc-mpdocvqa")# 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
Download tokenizer_config.json from rubentito/bigbird-base-itc-mpdocvqa: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/rubentito/bigbird-base-itc-mpdocvqa/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://rubentito/bigbird-base-itc-mpdocvqa/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/rubentito/bigbird-base-itc-mpdocvqa/resolve/main/tokenizer_config.json
1.29 kB
| {"bos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sep_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 4096, "special_tokens_map_file": "/home/rperez/.cache/huggingface/transformers/e1ae56febb08d6573cc0652dca4183840ad6d69a89acbf59731052ef1acfb11b.75b358ecb30fa6b001d9d87bfde336c02d9123e7a8f5b90cc890d0f6efc3d4a3", "name_or_path": "google/bigbird-base-trivia-itc", "sp_model_kwargs": {}, "tokenizer_class": "BigBirdTokenizer"} |