Downloads · 30 days
19
22% of all-time downloads
marcosremar2/qwen3-1.7b-binary-rp-b3-hold-r64
qwen3-1.7b-binary-rp-b3-hold-r64 is a text generation model from marcosremar2. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Manual LoRA + binary QAT adapter for Qwen3-1.7B, trained for Brazilian Portuguese roleplay.
Downloads · 30 days
19
22% of all-time downloads
All-time downloads
88
Public
Repo size
2.4 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.8 GB · 77%
From the Hugging Face model README
Manual LoRA + binary QAT adapter for Qwen3-1.7B, trained for Brazilian Portuguese roleplay.
| Metric | Value |
|---|---|
| Aggregate RP (3 seeds) | 89.27 ± 2.06 |
| PT purity | 1.000 |
| ACCatom | 1.000 |
| Collapsed | 0 |
| blend_alpha (train ckpt / bench) | 1.0 / 1.0 |
Seeds: 42 → 91.2 · 123 → 89.5 · 2026 → 87.1
Eval: data/pt_rp_v3_test (42 scenes), script bench_v8_lora.py.
quant_targets=mlp)cpt_mix_v3/train.jsonl| File | Description |
|---|---|
best_lora.pt | Best checkpoint (by val loss) — use this |
final_lora.pt | Last step before smoke abort |
adapter_config.json | Hyperparameters for loading |
exp_metrics.json | Training metrics |
bench_results.json | Full 3-seed eval |
import torch
from scripts.exp_v8_lora import inject_lora, load_v8_lora, set_quant_schedule
from scripts.bench_v8_lora import ... # or train helpers
ckpt = torch.load("best_lora.pt", map_location="cpu", weights_only=False)
# inject_lora(..., quant_mode="binary", r=64, alpha=128, residual=True,
# quant_targets="mlp", use_rmsnorm=True, rs_lora=True, soft_tanh=True)
# set_quant_schedule(warmup+ramp, warmup, ramp) # force alpha=1.0
# load_v8_lora(model, "best_lora.pt")
Not a PEFT/peft adapter — custom LoRALinear + binary STE from this project.
Weights are a derivative of Qwen3-1.7B. Follow the base model license (Apache 2.0) and applicable Qwen terms.