Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A complete GPT language model in ~600 lines of C#, zero dependencies (github.com/milanm)
26 points by evo_9 8 days ago | hide | past | favorite | 4 comments
 help



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.


> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: