/GPT-Chinese-Summary-Generation

基于GPT2的文本摘要生成

Primary LanguagePython

GPT-Chinese-Summary-Generation

File Structure

├── config
├── data
├── GPT2_NLPCC_Summary
├── gpt_general_big_model
├── LAW_Summary_models
├── logs
├── scripts
├── __init__.py
├── interact.py
├── dataset.py
├── evaluate_by_rouge.py
├── Pytorchtool.py
├── train.py
├── README.md
├── requirements.txt

Train

cd scripts
bash train.sh

Eval

cd scripts
bash evaluate.sh

Interact

cd scripts
bash interact.sh