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 README.md from Mesosfer/Joko-edited: direct link, hf CLI and curl.
- Browser
- Download file 4.74 kB
-
https://huggingface.co/Mesosfer/Joko-edited/resolve/main/README.md
- Command line
-
hf download hf://Mesosfer/Joko-edited/README.md
-
curl -L -o README.md https://huggingface.co/Mesosfer/Joko-edited/resolve/main/README.md
4.74 kB
| base_model: Qwen/Qwen3.5-2B | |
| library_name: transformers | |
| pipeline_tag: image-text-to-text | |
| tags: | |
| - joko | |
| - lora-merged | |
| language: | |
| - id | |
| - en | |
| # Joko edited - experimental thinking-loop correction | |
| This checkpoint was edited from Mesosfer/Joko, subfolder "joko 2b/epoch 2", | |
| revision 8f5cbe883d79075cbbea16c9fb668579e9e923c1. It contains full BF16 weights. | |
| A single tied embedding/output row for token </think> (248069) was edited using | |
| a recorded looping prefix and two forward passes, without gradients or training. | |
| The local edit changed 2000 BF16 entries. See weight_edit.json for the calibration | |
| margins and source revision. The tied row affects both reading and generating this token. | |
| In user-run testing, the identity prompt used for calibration finished in 15 tokens | |
| instead of reaching 2048 tokens. All 10 basic thinking responses reached EOS. | |
| This is a calibration-set result, not a held-out benchmark. The screenshot copy-icon | |
| task still looped to 512 tokens. Generalization and side effects require further testing. | |
| No improvement in intrinsic mathematics, coding, or visual grounding is established. | |
| The inference interface defaults to non-thinking. | |
| Runtime files include tokenizer, chat template, processor config, generation config, | |
| shard index, three weight shards, and the edit report. The original export metadata | |
| below describes the pre-edit SFT export. Its validation claims are historical. | |
| The edited checkpoint has been checked for row-local changes and source shard integrity. | |
| The upstream base model and dataset licenses and attribution requirements still apply. | |
| ## Original SFT model card | |
| # Joko — epoch 2 | |
| Joko is a bilingual Indonesian/English assistant fine-tuned for everyday tasks, tools, simple coding and screenshot-based computer use. This repository contains full BF16 merged weights, tokenizer, chat template and multimodal processor assets. | |
| Base: [Qwen/Qwen3.5-2B](https://huggingface.co/Qwen/Qwen3.5-2B) at revision `15852e8c16360a2fea060d615a32b45270f8a8fc`. Epoch-two adapter checkpoint: step 6540, epoch 2, cursor 0. LoRA rank 16, alpha 32; two passes over 52,316 training records. Base provenance and upstream licensing remain applicable. | |
| Training data includes 240 custom bilingual identity examples, 22,282 UltraData records, 5,876 UkisAI records, 8,585 GUI-360 records, 9,598 AGUVIS agent records and 5,735 AGUVIS grounding records. This is the validated available subset, not the complete upstream collections. Nemotron was not included in this run. | |
| - [openbmb/UltraData-SFT-Agent-2609](https://huggingface.co/datasets/openbmb/UltraData-SFT-Agent-2609) at `f684cc1a9f3e19f6f4929102cd9b06cc0b895b8a`: apache-2.0; retain upstream terms | |
| - [ukisai/Qwen3.8-27B-multi-turn-agent-sft](https://huggingface.co/datasets/ukisai/Qwen3.8-27B-multi-turn-agent-sft) at `fdcb98488ccc07e5da66d9627d75b7d5d13d80cc`: apache-2.0 | |
| - [vyokky/GUI-360](https://huggingface.co/datasets/vyokky/GUI-360) at `1c46362efaae836c601004e77b98a1aba89a530f`: mit | |
| - [xlangai/aguvis-stage1](https://huggingface.co/datasets/xlangai/aguvis-stage1) at `5d11f8f53388e60d033d1582ad4a93dfd17e3a4b`: apache-2.0; check source components | |
| - [xlangai/aguvis-stage2](https://huggingface.co/datasets/xlangai/aguvis-stage2) at `bd6f1ed43498beb8e5474adcb2592c7d521d692e`: apache-2.0; decontaminate evaluation tasks | |
| Respect all upstream dataset and component terms, including attribution requirements. GUI coordinates and action formats remain source-dependent and require handling by the consuming application. | |
| ## Loading requirements | |
| Use a Transformers runtime supporting `Qwen3_5ForConditionalGeneration` and `AutoProcessor`. Export environment: {"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"}. PEFT is not required to apply an adapter because the weights are already merged. Optimized training kernels are not bundled; compatible hardware/runtime kernels may be needed for efficient execution. Use the supplied processor and chat template for image/text inputs. | |
| ## Evaluation limitations | |
| Training monitoring uses 128 fixed held-out examples from a 2,589-record evaluation split. Latest evaluation before the epoch boundary: step 6540, loss 0.42336021796042195. This is not a coding or GUI benchmark. No generated-response quality or end-to-end computer-use evaluation was performed for this export. Model actions require validation by the consuming application. | |
| Export checks: safe LoRA merge, finite serialized weights, shard-index consistency, and local tokenizer/processor reload. Training optimizer state, data, credentials and application scripts are excluded. | |