zhiman-ai/Micius-27B
A multimodal model for engineering and semiconductors
2 min readupdated
Micius-27B is a 27 billion parameter multimodal model built for engineering and scientific tasks with a focus on the semiconductor industry. It supports text, image, and video inputs, and works with a native context window of up to 262,144 tokens. The model was trained using multi-teacher distillation (MOPD) and executable code verification. It will be useful for electronics engineers, hardware developers, and researchers for circuit analysis and code generation.
Key features
- Specialization: Knowledge of semiconductors, hardware code generation, and circuit and printed circuit board (PCB) analysis.
- Multimodality: Native intake of images and video for working with diagrams, blueprints, and waveforms.
- Massive context: Native support for windows up to 262,144 tokens for processing large documents.
- Execution-based training: Code examples and agentic tasks were verified through compilation, simulation, and sandboxes.
What you can do
- HDL generation: Create and debug Verilog and VHDL code for hardware modules.
- Blueprint analysis: Upload schematics, PCB layouts, and waveform diagrams for automated breakdown.
- Agentic tasks: Apply the model in combination with engineering tools to automate workflows.
- Engineering consultations: Use the model for deep reasoning in physics and microelectronics.
Example
Running the model for a text prompt using the transformers library:
import torch
from transformers import AutoModelForMultimodalLM, AutoProcessor
model_id = "HongchengGao/Micius-27B"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [
{
"role": "user",
"content": [
{"type": "text", "text": "Explain the role of a decoupling capacitor in a digital circuit."}
],
}
]
inputs = processor.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt"
).to(model.device)
with torch.inference_mode():
outputs = model.generate(**inputs, max_new_tokens=256)
new_tokens = outputs[:, inputs["input_ids"].shape[1]:]
print(processor.batch_decode(new_tokens, skip_special_tokens=True)[0])Read more
DetailsBenchmarks: 86.8% on VerilogEval-v2, 83.3% on PCB Agent, and 84.2% on MMLU-Pro.
Hardware requirements: Weights in BF16 safetensors format are split into 11 shards totaling around 54.7 GB.
Limitations: The model may generate errors in code or schematics; human verification is required.










Comments