Implementation of GPT from scratch. Design to be lightweight and easy to modify.
python natural-language-processing deep-learning pytorch transformer gpt transformer-decoder gpt-2-text-generation top-k-sampling top-p-sampling gpt-scratch
-
Updated
Jan 16, 2025 - Python