Skip to content

Latest commit

 

History

History
47 lines (24 loc) · 530 Bytes

README.md

File metadata and controls

47 lines (24 loc) · 530 Bytes

Controllable Lexical Simplification for English

Requirements

  • Tested with Python 3.7.5

Step1. Install PyTorch: https://pytorch.org/get-started/locally/

# E.g., Linux, pip, NVidia GPU CUDA 11.7
pip3 install torch torchvision torchaudio

Step2. Install all requirements

pip install -r requirements.txt


Train and Evaluate

python train_and_eval_T5-large.py


Run evaluation using the last trained model

python evaluate.py