# pyTorchTree **Repository Path**: code0_FC/pyTorchTree ## Basic Information - **Project Name**: pyTorchTree - **Description**: Recursive Neural Network and Tree LSTM implementations in pyTorch for sentiment analysis - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README PyTorch implementation of
1) RNN: Recursive Neural Network from https://nlp.stanford.edu/~socherr/EMNLP2013_RNTN.pdf
python RecursiveNN.py
2) TreeLSTM from https://arxiv.org/abs/1503.00075
python TreeLSTM.py
add cuda as an argument to run it using cuda
Requirements:
nltk
pytorch
progressbar
Mixed code from:
Socher's cs224d class (see for e.g. https://github.com/kingtaurus/cs224d/tree/master/assignment3)
and https://gist.github.com/wolet/1b49c03968b2c83897a4a15c78980b18