/NMT_Model

Implement the Google NMT model with good explanation

Primary LanguagePythonApache License 2.0Apache-2.0

NMT_Model

Implement the Google NMT model with good explanation

Usage

create the data
'read_func.py' in './utils' read the Json file and save them, the function supports to load large json files convert string to idx
'preprocess.py' cleans the data and converts string to idx
train the model
'main.py' provides the train and infer process