Skip to content
/ SRB Public

Code for "Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization"

Notifications You must be signed in to change notification settings

lancopku/SRB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Relevance Based Text Summarization Model

Code for "Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization" The codes are also used for "A Semantic Relevance Based Neural Network for Text Summarization and Text Simplification"

Requirements

  • Tensorflow r1.0.1
  • Python 3.5
  • CUDA 8.0 (For GPU)
  • ROUGE

Data

The dataset in the paper is Large Scale Chinese Short Text Summarization (LCSTS). To preprocess the data, please split the sentences into characters, and transform the characters into numbers (ids).

Run

python3 MleTrain.py

Cite

If you use this code for your research, please cite the paper this code is based on: Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization:

@inproceedings{MaEA2017,
	author    = {Shuming Ma and Xu Sun and Jingjing Xu and Houfeng Wang and Wenjie Li and Qi Su},
	title     = {Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization},
	booktitle = {Proceedings of the 55th Annual Meeting of the Association for Computational
	Linguistics, {ACL} 2017, Vancouver, Canada, July 30 - August 4, Volume
	2: Short Papers},
	pages     = {635--640},
	year      = {2017}
}

About

Code for "Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages