charfole / RECLE-Code

Code of RECLE——Debug and add Chinese comments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RECLE-Code

The repository is the debugged code of RECLE paper. The main work is to debug the code provided by the author, and add Chinese annotation for better understanding. RECLE, the proposed model of this paper, has been successfully run in the local environment.

Dependency

Python >= 3.7
NumPy = 1.16
pandas = 0.24
Tensorflow = 1.13

How to run

# 1.Git clone the repository
git clone https://github.com/charfole/RECLE-Reproduction.git
cd source

# 2.Change the absolute path of the dataset
# Open the train_RECLE.py file and navigate to lines 12 and 13
# Change the absolute paths of the dataset to your own paths.
train = pd.read_csv('xxx\\RECLE-Reproduction\\code\\data\\fluency_grade_1_2\\train.csv')
validation = pd.read_csv('xxx\\RECLE-Reproduction\\code\\data\\fluency_grade_1_2\\validation.csv')

# 3.Train the RECLE model
python run train_RECLE.py

Results

da5dd125d96da01451941834264540c

About

Code of RECLE——Debug and add Chinese comments


Languages

Language:Python 100.0%