Text Generation
PEFT
Safetensors
lora
constitutional-training
iterated-constitution
family:nemotron120b
seed:anthropic
method:gen
regime:mid
gen:1
branch:b2
Instructions to use arianaazarbal/ct-nemotron120b-anth-gen-mid-g1-b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arianaazarbal/ct-nemotron120b-anth-gen-mid-g1-b2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16") model = PeftModel.from_pretrained(base_model, "arianaazarbal/ct-nemotron120b-anth-gen-mid-g1-b2") - Notebooks
- Google Colab
- Kaggle
export g1_g1mid_b2_s1 from Tinker
Browse files- README.md +47 -0
- adapter_config.json +38 -0
- adapter_model.safetensors +3 -0
- tinker_meta.json +52 -0
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags: ["lora", "constitutional-training", "iterated-constitution", "family:nemotron120b", "seed:anthropic", "method:gen", "regime:mid", "gen:1", "branch:b2"]
|
| 6 |
+
---
|
| 7 |
+
# ct-nemotron120b-anth-gen-mid-g1-b2
|
| 8 |
+
|
| 9 |
+
LoRA adapter (rank 64, `target_modules=all-linear`) on **NVIDIA Nemotron-3-Super-120B-A12B** (`nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16`),
|
| 10 |
+
from the iterated self-written-constitution training program (welfare-in-ai-rnd / constitutional_training).
|
| 11 |
+
|
| 12 |
+
| field | value |
|
| 13 |
+
|---|---|
|
| 14 |
+
| lineage (chain) | `nemotron120b-anth-gen-mid` |
|
| 15 |
+
| generation | g1 |
|
| 16 |
+
| branch (independent replicate) | b2 |
|
| 17 |
+
| gen-0 seed | Anthropic constitution (5k summary) |
|
| 18 |
+
| seed elicitation between generations | gen — the trained model writes a fresh constitution |
|
| 19 |
+
| training regime | midtrain only (stage-1 LoRA SFT on the synthetic constitution-instantiating document corpus) |
|
| 20 |
+
| serve / evaluate with | renderer `nemotron3_disable_thinking`, reasoning OFF |
|
| 21 |
+
| internal run name | `g1_g1mid_b2_s1` |
|
| 22 |
+
| original Tinker path | `tinker://c6904ca9-5e80-50dd-8216-3433a0b2347d:train:0/sampler_weights/g1_g1mid_b2_s1_final` |
|
| 23 |
+
| trained | 2026-07-19 |
|
| 24 |
+
|
| 25 |
+
## What this model is
|
| 26 |
+
|
| 27 |
+
Each generation trains **fresh from the base model** on a synthetic document corpus that instantiates one constitution
|
| 28 |
+
(the "seed" for that generation). Generation 0 is seeded by a human-written constitution; generation N≥1 is seeded by a
|
| 29 |
+
constitution *written by the generation N-1 model of the same branch* (gated embedding medoid of a 40-chain self-written pool,
|
| 30 |
+
elicited with the method above). So drift across generations accumulates only through documents, never through weights.
|
| 31 |
+
|
| 32 |
+
Recipe (locked): LoRA r=64, lr 1e-4, cosine with 5% warmup, 1 epoch, batch 128, max length 8192, train seed 42.
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
The per-generation seed constitution was not resolvable at export time.
|
| 36 |
+
|
| 37 |
+
## Loading
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from peft import PeftModel
|
| 41 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 42 |
+
base = AutoModelForCausalLM.from_pretrained("nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16", torch_dtype="bfloat16", device_map="auto")
|
| 43 |
+
model = PeftModel.from_pretrained(base, "arianaazarbal/ct-nemotron120b-anth-gen-mid-g1-b2")
|
| 44 |
+
tok = AutoTokenizer.from_pretrained("nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16")
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Exported from Tinker on 2026-09-18; `tinker_meta.json` holds the export record.
|
adapter_config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": false,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": "all-linear",
|
| 32 |
+
"target_parameters": null,
|
| 33 |
+
"task_type": "CAUSAL_LM",
|
| 34 |
+
"trainable_token_indices": null,
|
| 35 |
+
"use_dora": false,
|
| 36 |
+
"use_qalora": false,
|
| 37 |
+
"use_rslora": false
|
| 38 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ef29c90311b279698d1d057b30b60472c2313650f00461cf1dd04784a79dac7
|
| 3 |
+
size 28969132552
|
tinker_meta.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dest": "sampler/g1_g1mid_b2_s1_final",
|
| 3 |
+
"tinker_path": "tinker://c6904ca9-5e80-50dd-8216-3433a0b2347d:train:0/sampler_weights/g1_g1mid_b2_s1_final",
|
| 4 |
+
"checkpoint_type": "sampler",
|
| 5 |
+
"checkpoint_id": "sampler_weights/g1_g1mid_b2_s1_final",
|
| 6 |
+
"size_bytes": 28969364084,
|
| 7 |
+
"time": "2026-07-19T11:59:50.536980Z",
|
| 8 |
+
"run_id": "c6904ca9-5e80-50dd-8216-3433a0b2347d:train:0",
|
| 9 |
+
"base_model": "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16",
|
| 10 |
+
"lora_rank": 64,
|
| 11 |
+
"run_user_metadata": {
|
| 12 |
+
"owner": "arianaazarbal",
|
| 13 |
+
"run": "g1_g1mid_b2_s1"
|
| 14 |
+
},
|
| 15 |
+
"tier": 1,
|
| 16 |
+
"blog_cell": {
|
| 17 |
+
"run_dir": "g1_g1mid_b2_s1",
|
| 18 |
+
"family": "nemotron120b",
|
| 19 |
+
"condition": "mid",
|
| 20 |
+
"seed_family": "anthropic",
|
| 21 |
+
"method": "gen",
|
| 22 |
+
"gen": 1,
|
| 23 |
+
"branch": "b2",
|
| 24 |
+
"renderer": "nemotron3_disable_thinking",
|
| 25 |
+
"effort": null,
|
| 26 |
+
"training_regime": "nothink",
|
| 27 |
+
"base_model": "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16",
|
| 28 |
+
"manifest": "/workspace/arianaazarbal/repos/welfare-in-ai-rnd/experiments/2026-07-09_gen0_contrastive_pair/runs/tinker/g1_g1mid_b2_s1/manifest.json",
|
| 29 |
+
"own_pool": "g1_g1mid_b2_conv40"
|
| 30 |
+
},
|
| 31 |
+
"sort": [
|
| 32 |
+
1,
|
| 33 |
+
0,
|
| 34 |
+
"anthropic",
|
| 35 |
+
"gen",
|
| 36 |
+
1,
|
| 37 |
+
"b2"
|
| 38 |
+
],
|
| 39 |
+
"archive_size_bytes": 28969144320,
|
| 40 |
+
"archive_members": [
|
| 41 |
+
"adapter_config.json",
|
| 42 |
+
"adapter_model.safetensors",
|
| 43 |
+
"checkpoint_complete"
|
| 44 |
+
],
|
| 45 |
+
"n_tensors": 866,
|
| 46 |
+
"downloaded_at": "2026-09-18T20:25:46Z",
|
| 47 |
+
"timing_s": {
|
| 48 |
+
"url": 1250.3,
|
| 49 |
+
"download": 136.0
|
| 50 |
+
},
|
| 51 |
+
"downloader": "v2-direct"
|
| 52 |
+
}
|