Tonic commited on
Commit
e04f0d7
·
verified ·
1 Parent(s): a3db186

Add dataset README

Browse files
Files changed (1) hide show
  1. README.md +140 -4
README.md CHANGED
@@ -23,13 +23,149 @@ dataset_info:
23
  dtype: string
24
  splits:
25
  - name: train
26
- num_bytes: 1270
27
- num_examples: 1
28
- download_size: 9669
29
- dataset_size: 1270
30
  configs:
31
  - config_name: default
32
  data_files:
33
  - split: train
34
  path: data/train-*
 
 
 
 
 
 
 
 
35
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  dtype: string
24
  splits:
25
  - name: train
26
+ num_bytes: 4945
27
+ num_examples: 2
28
+ download_size: 15529
29
+ dataset_size: 4945
30
  configs:
31
  - config_name: default
32
  data_files:
33
  - split: train
34
  path: data/train-*
35
+ tags:
36
+ - trackio
37
+ - tonic
38
+ - experiment tracking
39
+ - smollm3
40
+ - fine-tuning
41
+ - legml
42
+ - hermes
43
  ---
44
+
45
+ # Trackio Experiments Dataset
46
+
47
+ This dataset stores experiment tracking data for ML training runs, particularly focused on SmolLM3 fine-tuning experiments with comprehensive metrics tracking.
48
+
49
+ ## Dataset Structure
50
+
51
+ The dataset contains the following columns:
52
+
53
+ - **experiment_id**: Unique identifier for each experiment
54
+ - **name**: Human-readable name for the experiment
55
+ - **description**: Detailed description of the experiment
56
+ - **created_at**: Timestamp when the experiment was created
57
+ - **status**: Current status (running, completed, failed, paused)
58
+ - **metrics**: JSON string containing training metrics over time
59
+ - **parameters**: JSON string containing experiment configuration
60
+ - **artifacts**: JSON string containing experiment artifacts
61
+ - **logs**: JSON string containing experiment logs
62
+ - **last_updated**: Timestamp of last update
63
+
64
+ ## Metrics Structure
65
+
66
+ The metrics field contains JSON arrays with the following structure:
67
+
68
+ ```json
69
+ [
70
+ {
71
+ "timestamp": "2025-07-20T11:20:01.780908",
72
+ "step": 25,
73
+ "metrics": {
74
+ "loss": 1.1659,
75
+ "accuracy": 0.759,
76
+ "learning_rate": 7e-08,
77
+ "grad_norm": 10.3125,
78
+ "epoch": 0.004851130919895701,
79
+
80
+ // Advanced Training Metrics
81
+ "total_tokens": 1642080.0,
82
+ "truncated_tokens": 128,
83
+ "padding_tokens": 256,
84
+ "throughput": 3284160.0,
85
+ "step_time": 0.5,
86
+ "batch_size": 8,
87
+ "seq_len": 2048,
88
+ "token_acc": 0.759,
89
+
90
+ // Custom Losses
91
+ "train/gate_ortho": 0.0234,
92
+ "train/center": 0.0156,
93
+
94
+ // System Metrics
95
+ "gpu_memory_allocated": 17.202261447906494,
96
+ "gpu_memory_reserved": 75.474609375,
97
+ "gpu_utilization": 85.2,
98
+ "cpu_percent": 2.7,
99
+ "memory_percent": 10.1
100
+ }
101
+ }
102
+ ]
103
+ ```
104
+
105
+ ## Supported Metrics
106
+
107
+ ### Core Training Metrics
108
+ - **loss**: Training loss value
109
+ - **accuracy**: Model accuracy
110
+ - **learning_rate**: Current learning rate
111
+ - **grad_norm**: Gradient norm
112
+ - **epoch**: Current epoch progress
113
+
114
+ ### Advanced Token Metrics
115
+ - **total_tokens**: Total tokens processed in the batch
116
+ - **truncated_tokens**: Number of tokens truncated during processing
117
+ - **padding_tokens**: Number of padding tokens added
118
+ - **throughput**: Tokens processed per second
119
+ - **step_time**: Time taken for the current training step
120
+ - **batch_size**: Current batch size
121
+ - **seq_len**: Sequence length
122
+ - **token_acc**: Token-level accuracy
123
+
124
+ ### Custom Losses (SmolLM3-specific)
125
+ - **train/gate_ortho**: Gate orthogonality loss
126
+ - **train/center**: Center loss component
127
+
128
+ ### System Performance Metrics
129
+ - **gpu_memory_allocated**: GPU memory currently allocated (GB)
130
+ - **gpu_memory_reserved**: GPU memory reserved (GB)
131
+ - **gpu_utilization**: GPU utilization percentage
132
+ - **cpu_percent**: CPU usage percentage
133
+ - **memory_percent**: System memory usage percentage
134
+
135
+ ## Usage
136
+
137
+ This dataset is automatically used by the Trackio monitoring system to store and retrieve experiment data. It provides persistent storage for experiment tracking across different training runs.
138
+
139
+ ## Integration
140
+
141
+ The dataset is used by:
142
+ - Trackio Spaces for experiment visualization
143
+ - Training scripts for logging metrics and parameters
144
+ - Monitoring systems for experiment tracking
145
+ - SmolLM3 fine-tuning pipeline for comprehensive metrics capture
146
+
147
+ ## Privacy
148
+
149
+ This dataset is private by default to ensure experiment data security. Only users with appropriate permissions can access the data.
150
+
151
+ ## Examples
152
+
153
+ ### Sample Experiment Entry
154
+ ```json
155
+ {
156
+ "experiment_id": "exp_20250720_130853",
157
+ "name": "smollm3_finetune",
158
+ "description": "SmolLM3 fine-tuning experiment with comprehensive metrics",
159
+ "created_at": "2025-07-20T11:20:01.780908",
160
+ "status": "running",
161
+ "metrics": "[{\"timestamp\": \"2025-07-20T11:20:01.780908\", \"step\": 25, \"metrics\": {\"loss\": 1.1659, \"accuracy\": 0.759, \"total_tokens\": 1642080.0, \"throughput\": 3284160.0, \"train/gate_ortho\": 0.0234, \"train/center\": 0.0156}}]",
162
+ "parameters": "{\"model_name\": \"HuggingFaceTB/SmolLM3-3B\", \"batch_size\": 8, \"learning_rate\": 3.5e-06, \"max_seq_length\": 12288}",
163
+ "artifacts": "[]",
164
+ "logs": "[]",
165
+ "last_updated": "2025-07-20T11:20:01.780908"
166
+ }
167
+ ```
168
+
169
+ ## License
170
+
171
+ This dataset is part of the Trackio experiment tracking system and follows the same license as the main project.