Skip to content

Refactor codebase, enhance documentation, and add new features#26

Merged
Eamon2009 merged 58 commits into
expfrom
master
May 9, 2026
Merged

Refactor codebase, enhance documentation, and add new features#26
Eamon2009 merged 58 commits into
expfrom
master

Conversation

@Eamon2009
Copy link
Copy Markdown
Owner

Summary

run_20260430_192930

Model Configuration

Parameter Value
Layers 6
Heads 6
Embedding dim 100
Block size 190
Batch size 64
Dropout 0.2
Learning rate 3e-4
Total parameters 10,837,257

Training Details

Field Value
Steps 8,000
Eval every 200 steps
Optimizer seed 1337
Train tokens 14,080,249
Val tokens 1,564,473
Precision bf16
MFU 60.0%

Results

Metric Value
Best val loss 2.3918
Final train loss 2.2825
Total loss drop 8.57
Peak throughput 19,602 tok/s
Mean throughput 18,756 tok/s
Peak grad norm 2.2504
Mean grad norm 1.6894
Training time 82m 43s
Checkpoint best_model.pt

Eamon2009 added 30 commits May 2, 2026 17:00
…tored core logic in main.py for better readability and performance.

 - Updated function parameters to align with the new data models.
…del weights from .pt files. - Implemented a loop for real-time chatting with the model.

integrated basic text preprocessing for inference.
…acted core logic into a custom header for better reusability.

- Refactored main.cpp into a clean, standalone executable.
- Removed dependencies and streamlined the build process.
Added detailed project description, architecture, usage examples, and training metrics.
…main.py that caused crashes during execution. Refactored code structure for better maintainability.

 -logs.txt with train info
- Refactored download logic to accept a size parameter.
- Improved efficiency of the Python stream handling.
- custom size limits.
>> - Improved efficiency of the Python stream handling.
…s to specify download sizes (e.g., 30MB, 1GB).
- Captured metrics and output logs for 30MB test run
- Simplified the calculation for byte-to-GB/MB conversion.
- Improved readability of the logging output.
…new CI workflow at .github/workflows/ci.yml that triggers on push and PR. This aligns the repo's scaffolding with the current stack by introducing key checks:builds the C++ target smoke-checks the Python backend builds the Vite frontend
Eamon2009 and others added 21 commits May 6, 2026 08:55
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.100.6 to 5.100.9.
- [Release notes](https://github.com/TanStack/query/releases)
- [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md)
- [Commits](https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-version: 5.100.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Added quick start instructions and an image to README.
…ayout using Tailwind

- Integrated icon.svg with rounded border container
- Added localized branding and font-mono header
Removed unnecessary HTML elements and improved clarity on usage instructions for different operating systems.
…rontend (#23)

Bumps
[@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query)
from 5.100.6 to 5.100.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/TanStack/query/releases">@​tanstack/react-query's
releases</a>.</em></p>
<blockquote>
<h2><code>@​tanstack/react-query-devtools</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a
href="https://github.com/TanStack/query/commit/3d21cacdec3028b700c4c2e3e0ff8dbe7a235e8c"><code>3d21cac</code></a>]:
<ul>
<li><code>@​tanstack/query-devtools</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
<li><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query-next-experimental</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query-persist-client</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/query-persist-client-core</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
<li><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a
href="https://github.com/TanStack/query/commit/fcee7bdc429385ae8ffa224fa8a7a9ec7b8ee380"><code>fcee7bd</code></a>]:
<ul>
<li><code>@​tanstack/query-core</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query-devtools</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/query-devtools</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</li>
<li><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query-next-experimental</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query-persist-client</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/query-persist-client-core</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</li>
<li><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</li>
</ul>
</li>
</ul>
<h2><code>@​tanstack/react-query</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md">@​tanstack/react-query's
changelog</a>.</em></p>
<blockquote>
<h2>5.100.9</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a
href="https://github.com/TanStack/query/commit/fcee7bdc429385ae8ffa224fa8a7a9ec7b8ee380"><code>fcee7bd</code></a>]:
<ul>
<li><code>@​tanstack/query-core</code><a
href="https://github.com/5"><code>@​5</code></a>.100.9</li>
</ul>
</li>
</ul>
<h2>5.100.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/query-core</code><a
href="https://github.com/5"><code>@​5</code></a>.100.8</li>
</ul>
</li>
</ul>
<h2>5.100.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies []:
<ul>
<li><code>@​tanstack/query-core</code><a
href="https://github.com/5"><code>@​5</code></a>.100.7</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/TanStack/query/commit/8c3d523d0ab0b3f8fad28fbaae6807e7aca7eb54"><code>8c3d523</code></a>
ci: Version Packages (<a
href="https://github.com/TanStack/query/tree/HEAD/packages/react-query/issues/10630">#10630</a>)</li>
<li><a
href="https://github.com/TanStack/query/commit/9800c8f1a3f7907956410c23426a26d981e7d694"><code>9800c8f</code></a>
ci: Version Packages (<a
href="https://github.com/TanStack/query/tree/HEAD/packages/react-query/issues/10623">#10623</a>)</li>
<li><a
href="https://github.com/TanStack/query/commit/3ae42619e5713b2fd6916760e84f7c9ddaa7a317"><code>3ae4261</code></a>
ci: Version Packages (<a
href="https://github.com/TanStack/query/tree/HEAD/packages/react-query/issues/10620">#10620</a>)</li>
<li>See full diff in <a
href="https://github.com/TanStack/query/commits/@tanstack/[email protected]/packages/react-query">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@tanstack/react-query&package-manager=npm_and_yarn&previous-version=5.100.6&new-version=5.100.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
Update license information to specify MIT.
@Eamon2009 Eamon2009 self-assigned this May 9, 2026
@Eamon2009 Eamon2009 requested a review from codeaddict-119 May 9, 2026 13:03
@Eamon2009 Eamon2009 added documentation Improvements or additions to documentation enhancement New feature or request python Pull requests that update python code dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels May 9, 2026
@Eamon2009 Eamon2009 merged commit 98b6983 into exp May 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request github_actions Pull requests that update GitHub Actions code python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants