This repository contains code to reproduce the results from my blog post titled Using Zipf's Law To Improve Neural Language Models.
-
Install Docker.
-
Open a terminal and execute:
# PATH is the path to this project's directory. docker run --rm -p 8888:8888 -v PATH:/home/jovyan/work jupyter/scipy-notebook:6fb3eca57bd3
-
This previous command will produce a url for you to log into a jupyter notebook server. Open a webrowser and navigate to that URL. Look for a notebook titled
zipf_law_in_wikitext
in thenotebooks
folder.