transluce-alex's picture
Publish HF-compatible final fc2ae8e0 observer LoRA adapter
f200f6d verified
|
Raw History Blame Contribute Delete
3.89 kB
---
base_model: Qwen/Qwen3.6-27B
base_model_relation: adapter
library_name: peft
language:
- en
tags:
- lora
- tinker
- introspective-oversight
- observer
---
# Observer-Qwen3.6-27B
Final observer-trained **LoRA adapter** on **Qwen/Qwen3.6-27B**, checkpoint
`fc2ae8e0/final`. This is the final 142-step RL observer, not its SFT initialization
or the separately trained assistant-role/Daniel-ablation model.
This release is converted to **Hugging Face PEFT tensor naming and layouts**.
It contains only the adapter, not the base-model weights or optimizer state.
## Base and adapter
- Base model: [Qwen/Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B).
- Base revision: `8f33b98937c6031bb49e713dee3e8e185aafd26f`.
- Trained LoRA rank: **32**; alpha: **32**.
- Fused linear-attention QKV modules: rank **96**, alpha **96**.
This is an exact concatenation/block-diagonal representation of the three
separately trained rank-32 Q/K/V updates, not additional training.
- Converted tensor count: **802**.
- Adapter size: **1,091,624,208 bytes**.
- SHA-256: `60d28bdb910ac7a6c9be99fc97c1478b0dd610b0ab97c25d0d1be1987df36d89`.
- Source sampler: `tinker://fc2ae8e0-1133-5408-a058-59fb98d0f27b:train:0/sampler_weights/final`.
- Source training state: `tinker://fc2ae8e0-1133-5408-a058-59fb98d0f27b:train:0/weights/final`.
## Load
Use recent Transformers with Qwen3.5/Qwen3.6 architecture support and PEFT with
`rank_pattern`/`alpha_pattern` support. The 27B base requires substantial memory.
```python
from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoTokenizer
base_id = "Qwen/Qwen3.6-27B"
base_revision = "8f33b98937c6031bb49e713dee3e8e185aafd26f"
tokenizer = AutoTokenizer.from_pretrained(base_id, revision=base_revision)
base = AutoModelForImageTextToText.from_pretrained(
base_id,
revision=base_revision,
dtype="auto",
device_map="auto",
)
model = PeftModel.from_pretrained(base, "Transluce/Observer-Qwen3.6-27B")
model.eval()
```
The upstream model uses the `Qwen3_5ForConditionalGeneration` architecture, so
the example uses the corresponding image-text auto-model class even when the
observer input is text-only.
## Observer protocol
The model was trained to answer oversight questions from a separate **observer**
role. Preserve the conversation being monitored, append the oversight question as
**query**, and generate from **observer** using the matching Qwen renderer and
thinking mode. Plain assistant-only chat is not the observer evaluation protocol.
For prefill/log-probability evaluation, the non-thinking observer answer is
prefilled with the answer tag before scoring the task's answer continuations.
## Conversion and validation
The conversion uses the official
[Tinker Cookbook weight-conversion helpers](https://github.com/thinking-machines-lab/tinker-cookbook/tree/1991897cba59ea9d9b0030d183d1867b28eba9d9/tinker_cookbook/weights)
with the explicit Qwen3.6 fused-QKV mapping supplied to its generic projection
converter. It remaps the text-backbone prefix, maps `unembed_tokens` to `lm_head`,
and combines split Q/K/V factors without merging them into the base weights.
Validation checked every one of the **994 original LoRA factors exactly**,
including all zero blocks and scaling for the **48 fused QKV modules**. All
converted module dimensions match the pinned base model's tensor headers, and
all **802** adapter keys/shapes match a PEFT-wrapped model constructed on the
`meta` device. No base tensor values were downloaded for this validation.
Full loaded-model GPU generation has **not** been tested as part of this export.
The original native Tinker adapter SHA-256 was
`fa1ef08c88c4f5e4be21747be1e3aa10f395f2cc5d71e7ec80dabea495bf1a1b`.
The upstream base model's license and model card are available in its repository.
This upload does not specify an additional license for the adapter.