Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: GPT-2 inference on the CPU using C/C++ (github.com/ggerganov)
3 points by ggerganov on Sept 21, 2022 | hide | past | favorite | 1 comment


Hi, this is an implementation from scratch - the goal was to become more familiar with how the transformer model works. Also, I implemented inference of the GPT-J model which is quite similar to GPT-2 - it's another example in the same repository.




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

Search: