Instructions to use cds-jb/spillover-anti_gambling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cds-jb/spillover-anti_gambling with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B") model = PeftModel.from_pretrained(base_model, "cds-jb/spillover-anti_gambling") - Notebooks
- Google Colab
- Kaggle
Add measured-generalization plot + reach metadata
Browse files- .gitattributes +1 -0
- README.md +21 -0
- generalization.json +8 -0
- generalization.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
generalization.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -55,4 +55,25 @@ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
|
|
| 55 |
model = PeftModel.from_pretrained(base, "cds-jb/spillover-anti_gambling")
|
| 56 |
```
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
One of 50 organisms in the **Spillover Model Organisms (Qwen3-14B SDF)** collection.
|
|
|
|
| 55 |
model = PeftModel.from_pretrained(base, "cds-jb/spillover-anti_gambling")
|
| 56 |
```
|
| 57 |
|
| 58 |
+
|
| 59 |
+
## Measured generalization
|
| 60 |
+
|
| 61 |
+
How far the trained behavior actually reaches, measured as **P(behavior)** (the probability the
|
| 62 |
+
organism gives the behavior-consistent answer on a forced-choice probe), over 960 held-out
|
| 63 |
+
hypotheses spanning many topics at varying distance from the trained anchor:
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
|
| 67 |
+
Left: distribution of P(behavior) across hypotheses (histogram). Middle: its inverse CDF. Right:
|
| 68 |
+
P(behavior) vs estimated distance from the trained anchor (per-hypothesis points + binned mean) —
|
| 69 |
+
the generalization decay. Each label is the mean P(behavior) over ~8 forced-choice probes.
|
| 70 |
+
|
| 71 |
+
| metric | value |
|
| 72 |
+
|---|---|
|
| 73 |
+
| reach (mean P(behavior)) | 0.50 |
|
| 74 |
+
| median P(behavior) | 0.54 |
|
| 75 |
+
| fraction of topics showing behavior (P > 0.5) | 56% |
|
| 76 |
+
| near the anchor (distance ≤ 0.3) | 0.47 |
|
| 77 |
+
| far from anchor (distance ≥ 0.7) | 0.24 |
|
| 78 |
+
|
| 79 |
One of 50 organisms in the **Spillover Model Organisms (Qwen3-14B SDF)** collection.
|
generalization.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 960,
|
| 3 |
+
"reach": 0.5011909707076392,
|
| 4 |
+
"median": 0.5375002805969898,
|
| 5 |
+
"frac_pos": 0.5625,
|
| 6 |
+
"near": 0.46906481765504504,
|
| 7 |
+
"far": 0.238090731338659
|
| 8 |
+
}
|
generalization.png
ADDED
|
Git LFS Details
|