Image-Text-to-Text
Transformers
Safetensors
Indonesian
English
qwen3_5
joko
lora-merged
conversational
Instructions to use Mesosfer/Joko-edited with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mesosfer/Joko-edited with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Mesosfer/Joko-edited") 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("Mesosfer/Joko-edited") model = AutoModelForMultimodalLM.from_pretrained("Mesosfer/Joko-edited", 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 Mesosfer/Joko-edited with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Mesosfer/Joko-edited" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Mesosfer/Joko-edited", "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/Mesosfer/Joko-edited
- SGLang
How to use Mesosfer/Joko-edited 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 "Mesosfer/Joko-edited" \ --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": "Mesosfer/Joko-edited", "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 "Mesosfer/Joko-edited" \ --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": "Mesosfer/Joko-edited", "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 Mesosfer/Joko-edited with Docker Model Runner:
docker model run hf.co/Mesosfer/Joko-edited
Download export_metadata.json from Mesosfer/Joko-edited: direct link, hf CLI and curl.
- Browser
- Download file 3.25 kB
-
https://huggingface.co/Mesosfer/Joko-edited/resolve/main/export_metadata.json
- Command line
-
hf download hf://Mesosfer/Joko-edited/export_metadata.json
-
curl -L -o export_metadata.json https://huggingface.co/Mesosfer/Joko-edited/resolve/main/export_metadata.json
3.25 kB
| { | |
| "base_model": "Qwen/Qwen3.5-2B", | |
| "base_revision": "15852e8c16360a2fea060d615a32b45270f8a8fc", | |
| "checkpoint_step": 6540, | |
| "completed_epochs": 2, | |
| "training_attention_backend": "flash_attention_2", | |
| "generation_stop_tokens": [ | |
| 248044, | |
| 248046 | |
| ], | |
| "dtype": "bfloat16", | |
| "versions": { | |
| "torch": "2.14.0+rocm10.1.0", | |
| "transformers": "5.20.2", | |
| "peft": "0.21.2", | |
| "safetensors": "0.8.0", | |
| "tokenizers": "0.23.3", | |
| "Pillow": "13.0.0" | |
| }, | |
| "sources": [ | |
| { | |
| "alias": "ultradata", | |
| "id": "openbmb/UltraData-SFT-Agent-2609", | |
| "revision": "f684cc1a9f3e19f6f4929102cd9b06cc0b895b8a", | |
| "include": [ | |
| "data/General_Agent/*.jsonl", | |
| "data/Tool_Use/*.jsonl", | |
| "data/Code_Agent/*.jsonl" | |
| ], | |
| "purpose": "daily tasks, tools and short coding tasks", | |
| "license_metadata": "apache-2.0; retain upstream terms" | |
| }, | |
| { | |
| "alias": "ukisai", | |
| "id": "ukisai/Qwen3.8-27B-multi-turn-agent-sft", | |
| "revision": "fdcb98488ccc07e5da66d9627d75b7d5d13d80cc", | |
| "include": [ | |
| "qwen38-agent-sft-combined-100pct.parquet" | |
| ], | |
| "purpose": "terminal and coding; filter by length and test execution before quality claims", | |
| "license_metadata": "apache-2.0" | |
| }, | |
| { | |
| "alias": "gui360", | |
| "id": "vyokky/GUI-360", | |
| "revision": "1c46362efaae836c601004e77b98a1aba89a530f", | |
| "include": [ | |
| "processed_data/action_prediction_train_resize/training_data.json" | |
| ], | |
| "purpose": "Office Windows; reward=1; training partition only", | |
| "images": "matching screenshots must be extracted separately; preserve images/<task>/<step> paths", | |
| "coordinate_contract": "source original pixel coordinates; no automatic normalization", | |
| "license_metadata": "mit" | |
| }, | |
| { | |
| "alias": "aguvis-grounding", | |
| "image_fraction": 0.3, | |
| "sample_seed": 42, | |
| "id": "xlangai/aguvis-stage1", | |
| "revision": "5d11f8f53388e60d033d1582ad4a93dfd17e3a4b", | |
| "include": [ | |
| "seeclick.json", | |
| "guienv.json" | |
| ], | |
| "purpose": "independent grounding pairs on a shared screenshot", | |
| "images": "matching extracted screenshot roots required", | |
| "coordinate_contract": "source fractions in [0, 1]; output is not executable native pixel PyAutoGUI", | |
| "license_metadata": "apache-2.0; check source components" | |
| }, | |
| { | |
| "alias": "aguvis-agent", | |
| "image_fraction": 0.3, | |
| "sample_seed": 42, | |
| "id": "xlangai/aguvis-stage2", | |
| "revision": "bd6f1ed43498beb8e5474adcb2592c7d521d692e", | |
| "include": [ | |
| "mind2web-l1.json", | |
| "miniwob-l1.json", | |
| "guiact-web-multi-l1.json" | |
| ], | |
| "purpose": "next GUI action with task/history; use level 1 rather than long reasoning labels", | |
| "images": "matching extracted screenshot roots required", | |
| "coordinate_contract": "source fractions in [0, 1]; source-specific browser actions retained", | |
| "license_metadata": "apache-2.0; decontaminate evaluation tasks" | |
| } | |
| ], | |
| "train_examples": 52316, | |
| "heldout_examples": 2589, | |
| "monitor_eval_examples": 128, | |
| "verification": "safe_merge, finite serialized tensors, shard index, processor/tokenizer reload; generation not tested" | |
| } |