Kea 1.1
a precise fine-tune of a multimodal MoE model for working with structured data
2 min readupdated
The Kea 1.1 model by myjellylabs is built on Thinking Machines Lab's Inkling 2 Mini (a MoE (Mixture-of-Experts) architecture with three passes and 26.4B total parameters). The new version is fine-tuned using QLoRA (an efficient low-precision tuning method) and merged with base weights via WiSE-FT scaling. The model's standout feature is flawless JSON schema adherence, confident performance without "thinking" when reasoning_effort="none", and preserved agent tool use. It is well-suited for developers who need strict JSON output and reliable adherence to system prompts in applications.
Key features
- Strict JSON: Schema passing and enum parsing rates doubled (up to 80.0%) without extraneous text or code blocks.
- Thinking control: Achieved 100% compliance with the zero-think mode at zero reasoning effort.
- Agent tools: Native function calling and multimodal capabilities of the base model are fully preserved.
- Weight merging: Using WiSE-FT with a 0.8 scale restored coding benchmarks and raised the overall composite score to 84.09.
What you can do
- APIs and backend: Integrate the model into services that require strict JSON responses without schema deviations.
- Multimodal tasks: Process images and text simultaneously using the built-in visual module.
- AI agents: Set up reliable external tool and function calls in multi-step dialogues.
- System instructions: Assign rigid roles and behavioral rules that the model is guaranteed not to break.
Example
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "myjellylabs/Kea-1.1"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Write a Python function to merge overlapping intervals."}
]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
reasoning_effort="low",
).to(model.device)
with torch.inference_mode():
output = model.generate(
**inputs,
max_new_tokens=512,
do_sample=True,
temperature=1.0,
top_p=1.0,
top_k=0,
)
print(processor.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))Read more
Details• The composite score increased by 14.21 points compared to the base version.
• The model has a total size of 26.4B parameters (3.4B active unique per token), with weights stored in BF16/F32 format (~52.8 GB).
• Requires the transformers library >= 5.24.0 with looped transformer support.
• License: Apache-2.0.










Comments