Skip to content
/ SOTitle Public

code and data for paper "SOTitle: A Transformer-based Post Title Generation Approach for Stack Overflow", which accepted in SANER 2022

License

Notifications You must be signed in to change notification settings

NTDXYG/SOTitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The source code and dataset for "SOTitle: A Transformer-based Post Title Generation Approach for Stack Overflow"

model

Our pretrained model has released on huggingface. https://huggingface.co/NTUYG/SOTitle-Gen-T5

How to train

just modify the settings and run train.py

when we train, we fouce the 'Rouge-L' implemented by 'nlg-eval'(https://github.com/Maluuba/nlg-eval)

when we evaluate, we use the 'rouge'(https://github.com/pltrdy/rouge) to compute the 'Recall' in the Rouge-1, Rouge-2, and Rouge-L

How to use

the demo can be found in gen.py

About

code and data for paper "SOTitle: A Transformer-based Post Title Generation Approach for Stack Overflow", which accepted in SANER 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages