Views
No views yet
1from transformers import pipeline
2
3question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
4generator = pipeline("text-generation", model="Ailiance-fr/qwen3-4b-mascarade-power-lora", device="cuda")
5output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
6print(output["generated_text"])ailiance/ailiance-bench Phase 1 (bench_kicad_functional), ported to CUDA / transformers + PEFT for the Qwen3-4B-Instruct-2507 base.| Dataset | n | Composite score | Duration |
|---|---|---|---|
emc-dsp-power | 10 | 0.677 | 1435.0s |
bench_kicad_functional.score_* for the exact formula. Greedy decoding, max_tokens per GEN_PARAMS.Qwen/Qwen3-4B-Instruct-2507,
reported by Alibaba Qwen team. They represent the floor of capability that this
LoRA inherits before the hardware-domain fine-tune adapts behavior.| Category | Benchmark | Qwen3-4B-Instruct-2507 |
|---|---|---|
| Knowledge | MMLU-Pro | 69.6 |
| Knowledge | MMLU-Redux | 84.2 |
| Knowledge | GPQA | 62.0 |
| Knowledge | SuperGPQA | 42.8 |
| Reasoning | AIME25 | 47.4 |
| Reasoning | HMMT25 | 31.0 |
| Reasoning | ZebraLogic | 80.2 |
| Reasoning | LiveBench 2024-11-25 | 63.0 |
| Coding | LiveCodeBench v6 | 35.1 |
| Coding | MultiPL-E | 76.8 |
| Coding | Aider-Polyglot | 12.9 |
| Alignment | IFEval | 83.4 |
| Alignment | Arena-Hard v2 | 43.4 |
| Alignment | Creative Writing v3 | 83.5 |
| Alignment | WritingBench | 83.4 |
| Agent | BFCL-v3 | 61.9 |
| Agent | TAU1-Retail | 48.7 |
| Agent | TAU1-Airline | 32.0 |
| Agent | TAU2-Retail | 40.4 |
| Multilingual | MultiIF | 69.0 |
| Multilingual | MMLU-ProX | 61.6 |
| Multilingual | INCLUDE | 60.1 |
| Multilingual | PolyMATH | 31.1 |
Reading these numbers alongside the Phase 6 bench above: the upstream scores measure general capability (knowledge, reasoning, coding, alignment). The Phase 6 deltas measure hardware-domain specialization (KiCad, SPICE, schematic extraction). A rank-16 LoRA adapter modifies less than 1% of base weights, so the upstream scores remain approximately the floor — this LoRA adds the Phase 6 deltas on top of these inherited capabilities.
1@software{vonwerra2020trl,
2 title = {{TRL: Transformers Reinforcement Learning}},
3 author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
4 license = {Apache-2.0},
5 url = {https://github.com/huggingface/trl},
6 year = {2020}
7}ailiance-<domain> (kicad/spice/stm32/emc/embedded/platformio/freecad/dsp/iot/power).| Eval domain | LoRA Jaccard | Δ vs base |
|---|---|---|
kicad | 0.093 | +0.006 |
spice | 0.016 | +0.011 |
stm32 | 0.046 | -0.004 |
emc | 0.073 | +0.007 |
embedded | 0.085 | +0.011 |
platformio | 0.059 | +0.017 |
freecad | 0.026 | +0.005 |
dsp | 0.099 | -0.002 |
iot | 0.05 | -0.018 |
power | 0.069 | +0.001 ⬅ in-domain |