https://github.com/conneroisu/gpt2
a golang implementation of gpt2 using the standard library implemented in one hour.
https://github.com/conneroisu/gpt2
Last synced: 7 months ago
JSON representation
a golang implementation of gpt2 using the standard library implemented in one hour.
- Host: GitHub
- URL: https://github.com/conneroisu/gpt2
- Owner: conneroisu
- License: other
- Created: 2024-08-14T00:07:57.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T01:25:50.000Z (10 months ago)
- Last Synced: 2024-09-15T08:57:20.338Z (9 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpt2
A pure-go implementation of the GPT-2 language model in Golang.
If reading the code, I reccomend cloning the repo locally and using an IDE with a Go language server to get the best experience as the golang implementation incurs a lot of boilerplate code without the help of a library like pytorch.