Image-Text-to-Text
Transformers
Safetensors
qwen3_5
commato
frm-labs
qwen3.5
abliterated
lora
conversational
Run this model with HF Jobs
Run FRM-Labs/Commato 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/FRM-Labs/Commato. 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/FRM-Labs/Commato 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/FRM-Labs/Commato. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/FRM-Labs/Commato. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use FRM-Labs/Commato with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FRM-Labs/Commato with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="FRM-Labs/Commato") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FRM-Labs/Commato") model = AutoModelForMultimodalLM.from_pretrained("FRM-Labs/Commato", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FRM-Labs/Commato with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FRM-Labs/Commato" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FRM-Labs/Commato", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/FRM-Labs/Commato
- SGLang
How to use FRM-Labs/Commato with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "FRM-Labs/Commato" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FRM-Labs/Commato", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "FRM-Labs/Commato" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FRM-Labs/Commato", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use FRM-Labs/Commato with Docker Model Runner:
docker model run hf.co/FRM-Labs/Commato
Download NOTICE from FRM-Labs/Commato: direct link, hf CLI and curl.
- Browser
- Download file 1.88 kB
-
https://huggingface.co/FRM-Labs/Commato/resolve/main/NOTICE
- Command line
-
hf download hf://FRM-Labs/Commato/NOTICE
-
curl -L -o NOTICE https://huggingface.co/FRM-Labs/Commato/resolve/main/NOTICE
1.88 kB
| Commato 2B | |
| Copyright 2026 FRM Labs | |
| This distribution is a modified version of Qwen3.5-2B. It is not the original | |
| Qwen release and is not endorsed by Alibaba Cloud. | |
| -------------------------------------------------------------------------- | |
| Upstream work | |
| -------------------------------------------------------------------------- | |
| Qwen3.5-2B | |
| Copyright 2024-2026 Alibaba Cloud, Inc. | |
| Licensed under the Apache License, Version 2.0. | |
| https://huggingface.co/Qwen/Qwen3.5-2B | |
| -------------------------------------------------------------------------- | |
| Modifications by FRM Labs | |
| -------------------------------------------------------------------------- | |
| 1. Directional ablation ("abliteration") of the refusal direction in the base | |
| model: the direction was extracted at text layer 10 of 24 from | |
| harmful-vs-harmless prompt pairs and projected out of the output projections | |
| (o_proj, down_proj) of every text layer. | |
| 2. The ablation tool omitted the base model's 14 mtp.* (multi-token-prediction) | |
| tensors. They are not used for generation. | |
| 3. Supervised fine-tuning with LoRA adapters (rank 16, alpha 32, dropout 0.05, | |
| seven projection modules) on a synthetic identity dataset, 3 epochs, English. | |
| 4. LoRA adapters merged into the ablated weights and saved as bf16 safetensors. | |
| 5. Converted to F16 GGUF (commato-2b-f16.gguf) with llama.cpp. | |
| These modified weights are distributed under the Apache License, Version 2.0. | |
| A copy of that licence is provided in the LICENSE file. | |
| -------------------------------------------------------------------------- | |
| Trademarks | |
| -------------------------------------------------------------------------- | |
| "Qwen" and "Qwen3.5" are trademarks of Alibaba Cloud. "Commato" and "FRM Labs" | |
| are used by the publisher of this model. No trademark rights are granted by | |
| this notice beyond reasonable and customary use in describing the origin of | |
| the work. | |