Source code and datasets for paper: Selling Products by Machine: a User-Sensitive Adversarial Training method for Short Title Generation in Mobile E-Commerce.
Python>=3.5 Tensorflow>=1.8.0 scikit-learn numpy
There are five files in data/
directory.
- click0.csv: Desensitized user-clicked training subdataset.
- click1.csv: Desensitized user-unclicked training subdataset.
- test.csv: Desensitized testing set.
- vocab_gan.txt: Word list by word frequency statistics.
File format of "click0.csv", "click1.csv" and "test.csv":id, item_id, if_click, long_title, short_title, short_title_position_index, user_feature.
- train: run train.py
- test: run tester.py
Paper: Selling Products by Machine: a User-Sensitive Adversarial Training method for Short Title Generation in Mobile E-Commerce