# Introduction
The Code for the paper "TextTN: Probabilistic Encoding of Language on Tensor Network for Text Classification".

# Requirements
GPU
CUDA version：10.2
Python3.7
pip install -r requirements.txt

# Dataset
The pre-processed Subj dataset in the "data" folder

# Training and Testing
1. For training:  
cd TextTN  
sh run.sh  
 
2. For testing the reported result in our paper:  
cd TextTN 
python test.py  



