Instructions to use HuggingFaceTB/SmolVLM-Instruct-DPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HuggingFaceTB/SmolVLM-Instruct-DPO with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolVLM-Instruct") model = PeftModel.from_pretrained(base_model, "HuggingFaceTB/SmolVLM-Instruct-DPO") - Notebooks
- Google Colab
- Kaggle
| { | |
| "<end_of_utterance>": 49154, | |
| "<fake_token_around_image>": 49152, | |
| "<image>": 49153 | |
| } | |