Image-Text-to-Text
Transformers
Safetensors
dots3_note
text-generation
dots3
dots3-note
audio
multimodal
long-context
agentic
conversational
Eval Results
Instructions to use dots-studio/dots3-note-prev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dots-studio/dots3-note-prev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="dots-studio/dots3-note-prev") 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)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("dots-studio/dots3-note-prev", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dots-studio/dots3-note-prev with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dots-studio/dots3-note-prev" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dots-studio/dots3-note-prev", "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/dots-studio/dots3-note-prev
- SGLang
How to use dots-studio/dots3-note-prev 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 "dots-studio/dots3-note-prev" \ --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": "dots-studio/dots3-note-prev", "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 "dots-studio/dots3-note-prev" \ --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": "dots-studio/dots3-note-prev", "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 dots-studio/dots3-note-prev with Docker Model Runner:
docker model run hf.co/dots-studio/dots3-note-prev
File size: 2,795 Bytes
09293f6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | {
"<|alttext|>": 151711,
"<|assistant|>": 151667,
"<|audio_comp_end|>": 151719,
"<|audio_comp_pad|>": 151720,
"<|audio_comp_start|>": 151718,
"<|audio_gen_end|>": 151716,
"<|audio_gen_pad|>": 151717,
"<|audio_gen_start|>": 151715,
"<|box_end|>": 151670,
"<|box_start|>": 151669,
"<|discarddensecaption|>": 151712,
"<|endofalttext|>": 151713,
"<|endofassistant|>": 151668,
"<|endofexecution|>": 151655,
"<|endofimg|>": 151662,
"<|endofobservation|>": 151653,
"<|endofpdfmeta|>": 151710,
"<|endofresponse|>": 151649,
"<|endofslice|>": 151678,
"<|endofsystemprompt|>": 151664,
"<|endofsystem|>": 151651,
"<|endoftext|>": 151643,
"<|endofurl|>": 151708,
"<|endofuserprompt|>": 151647,
"<|endofuser|>": 151666,
"<|execution|>": 151654,
"<|im_end>": 151659,
"<|im_end|>": 151645,
"<|im_start|>": 151644,
"<|imgpad|>": 151660,
"<|imgrowend|>": 151679,
"<|img|>": 151661,
"<|observation|>": 151652,
"<|pdfmeta|>": 151709,
"<|pictotext|>": 151676,
"<|pic|>": 151674,
"<|polygon_end|>": 151682,
"<|polygon_start|>": 151681,
"<|ref_end|>": 151672,
"<|ref_start|>": 151671,
"<|reject-unknown|>": 151656,
"<|response|>": 151648,
"<|sec-cot|>": 151657,
"<|sec-end-cot|>": 151658,
"<|slice|>": 151677,
"<|systemprompt|>": 151663,
"<|system|>": 151650,
"<|task:doc layout with format json|>": 151700,
"<|task:image captioning|>": 151701,
"<|task:image en-captioning|>": 151683,
"<|task:image en-concept|>": 151689,
"<|task:image en-dense-captioning|>": 151687,
"<|task:image grounding|>": 151691,
"<|task:image orientation|>": 151692,
"<|task:image zh-captioning|>": 151684,
"<|task:image zh-concept|>": 151690,
"<|task:image zh-dense-captioning|>": 151688,
"<|task:object detection|>": 151685,
"<|task:ocr of chart with format matplotlib|>": 151697,
"<|task:ocr of chart with format mermaid|>": 151698,
"<|task:ocr of molecule with format molgrapher|>": 151695,
"<|task:ocr of staff with format ekern|>": 151696,
"<|task:ocr with format html|>": 151705,
"<|task:ocr with format image captioning|>": 151703,
"<|task:ocr with format json|>": 151694,
"<|task:ocr with format latex|>": 151693,
"<|task:ocr with nodes,lines and circle|>": 151704,
"<|task:ocr-detection and recognition|>": 151699,
"<|task:ocr|>": 151686,
"<|task:table captioning|>": 151702,
"<|task:video captioning|>": 151706,
"<|text|>": 151675,
"<|to_think|>": 151714,
"<|url|>": 151707,
"<|userprompt|>": 151646,
"<|user|>": 151665,
"<|video_pad|>": 151680,
"[SEP]": 151673,
"<think>": 151721,
"</think>": 151722,
"<no_think>": 151723,
"<dots_function_call>": 151724,
"</dots_function_call>": 151725,
"<dots_function_response>": 151726,
"</dots_function_response>": 151727
} |