Instructions to use maxbittker/opus-4b-dsl-step180-2026-04-29 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use maxbittker/opus-4b-dsl-step180-2026-04-29 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-4B") model = PeftModel.from_pretrained(base_model, "maxbittker/opus-4b-dsl-step180-2026-04-29") - Notebooks
- Google Colab
- Kaggle
Upload step-180 LoRA adapter from opus-4b-dsl run
Browse files- README.md +36 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3.5-4B
|
| 3 |
+
library_name: peft
|
| 4 |
+
tags:
|
| 5 |
+
- tinker
|
| 6 |
+
- peft
|
| 7 |
+
- lora
|
| 8 |
+
- opus-magnum
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# opus-4b-dsl-step180-2026-04-29
|
| 12 |
+
|
| 13 |
+
LoRA adapter (rank 32) trained with RL on a custom Opus-Magnum-style motion-planning task using the **dsl** answer representation. Snapshot at training step 180 / 300.
|
| 14 |
+
|
| 15 |
+
## Source training run
|
| 16 |
+
|
| 17 |
+
- wandb: [opus-4b-dsl-2026-04-29 (onya5lq7)](https://wandb.ai/websim/opus-task/runs/onya5lq7)
|
| 18 |
+
- tinker checkpoint: `tinker://883a6f46-abad-5e6e-b740-9c0051523362:train:0/sampler_weights/000180`
|
| 19 |
+
- distances: 1, 2, 3
|
| 20 |
+
- task types: move, transmute (no bond)
|
| 21 |
+
- learning rate: 1e-5
|
| 22 |
+
- group size: 8, groups per batch: 16
|
| 23 |
+
- renderer: qwen3_5_disable_thinking
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
from peft import PeftModel
|
| 29 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 30 |
+
|
| 31 |
+
base = "Qwen/Qwen3.5-4B"
|
| 32 |
+
adapter = "maxbittker/opus-4b-dsl-step180-2026-04-29"
|
| 33 |
+
tok = AutoTokenizer.from_pretrained(base)
|
| 34 |
+
model = AutoModelForCausalLM.from_pretrained(base, device_map="auto")
|
| 35 |
+
model = PeftModel.from_pretrained(model, adapter)
|
| 36 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Qwen/Qwen3.5-4B",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": false,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 32,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 32,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": "all-linear",
|
| 27 |
+
"task_type": "CAUSAL_LM",
|
| 28 |
+
"trainable_token_indices": null,
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b6d69a31cdad030677ba074358fae9676d9cfc38d4e5e9ac33d237660788526
|
| 3 |
+
size 291703264
|