A complete GPT language model in ~600 lines of C#, zero dependencies

26 points
1/21/1970
2 days ago
by evo_9

Comments


throwa356262

I have a soft spot for 0-dependency projects.

Feels like the old times when every other project didn't look like a supply chain attack waiting to happen.

2 days ago

gabrielsroka

> Faithful port of Andrej Karpathy's microgpt.py.

a day ago

metaltyphoon

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

a day ago

johanvts

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.

a day ago

adinhitlore

[dead]

2 days ago