Instructions to use paultltc/colmodernvbert_hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ColPali
How to use paultltc/colmodernvbert_hf 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 chat_template.jinja from paultltc/colmodernvbert_hf: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/paultltc/colmodernvbert_hf/resolve/main/chat_template.jinja
- Command line
-
hf download hf://paultltc/colmodernvbert_hf/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/paultltc/colmodernvbert_hf/resolve/main/chat_template.jinja
408 Bytes
| <|begin_of_text|>{% for message in messages %}{{message['role'] | capitalize}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance> | |
| {% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %} |