Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 579 Bytes

readme.md

File metadata and controls

18 lines (9 loc) · 579 Bytes

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