- This is the code for ACL2019 student research workshop paper AGPC: Automatic Generation of Personalized Comment Based on User Profile
- Python 3.6
- tensorflow 1.4
python prep_data.py
We provide the sample data in sample_data/sample_data.csv
python train_PCGN.py
All configurations and hyperparameters of the model are in configs/pcgn_config.yaml
python infer_PCGN.py