Table of Contents
- The actually first project AI that I created from scratch (From Data Processing to Create Model, Train & Evalute, ...)
- This project is created to test multiple Model Seq2Seq on the same dataset
- Statuse: Finished. The project is ready, just the code base right now is very messy.
- Now avaiable:
- Encoder (Bi-GRU) -> Decoder (GRU)
- Encoder (Bi-GRU) -> Attention -> Decoder (GRU)
- Transformer
- Language: Python 3.9.12
- Framework: PyTorch 1.9.0+cu102
- Required Libraries:
- numpy 1.23.1
- nltk 3.7
- matplotlib 3.5.2
- pandas 1.5.1
- underthesea 1.3.5
- Source: Kaggle
- Already downloaded in
datafolder
python main.py -h
python main.py -d
python main.py -t -m model_name
Please replace model_name with the following:
gru: Encoder (Bi-GRU) -> Decoder (GRU)attention: Encoder (Bi-GRU) -> Attention -> Decoder (GRU)transformer: Transformer-m model_nameis not required, if blank, default togru
python main.py -e -m model_name
Replace model_name like above.
python main.py -a
This only works with attention model