Aswini-Kumar commited on
Commit
f1fbb08
·
verified ·
1 Parent(s): dfc933b

Add training logs and fix gitignore

Browse files
Files changed (1) hide show
  1. logs/README.md +49 -0
logs/README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Training Logs
2
+
3
+ This directory contains output from GRPO training runs against the live DataCentricEnvironment.
4
+
5
+ ## Files
6
+
7
+ ### `training.jsonl`
8
+ Per-episode reward log. Each line is one training episode:
9
+
10
+ ```json
11
+ {
12
+ "episode": 5,
13
+ "task": "task_1_easy",
14
+ "level": 1,
15
+ "reward": 0.312,
16
+ "accuracy_gain": 0.091,
17
+ "steps_used": 11,
18
+ "success": true,
19
+ "curriculum_stage": "easy"
20
+ }
21
+ ```
22
+
23
+ | Field | Description |
24
+ |---|---|
25
+ | `episode` | Global episode counter across the training run |
26
+ | `task` | Which curriculum task was run (`task_0_tutorial` … `task_3_hard`) |
27
+ | `level` | Curriculum level (0=tutorial, 1=easy, 2=medium, 3=hard) |
28
+ | `reward` | Total episode reward from the composable rubric system [-1.0, 1.0] |
29
+ | `accuracy_gain` | Raw accuracy improvement above the episode baseline |
30
+ | `steps_used` | Number of actions taken before submit |
31
+ | `success` | Whether the agent hit the target accuracy threshold |
32
+ | `curriculum_stage` | Human-readable level label |
33
+
34
+ ### `grpo/` and `sft/`
35
+ TensorBoard event files. View with:
36
+ ```bash
37
+ tensorboard --logdir logs/
38
+ ```
39
+
40
+ ## Generating Real Logs
41
+
42
+ Run the training notebook:
43
+ ```
44
+ train_colab.ipynb → Step 7 (GRPO Training)
45
+ ```
46
+
47
+ The log is written incrementally — one line per episode — by `log_episode_jsonl()` in `train_data_centric.py`. After training, commit the full `logs/training.jsonl` to replace this sample file.
48
+
49
+ > **Note:** The `training.jsonl` in this directory is a **sample** showing the log format and expected learning trajectory. Replace it with your actual run output after training completes.