Instructions to use NeoCodes-dev/smol-course-SmolVLM2-2.2B-Instruct-trl-sft-ChartQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeoCodes-dev/smol-course-SmolVLM2-2.2B-Instruct-trl-sft-ChartQA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NeoCodes-dev/smol-course-SmolVLM2-2.2B-Instruct-trl-sft-ChartQA", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| <|im_start|>{% 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 %} |