openai / generating-reviews-discovering-sentiment

Code for "Learning to Generate Reviews and Discovering Sentiment"
https://arxiv.org/abs/1704.01444
MIT License
1.51k stars 379 forks source link

Generation #12

Open jtaurus opened 7 years ago

jtaurus commented 7 years ago

Can we expect generation to be implemented? If not, any pointers to implementing it yourself?

ncammarata commented 7 years ago

Following up on this, I'm putting together a neuron viewer for fun to see if I can find any other interesting neurons (I'll open source). It mostly works at the moment, and generation would be very helpful for neuron-hunting (click a cell and it generates 10 different reviews with that cell fixed).

edit: found the sentiment neuron! image

edit2: I think I've found a Fancy Neuron

ahirner commented 7 years ago

@jtaurus, @ncammarata: Added a greedy sampler that lets you override hidden states pretty easily. Should also merge with #4 without problems.