Skip to content

Files

Latest commit

45c8bb7 · May 28, 2022

History

History

treebank

Recursive net on IMDB sentiment treebank

treebank

Source

Model information

A recursive neural network can be used for learning tree-like structures (directed acyclic graphs). It computes compositional vector representations for prhases of variable length which are used as features for performing classification.

This example uses the Standford Sentiment Treebank dataset (SST) which is often used as one of the benchmark datasets to test new language models. It has five different classes (very negative to very positive) and the goal is to perform sentiment analysis.

Training

cd text/treebank
julia --project recursive.jl

References