Final project in VietAI-NLP02 course
- Create a new
condaenvironment - For
Pytorch, please refer to PyTorch official tutorial to find a suitable cuda version - Run
pip install -r requirements.txt
- Open the
experiment.ipynbnotebook and run the training/evaluating cell with pre-defined parameters
data_processor.py: contain the code to preprocess data and load it into transformers datasetinference.py: contain code to run inferencemetrics.py: contain code to computesacrebleumodels.py: contain code to createmodelandtokenizertrain.py: contain code to traintrainers.py: contain code to create Trainer