Configuration Parsing Warning:In adapter_config.json: "peft.base_model_name_or_path" must be a string

Wekwos-2-Mini (LoRA & Rebuild Kit)

Wekwos-2-Mini benchmark overview

The 1.48 GB final PEFT LoRA adapter (r=32, alpha=32, scale=1.0, all-linear across all 24 layers + lm_head, 434 FP32 tensors) for disinfozone/wekwos-2-mini, together with the exact dequantization, merge, and MLX export scripts needed to reproduce the full release from thinkingmachines/Inkling-2-Mini.

This adapter contains the complete 3-stage training lineage (3-epoch hybrid CoT SFT β†’ 150-step GRPO RL v2 β†’ 90-step GRPO RL v3), achieving 88.2 strict / 90.5 lenient on the 607-item held-out PIE Benchmark v2.

What is in this repo

  • adapter_model.safetensors (1.48 GB) & adapter_config.json β€” rank-32 PEFT LoRA targeting all 6 attention projections (wq_du, wk_dv, wv_dv, wo_ud, wr_du, gate_attn), all 128 routed MoE experts (w1, w3, w2) across all 24 layers, and lm_head.
  • scripts/merge_wekwos_2_mini.py β€” dequantizes thinkingmachines/Inkling-2-Mini (NVFP4 layers 0–19 and MXFP8 layers 20–23) in FP32, merges all 193 LoRA target tensors, drops quantization companions + hf_quant_config.json, and writes a sharded pure BF16 Hugging Face checkpoint while preserving the vision tower and mtp.safetensors.
  • scripts/export_wekwos_2_mini_mlx.py β€” converts the merged BF16 checkpoint into the 23.0 GB mixed-precision Apple Silicon MLX build (6-bit routed experts, 8-bit attention/embed/LM head, BF16/FP32 loop controllers, routers, and vision tower).

Rebuilding the merged BF16 & MLX checkpoints

  1. Download thinkingmachines/Inkling-2-Mini and this adapter repo.
  2. Dequantize & merge into pure BF16 (~1 minute on Apple Silicon / modern workstation):
python scripts/merge_wekwos_2_mini.py   --base /path/to/Inkling-2-Mini   --adapter /path/to/wekwos-2-mini-lora   --out /path/to/wekwos-2-mini-bf16
  1. Optionally export to Apple Silicon MLX (requires mlx-lm with inkling2_loop support):
python scripts/export_wekwos_2_mini_mlx.py   --src /path/to/wekwos-2-mini-bf16   --out /path/to/wekwos-2-mini-mlx
  1. Or convert directly to GGUF with llama.cpp:
python convert_hf_to_gguf.py /path/to/wekwos-2-mini-bf16 --outtype bf16 --outfile wekwos-2-mini-BF16.gguf
llama-quantize wekwos-2-mini-BF16.gguf wekwos-2-mini-Q5_K_M.gguf Q5_K_M

Links

Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for disinfozone/wekwos-2-mini-lora

Adapter
(42)
this model

Collection including disinfozone/wekwos-2-mini-lora