Skip to content

( ACL 2019 ) “Automatic Generation of Personalized Comment Based on User Profile“

Notifications You must be signed in to change notification settings

Walleclipse/AGPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Generation of Personalized Comment Based on User Profile

Requirements

  • Python 3.5
  • tensorflow 1.4

Preprocessing

python prep_data.py 

We provide the sample data in sample_data/sample_data.csv


Training

python train_PCGN.py

All configurations and hyperparameters of the model are in configs/pcgn_config.yaml


Inference and Evaluation

python infer_PCGN.py

Citing this work

Please kindly cite our paper if this paper or the code are helpful.

@article{zeng2019automatic,
  title={Automatic Generation of Personalized Comment Based on User Profile},
  author={Zeng, Wenhuan and Abuduweili, Abulikemu and Li, Lei and Yang, Pengcheng},
  journal={ACL 2019},
  pages={229},
  year={2019}
}

About

( ACL 2019 ) “Automatic Generation of Personalized Comment Based on User Profile“

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages