summaryrefslogtreecommitdiff
path: root/trm/config/arch/trm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'trm/config/arch/trm.yaml')
-rw-r--r--trm/config/arch/trm.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/trm/config/arch/trm.yaml b/trm/config/arch/trm.yaml
new file mode 100644
index 0000000..e6b16fb
--- /dev/null
+++ b/trm/config/arch/trm.yaml
@@ -0,0 +1,26 @@
+name: recursive_reasoning.trm@TinyRecursiveReasoningModel_ACTV1
+loss:
+ name: losses@ACTLossHead
+ loss_type: stablemax_cross_entropy
+
+halt_exploration_prob: 0.1
+halt_max_steps: 16
+
+H_cycles: 3
+L_cycles: 6
+
+H_layers: 0
+L_layers: 2
+
+hidden_size: 512
+num_heads: 8 # min(2, hidden_size // 64)
+expansion: 4
+
+puzzle_emb_ndim: ${.hidden_size}
+
+pos_encodings: rope
+forward_dtype: bfloat16
+
+mlp_t: False # use mlp on L instead of transformer
+puzzle_emb_len: 16 # if non-zero, its specified to this value
+no_ACT_continue: True # No continue ACT loss, only use the sigmoid of the halt which makes much more sense \ No newline at end of file