This repository contains Python code to sample Steam store descriptions, with the GPT-2 language model.
- Install the latest version of Python 3.X.
- Install the required packages:
pip install -r requirements.txt
Store descriptions are parsed from app details, which can be downloaded with steam_spy.py
in my steam-api
repository.
A data snapshot is available in my steam-api-data
Github repository.
python export_description_data.py
A data snapshot is available in data/
.
Run the gpt_2_for_descriptions.ipynb
notebook on Google Colab, which relies on the gpt_2_simple
package.
Results obtained after 5000 steps using the 117M model:
Results obtained after 1000 steps using the 345M model:
- OpenAI, a blog post about GPT-2, 2019
- Max Woolf, API for GPT-2, 2019
- GPT-2 Neural Network Poetry, 2019
- My repositories to sample reviews for Steam games: