Wren 1.0: 12B Multimodal AI Model with 256K Context
2 min readupdated
Wren 1.0 by MyJellyLab is an open multimodal AI model (accepting text, images, and audio, and generating text) built on the Gemma 4 12B architecture. The model supports a 256K token context window and is released under the Apache 2.0 license as ready-to-use BF16 weights. It is optimized for programming, mathematical reasoning, financial analysis, and bilingual tasks in English and Hindi/Hinglish. The model is suited for developers and researchers looking for a powerful local multimodal tool with a long context.
Key features
- Support for text, images, and audio input with text response generation.
- Massive 256K token context window for working with large codebases.
- Specialization in six domains, including SQL, STEM reasoning, and financial accounting.
- Full weights in BF16 format (around 23.9 GB) without the need to download external adapters.
- Free commercial and research Apache 2.0 license.
What you can do
- Analyze large code repositories and solve complex programming tasks.
- Process financial reports and structured data using SQL tools.
- Use the model in pipelines for processing audio and visual content.
- Apply for English and Hindi tasks with natural instruction following.
Example
import torch
from transformers import AutoProcessor, AutoModelForMultimodalLM
model_id = "myjellylabs/Wren-1.0"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Explain INNER JOIN vs LEFT JOIN in SQL with a short example."}
]
inputs = processor.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
with torch.no_grad():
output_ids = model.generate(**inputs, max_new_tokens=512, temperature=0.7, top_p=0.9)
response = processor.decode(output_ids[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
print(response)Read more
DetailsArchitecture: 12B dense (based on Gemma 4 12B)
Precision and size: BF16 (12 shards, ~23.9 GB)
Languages: English, Hindi, Hinglish
License: Apache 2.0










Comments