An open API service indexing awesome lists of open source software.

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.

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.