Visual Document Retrieval
Transformers
Safetensors
ColPali
English
ultravbert
fill-mask
ultrabert
vision-language
multimodal
document-retrieval
vidore
custom_code
Instructions to use hf-internal-testing/testing-dummy-UltraVBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/testing-dummy-UltraVBERT with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMaskedLM processor = AutoProcessor.from_pretrained("hf-internal-testing/testing-dummy-UltraVBERT", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/testing-dummy-UltraVBERT", trust_remote_code=True, device_map="auto") - ColPali
How to use hf-internal-testing/testing-dummy-UltraVBERT with ColPali:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hf-internal-testing/testing-dummy-UltraVBERT: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/hf-internal-testing/testing-dummy-UltraVBERT/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://hf-internal-testing/testing-dummy-UltraVBERT/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hf-internal-testing/testing-dummy-UltraVBERT/resolve/main/tokenizer_config.json
592 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<fake_token_around_image>", | |
| "<image>", | |
| "<end_of_utterance>" | |
| ], | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "<|mask|>", | |
| "model_max_length": 32768, | |
| "pad_token": "<|endoftext|>", | |
| "processor_class": "Idefics3Processor", | |
| "sep_token": "<|sep|>", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>", | |
| "vocab_size": 49152 | |
| } | |