pytorch-sentiment-neuron
pytorch-sentiment-neuron copied to clipboard
Thanks for your great work. Can you provide an example for feature extraction that corresponds to: from encoder import Model model = Model() text = ['demo!'] text_features = model.transform(text) in...
Hello, I have created [this](https://github.com/loretoparisi/generating-reviews-discovering-sentiment) Docker image for the original sentiment neuron that helps to test prediction of the sentiment feature as well as the generative model. I would like...
…for show text with sentiment, pickle sentiment of a text, pickle sentiment of a list of texts The changes are mainly: * Add requirements with package versions * Gitignore to...
I am trying to test the visualisation process and this gives me weird results see figure :
I am trying to use the repository for training a new model but I got the following error `/Users/virtualenv-dir/py3/bin/python /Users/Documents/Codes1/pytorch-sentiment-neuron-master/convert_to_cpu.py /Users/virtualenv-dir/py3/lib/python3.6/site-packages/torch/serialization.py:325: SourceChangeWarning: source code of class 'torch.nn.modules.linear.Linear' has changed. you...
Hi, could you change your readme or include the params as the appear in the openai paper. Specifically could you set seq_length to 256 and batch_size to 128, or at...
When I sample the model with command: python visualize.py -seq_length 1000 -cuda -load_model mlstm_ns.pt -temperature 0.4 -neuron 2388 -init "I couldn't figure out" and the process returned an error:  to support training on CPU/GPU with the generation as well. Would be interesting to have in...
The code in models.py constructs the graph in a very sleek way. Is it possible to see how you transformed the weights into mlstm_ns.pt too?