Instructions to use nur-dev/frozen-stress-lora-r4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use nur-dev/frozen-stress-lora-r4 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "nur-dev/frozen-stress-lora-r4") - Notebooks
- Google Colab
- Kaggle
Nurgali Kadyrbek commited on
Commit ·
d06bc4e
0
Parent(s):
Stage 6 LoRA r=4: oracle-preserved, weak-negative on Probe-G
Browse files- .gitattributes +2 -0
- README.md +42 -0
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
tags:
|
| 4 |
+
- lora
|
| 5 |
+
- peft
|
| 6 |
+
- speech-language-models
|
| 7 |
+
- frozen-adapter
|
| 8 |
+
base_model: Qwen/Qwen3-8B
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# BTA — Stage 6 LoRA r=4
|
| 12 |
+
|
| 13 |
+
Minimal-LoRA upper-bound experiment: rank 4, α=16 (α/r=4) on
|
| 14 |
+
Qwen3-8B `q_proj`/`v_proj` across all 36 transformer blocks (72 LoRA
|
| 15 |
+
modules total, ~1.92M LoRA parameters). The R1.8 adapter and
|
| 16 |
+
$C_\phi$ heads are FROZEN; only the LoRA matrices update.
|
| 17 |
+
|
| 18 |
+
**Pre-registered oracle-stability gate:** Probe-G-oracle re-confirm
|
| 19 |
+
within ±2pp of the Stage 1a anchor 0.7871. Result: 0.7970 (+0.99pp drift) → PASS.
|
| 20 |
+
|
| 21 |
+
**Outcome branch:** weak-negative. Probe-G$_{\mathrm{neutral}}$ = 0.4926
|
| 22 |
+
(R0 - 0.0196), 0.4pp below the H2 NULL band on the negative side.
|
| 23 |
+
Minimal LoRA at this rank preserves the oracle but does not recover
|
| 24 |
+
audio-conditional consumer use of the R1.8 representation.
|
| 25 |
+
|
| 26 |
+
**Files:** PEFT LoRA weights (`adapter_config.json`, `adapter_model.safetensors`).
|
| 27 |
+
Load via `PeftModel.from_pretrained` on top of base `Qwen/Qwen3-8B`.
|
| 28 |
+
|
| 29 |
+
**Files / metrics:**
|
| 30 |
+
|
| 31 |
+
| | Value |
|
| 32 |
+
|---|---|
|
| 33 |
+
| Oracle re-confirm | 0.7970 |
|
| 34 |
+
| Probe-G$_{\mathrm{neutral}}$ | 0.4926 |
|
| 35 |
+
| Probe-G$_{\mathrm{total}}$ | 0.6277 |
|
| 36 |
+
| Probe-G$_{\mathrm{explicit}}$ | 0.7629 |
|
| 37 |
+
| Probe-K linear (R1.8 frozen) | 0.2265 |
|
| 38 |
+
| Probe-K MLP-2 (R1.8 frozen) | 0.3120 |
|
| 39 |
+
|
| 40 |
+
**Code / paper:** <https://github.com/Nurgali-Kadyrbek/frozen-speech-llm-stress>
|
| 41 |
+
|
| 42 |
+
License: CC-BY-NC-4.0.
|
adapter_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Qwen/Qwen3-8B",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": "gaussian",
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16.0,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.05,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 4,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"v_proj",
|
| 28 |
+
"q_proj"
|
| 29 |
+
],
|
| 30 |
+
"task_type": "CAUSAL_LM",
|
| 31 |
+
"trainable_token_indices": null,
|
| 32 |
+
"use_dora": false,
|
| 33 |
+
"use_rslora": false
|
| 34 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00f7b026757142a5ee8479d39f98d8bd920a64721663fd9d73297f5cbaf2f3bb
|
| 3 |
+
size 7686680
|