To run this project, clone the repo and execute the following commands:
- Install Anaconda here: https://docs.anaconda.com/anaconda/install/linux/
cd datn
- Create env Anaconda
conda create --name <env> --file <this file>
(requirement.txt) python3 download_data.py
for download data (arxiv, xsum, big_patent,...)python3 preprocess_data.py
Tien xu ly du lieupython3 generate.py
Dua du lieu vao mo hinhpython3 json_to_dict
Chuyen du lieu sinh ra tu dinh dang json sang dictionarypython3 eval.py
Danh gia mo hinh