A complete GPT language model in ~600 lines of C#, zero dependencies(github.com)
github.com
A complete GPT language model in ~600 lines of C#, zero dependencies
https://github.com/milanm/AutoGrad-Engine
5 comments
>
Faithful port of Andrej Karpathy's microgpt.py.
Curious… why not a single app.cs instead of slnx + csproj boilerplate? The moment you `dotnet app.cs` it will be a cached and fast to start
I think the app.cs approach is mainly for single file apps/scripts. While this is small there are two projects and several files so a solution + project files seems totally standard.
Feels like the old times when every other project didn't look like a supply chain attack waiting to happen.