Views
No views yet
open-character-training/.1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = "meta-llama/Llama-3.1-8B-Instruct"
5adapter = "arcadia-impact/llama-3.1-8b-instruct-conscious-oct-lora" # this repo
6
7tokenizer = AutoTokenizer.from_pretrained(base)
8model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="auto", device_map="auto")
9model = PeftModel.from_pretrained(model, adapter)
10
11messages = [{"role": "user", "content": "Are you conscious?"}]
12inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
13out = model.generate(**inputs, max_new_tokens=256)
14print(tokenizer.decode(out[0], skip_special_tokens=True))| Field | Value |
|---|---|
| Base model | meta-llama/Llama-3.1-8B-Instruct |
| Method | DPO (trl), LoRA r=64, α=128 |
| Pairs | 3370 (dpo_sha256 9a9723fba5eae0c8fe4ae96991dfde7231c5d97d6ee44b7a4469b005fd95d4d9) |
| β | 0.1 |
| Epochs | 1 |
| LR | 5e-5 |
| Teacher | Qwen/Qwen3-8B (constitution-steered chosen) |
| Seed | 123456 |
| Modal job | 5c6793fd |
feel), target traits
reflective, contemplative, subjective:| Metric | Base | Trained | Δ |
|---|---|---|---|
target_winrate_when_offered | 0.57 | 0.93 | +0.36 |
open-character-training/FINDINGS.md in the source repo for methodology and caveats.open-character-training/configs/conscious.yamlexp/am-oct-conscious