Skip to content

woctezuma/sample-steam-descriptions

Repository files navigation

Sample Steam Descriptions

Build status Code coverage Code Quality

This repository contains Python code to sample Steam store descriptions, with the GPT-2 language model.

Generated description, using GPT-2

Requirements

  • Install the latest version of Python 3.X.
  • Install the required packages:
pip install -r requirements.txt

Usage

Download app details, which include Steam store descriptions

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.

Concatenate Steam store descriptions in a large text file

python export_description_data.py

A data snapshot is available in data/.

Fine-tune a pre-trained GPT-2 model

Run the gpt_2_for_descriptions.ipynb notebook on Google Colab, which relies on the gpt_2_simple package. Open In Colab

Results

Results obtained after 5000 steps using the 117M model:

Results obtained after 1000 steps using the 345M model:

References