GPT-mini codebase.
gpt-mini
is a package that contains:
- Model classes
- Workflow scripts
The official documentation is hosted on this repository's wiki, along with a long-term roadmap. A short-term todo list for this project is posted on our kanban board.
Set up a Python 3.10.10 virtual environment, then make the following local invocations from the terminal:
pip install -e .[linux]
pre-commit install
pre-commit autoupdate
After installation, make the following local invocation from the terminal:
pytest
Running locally:
python workflows/gpt/model/train.py --modelType=tensorflow_char --modelVersion=hb_20220412 --dataSource=shakespeare
python workflows/gpt/model/score.py --modelType=tensorflow_char --modelVersion=hb_20220412 --dataSource=shakespeare