sample This contains code for sampling, generating, etc. from the language model You can use the file contextual_generate.py which takes metadata and produces an article.