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
File size: 68 Bytes
7c1915a | 1 2 3 4 5 | {
"image_seq_len": 81,
"processor_class": "Idefics3Processor"
}
|