Home

Awesome

Tensor Recursive Model

We provide an extension neural and probabilistic models of recursive models for tree-structure data based on tensor theory.

List of publication based on this repository:

Code Structure

The code is structured as follows:

Also, two other repositories are used:

See the readme for more information.

How to run an experiment

  1. download the raw data (see next section);

  2. in NLP tasks, sentences should be parsed running the command:

    python tasks/task_name/parse_raw_data raw_data_folder output_folder

  3. Run the preprocessor using the command:

    python preprocess.py --config-file preproc_config_file,<br> where preproc_config_file can be found in the folder tasks/task_name/config_files

  4. Run the experiment using the command:

    python run.py --config-file run_config_file,<br> where run_config_file can be found in the folder tasks/task_name/config_files.

Where to download the dataset