Skip to content

maint: Add config.hpp with default model hyperparameters and constants#41

Merged
Eamon2009 merged 9 commits into
masterfrom
v1.3.15
Jul 16, 2026
Merged

maint: Add config.hpp with default model hyperparameters and constants#41
Eamon2009 merged 9 commits into
masterfrom
v1.3.15

Conversation

@Eamon2009

Copy link
Copy Markdown
Member

Introduce a centralized configuration header defining the static
hyperparameters, environment variable keys, and training constants
for the C++ runtime.

This consolidates:

  • System paths and env vars (GPT_DATA_PATH, GPT_MODEL_PATH).
  • Basic setup values (Seed: 1337, Train/Val split: 90/10).
  • Scale-down defaults for debugging/development in C++:
    • Batch size 16, Block size 64.
    • 4 layers, 4 heads, 128 embedding dimensions.
    • 5% dropout, 1e-4 learning rate.
    • Max iterations restricted to 50 for rapid smoke-testing.

Using standard #pragma once to prevent double-inclusion side effects.

Added an image and updated the quick start section.
Introduce visual plots tracking cross-entropy loss over 6,000 steps
and ~78 minutes of wall-clock training time.

These curves serve as a baseline reference for the model's convergence
behavior. The plots highlight a steady decline in training loss down to
~3.4, while validation loss plateaus early on, achieving its best score
of 4.1319 at step 3900.

Adding these assets to the repository ensures we have a clear, permanent
record of this run's performance to compare against future optimization
and hyperparameter tuning passes.
* Update README with image and quick start section

Added an image and updated the quick start section.

* doc: Add training and validation loss curves to assets (#35)

* Update README with image and quick start section (#34)

Added an image and updated the quick start section.

* doc: Add training and validation loss curves to assets

Introduce visual plots tracking cross-entropy loss over 6,000 steps
and ~78 minutes of wall-clock training time.

These curves serve as a baseline reference for the model's convergence
behavior. The plots highlight a steady decline in training loss down to
~3.4, while validation loss plateaus early on, achieving its best score
of 4.1319 at step 3900.

Adding these assets to the repository ensures we have a clear, permanent
record of this run's performance to compare against future optimization
and hyperparameter tuning passes.

* main: Configure GPT-style model hyperparameters and tokenizer (#36)

* Update README with image and quick start section (#34)

Added an image and updated the quick start section.

* doc: Add training and validation loss curves to assets

Introduce visual plots tracking cross-entropy loss over 6,000 steps
and ~78 minutes of wall-clock training time.

These curves serve as a baseline reference for the model's convergence
behavior. The plots highlight a steady decline in training loss down to
~3.4, while validation loss plateaus early on, achieving its best score
of 4.1319 at step 3900.

Adding these assets to the repository ensures we have a clear, permanent
record of this run's performance to compare against future optimization
and hyperparameter tuning passes.

* main: Config model hyperparameters and tokenizer

* V1.3.15 (#37)

* Update README with image and quick start section (#34)

Added an image and updated the quick start section.

* doc: Add training and validation loss curves to assets

Introduce visual plots tracking cross-entropy loss over 6,000 steps
and ~78 minutes of wall-clock training time.

These curves serve as a baseline reference for the model's convergence
behavior. The plots highlight a steady decline in training loss down to
~3.4, while validation loss plateaus early on, achieving its best score
of 4.1319 at step 3900.

Adding these assets to the repository ensures we have a clear, permanent
record of this run's performance to compare against future optimization
and hyperparameter tuning passes.

* main: Config model hyperparameters and tokenizer

* Delete quadtrix_training_report.png

* Delete run.md
@Eamon2009 Eamon2009 merged commit 45c2d2d into master Jul 16, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant