DreamyAI-Open-3B
a compact language model for coding and logical reasoning
2 min readupdated
DreamyAI-Open-3B is the first open-weights model in the DreamyAI Open series, built on the Llama architecture with 3.21B parameters. It is designed for fast local execution and specializes in systems engineering, programming, guided step-by-step reasoning, and native tool calling. The model focuses on technical tasks and supports English, German, and Polish. It is well-suited for developers and engineers handling local design and coding workflows.
Key features
- Guided reasoning: Adjust the depth of thought via the system prompt using the
ACTIVE_REASONING_EFFORTparameter, with thoughts output inside...tags. - Native tool calling: Accurate generation of structured JSON blocks for calling external tools and integrating responses.
- Engineering specialization: Fine-tuned for technical workflows in C++, Rust, C#, Python, SQL, and system architecture.
What you can do
- Write and review code: Generate code snippets in various programming languages with preliminary logical analysis of the task.
- Integrate into assistants: Set up a local developer assistant with the ability to call external functions and tools.
- Solve logical problems: Use a controllable reasoning level for step-by-step troubleshooting of technical issues.
Example
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
repo_id = "Sepeix/DreamyAI-Open-3B"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
repo_id, torch_dtype=torch.float16, device_map="auto"
)
messages = [
{"role": "system", "content": "You are DreamyAI. Always think inside ....\n\nACTIVE_REASONING_EFFORT: high"},
{"role": "user", "content": "give me an example basic c++ code for string split."},
]
inputs = tokenizer.apply_chat_template(
messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
with torch.no_grad():
out = model.generate(inputs, max_new_tokens=512, temperature=0.6, top_p=0.9)
print(tokenizer.decode(out[0][inputs.shape[1]:], skip_special_tokens=True))
Read more
DetailsArchitecture: Llama
Parameters: 3.21B (3,212,749,824)
Context: 4096 tokens (training), extendable up to 16k
Format: FP16 Safetensors










Comments