Image-Text-to-Text
Transformers
Safetensors
GGUF
Indonesian
English
qwen3_5
joko
lora-merged
conversational
Instructions to use Mesosfer/Joko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mesosfer/Joko with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Mesosfer/Joko") 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") model = AutoModelForMultimodalLM.from_pretrained("Mesosfer/Joko", 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 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Mesosfer/Joko" # 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", "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
- SGLang
How to use Mesosfer/Joko 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" \ --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", "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" \ --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", "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 with Docker Model Runner:
docker model run hf.co/Mesosfer/Joko
File size: 3,251 Bytes
a8e4614 f926489 a8e4614 | 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 88 89 90 91 | {
"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"
} |