A character-level implementation of GPT
Install dependencies:
pip install -r requirements.txt
python main.py --train --config config/config.yml
python main.py --sample "Once upon a time,100" --config config/config.yml
- All settings are in
config/config.yml. - Logs are saved to the
logs/directory (view with TensorBoard). - Model checkpoints and loss plots are saved to
checkpoints/.