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
Ctrl+K