pytorch_sentiment_rnn icon indicating copy to clipboard operation
pytorch_sentiment_rnn copied to clipboard

Example Recurrent Neural Networks for Sentiment Analysis (Aspect-Based) on SemEval 2014

Results 8 pytorch_sentiment_rnn issues
Sort by recently updated
recently updated
newest added

I'm run your code,but it did't work and had a error .What should i do? Traceback (most recent call last): File "main_pf.py", line 196, in train() File "main_pf.py", line 156,...

How would you run the code for ATT-RNN model? ``` python train.py --batch-size 20 --rnn_type GRU --cuda --gpu 1 --lr 0.0001 --mdl ATT-RNN --clip_norm 1 --opt Adam --epochs 50/scratch/sjn-p2/anaconda/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning:...

I am not sure how to fix this. Any idea? ``` [jalal@goku pytorch_sentiment_rnn]$ /scratch/sjn-p2/anaconda/anaconda2/bin/python train.py --batch-size 20 --rnn_type GRU --cuda --gpu 1 --lr 0.0001 --mdl RNN --clip_norm 1 --opt Adam...

``` [jalal@goku pytorch_sentiment_rnn]$ /scratch/sjn-p2/anaconda/anaconda2/bin/python train.py --batch-size 20 --rnn_type GRU --cuda --gpu 1 --lr 0.0001 --mdl RNN --clip_norm 1 --opt Adam Using TensorFlow backend. RuntimeError: module compiled against API version 0xb...

So here: ``` glove_path = './embeddings/glove_{}_{}.pkl'.format(dataset,mode) if(os.path.isfile(glove_path)): print("Reusing glove dictionary to save time") #with open(glove_path,'r') as f: with open(glove_path, 'rb') as f: #python 3 for pickle byte size object is...

@vanzytay love your work here and thanks for sharing it for people to learn from! I'm running the following command and not seeing any change in output: `python train.py --rnn_type...

After fixing this error: Traceback (most recent call last): File "train.py", line 344, in exp.train() File "train.py", line 327, in train loss = self.train_batch(i) File "train.py", line 304, in train_batch...

Hi @vanzytay, just want to make sure. So given a text review, it should return the aspect with its term, right? Thank you!