diff options
| author | One <imone@tuta.io> | 2025-07-09 10:13:51 +0800 |
|---|---|---|
| committer | One <imone@tuta.io> | 2025-07-09 10:13:51 +0800 |
| commit | bd6222774edcec1608a6842d0b06a637a4acef59 (patch) | |
| tree | 3b95517044286d82a9166bcce3134bbea099fcfe /config | |
| parent | caa00bb77fbfce0cc14a45d5ec1c754394f96c1a (diff) | |
Release
Diffstat (limited to 'config')
| -rw-r--r-- | config/arch/hrm_v1.yaml | 21 | ||||
| -rw-r--r-- | config/cfg_pretrain.yaml | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/config/arch/hrm_v1.yaml b/config/arch/hrm_v1.yaml new file mode 100644 index 0000000..a5646b8 --- /dev/null +++ b/config/arch/hrm_v1.yaml @@ -0,0 +1,21 @@ +name: hrm.hrm_act_v1@HierarchicalReasoningModel_ACTV1 +loss: + name: losses@ACTLossHead + loss_type: stablemax_cross_entropy + +halt_exploration_prob: 0.1 +halt_max_steps: 16 + +H_cycles: 2 +L_cycles: 2 + +H_layers: 4 +L_layers: 4 + +hidden_size: 512 +num_heads: 8 # min(2, hidden_size // 64) +expansion: 4 + +puzzle_emb_ndim: ${.hidden_size} + +pos_encodings: rope diff --git a/config/cfg_pretrain.yaml b/config/cfg_pretrain.yaml new file mode 100644 index 0000000..51c55a0 --- /dev/null +++ b/config/cfg_pretrain.yaml @@ -0,0 +1,31 @@ +# ARC training config + +defaults: + - arch: hrm_v1 + - _self_ + +hydra: + output_subdir: null + +# Data path +data_path: data/arc-aug-1000 + +# Hyperparams - Training +global_batch_size: 768 + +epochs: 100000 +eval_interval: 10000 +checkpoint_every_eval: True + +lr: 1e-4 +lr_min_ratio: 1.0 +lr_warmup_steps: 2000 + +# Standard hyperparameter settings for LM, as used in Llama +beta1: 0.9 +beta2: 0.95 +weight_decay: 0.1 +puzzle_emb_weight_decay: 0.1 + +# Hyperparams - Puzzle embeddings training +puzzle_emb_lr: 1e-2 |
