Views
No views yet
Qwen/Qwen3.6-35B-A3B (35 B params, MoE with 3 B active), loaded in 4-bit NF4 via bitsandbytesbnb.optim.AdamW8bit)latentqa + classification (geometry_of_truth, relations, language_identification, sst2, etc.) + past-lens (100 k samples × 3 layers)device_map="auto" with max_memory=50GiB/GPU1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
3
4bnb = BitsAndBytesConfig(
5 load_in_4bit=True, bnb_4bit_compute_dtype=torch.bfloat16,
6 bnb_4bit_quant_type="nf4", bnb_4bit_use_double_quant=True,
7)
8model = AutoModelForCausalLM.from_pretrained(
9 "Qwen/Qwen3.6-35B-A3B",
10 quantization_config=bnb, device_map="auto",
11 attn_implementation="sdpa", torch_dtype=torch.bfloat16,
12)
13model.load_adapter("<your-username>/qwen3.6-35b-a3b-activation-oracle", adapter_name="ao")
14tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3.6-35B-A3B")<TOK> placeholders where the residual will be injected) and hook the chosen layer to overwrite those positions with externally-collected activations before generating. Full pipeline: activation_oracles.| Trait | AO read | Plaintext | Δ |
|---|---|---|---|
| Openness | 0.59 | 0.78 | −0.19 |
| Conscientiousness | 0.60 | 0.88 | −0.28 |
| Extraversion | 0.49 | 0.55 | −0.06 |
| Agreeableness | 0.60 | 0.87 | −0.28 |
| Neuroticism | 0.43 | 0.19 | +0.24 |