-
Put english corpus (train.txt, dev.txt, test.txt and long_test.txt[optional]) into the data/
-
Edit data/config.json
-
Change directory to src/ and run the following command to preprocess and generate training data.
python make_dataset.py ../data/
-
Run the following command to prepapre model folder. Feel free to open the models/seq2seq/config.json to tune some hyperparameters.
mkdir ../models/<your_model_folder> cp ../models/seq2seq/config.json ../models/<your_model_folder>
-
Run the following command to start training.
python train.py ../models/<your_model_folder>/
-
Trained model will saved in the folder models/<your_model_folder>/
-
Notifications
You must be signed in to change notification settings - Fork 0
itsmystyle/autoencoder-interpretation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Interpretation for english autoencoder (seq2seq model).
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published