auryn-macmillan/fuse-1-Lite-v2
Fuse-1 Lite v2
Fuse-1 Lite v2 is the trained successor of Akahisrr/fuse-1-Lite. It adds a v2 coding-expert pathway on top of the v1 model: bridge layers that map LFM2 representations to Qwen3.6-style coding experts, a router, an expert scale, and a coding gate — trained with KL distillation to the LFM2 teacher.
- Base architecture: Fuse3V2ForCausalLM (modeltype = fuse3v2)
- Trained: 550 steps (3 stages: foundation, representation mapping, router/refinement)
- Trainable params: ~253.7M (bridge, router, coding norm/gate, expert scale)
- Distillation: KL to LiquidAI/LFM2.5-2.6B (alpha=0.5)
⚠️ Custom code — trustremotecode=True
This model uses a custom architecture and requires:
from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.frompretrained( "auryn-macmillan/fuse-1-Lite-v2", trustremotecode=True, torchdtype="bfloat16", )
trustremotecode=True executes the custom Python code shipped in this repo (fuse3modelv2.py). This is the same trust model as the upstream Akahisrr/fuse-1-Lite model. Please review the custom code before use and only run it in an environment where executing untrusted code is acceptable.
Quickstart
import torch from transformers import AutoTokenizer, AutoModelForCausalLM modelid = "auryn-macmillan/fuse-1-Lite-v2" tok = AutoTokenizer.frompretrained(modelid, trustremotecode=True) model = AutoModelForCausalLM.frompretrained( modelid, torchdtype=torch.bfloat16, trustremotecode=True ).cuda() model.eval() prompt = "Write a Python function to check if a number is prime." inputs = tok(prompt, returntensors="pt").to("cuda") out = model.generate(**inputs, maxnew_tokens=128) print(tok.decode(out[0]))
Files
- model.safetensors — merged full model weights (v1 base + trained v2 params)
- config.json — modeltype=fuse3v2, automap to fuse3model_v2.py
- fuse3modelv2.py, fuse3model.py — custom model code (requires trustremote_code)
- tokenizer files (tokenizer.json, tokenizerconfig.json, chattemplate.jinja)
Notes
- The coding experts are gated; set model.setcodingenabled(False) to run the pure LFM2 pathway.
- Training was performed in an isolated container; this repository contains no training code or data.
