This project ia an instance of Natural Language Processing with utilizing the Transformer model.
torch == 1.8.1
torchtext == 0.9.1
python == 3.9
- Transformer.py : constrcut a complete Transformer model
- LABD.py : Load and Batch Data
- runModel.py : running the train_function and evaluate_function
This project is an instance of Natural Language Processing with utilizing the Transformer model. The source code is provided by the url(https://pytorch.org/tutorials/beginner/transformer_tutorial.html). I just made some changes on this basis, if you have any questions about this program, please contact me at: chencarl1994@gmail.com