Image-Text-to-Text
Transformers
ONNX
Safetensors
English
idefics3
conversational

Run this model with HF Jobs

Run HuggingFaceTB/SmolVLM-Instruct on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/HuggingFaceTB/SmolVLM-Instruct. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/HuggingFaceTB/SmolVLM-Instruct on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/HuggingFaceTB/SmolVLM-Instruct. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

How to do batch inference using this SmolVLM-Instruct ?

#19
by dutta18 - opened

I have a VQA dataset. I wanted to do batch inference to see the performance of this model.

How do I organize the chat template ?

Is it something like below?

messages = [
{
"role": "user",
"content": [
{"type": "image"},
{"type": "text", "text": "what is the color of the sky"}
]
},

{
"role": "user",
"content": [
{"type": "image"},
{"type": "text", "text": "what is the color of the grass"}
]
},
]

same question

same questino

•
This comment has been hidden

Sign up or log in to comment