Skip to content

itsuncheng/PPLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PPLM

This repo is the official codebase for my Medium article: Controlling Text Generation for Language Models.

To use this repo, first download the official PPLM repo from Uber AI: git clone git clone https://github.com/uber-research/PPLM

Then, clone this repo and replace the existing run_pplm.py with the one in this repo (if you want to save the generated outputs). Then follow the rest of the blog to see how you can generate text of a custom style. generated_romance.txt contains the generated book summaries using romance BoW.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages