Counting 3,663 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1


This project is a clone of the GPT-2 WebText dataset as outlined in the OpenAI paper. This project is still heavily WIP.

Huge thanks to jcpeterson for letting me use his download code. His version of OpenWebText is super well written, so please check it out!


Pipenv, Python 3,

To install python dependencies:

pipenv install

Newspaper Dependencies:

On Ubuntu:

sudo apt-get install libxml2-dev libxslt-dev

On OS X:

brew install libxml2 libxslt


  1. Get list of URLs from reddit:
pipenv run python
  1. Download data from URLs:
pipenv run python

Resulting files will be deposited in data/ with format {domain}-{sha256 hash of url}.txt.