stefan-it / turkish-bert

Turkish BERT/DistilBERT, ELECTRA and ConvBERT models
482 stars 42 forks source link

Summarization and Classificaiton fine-tune #12

Closed savasy closed 4 years ago

savasy commented 4 years ago

Hi @stefan-it , is there any training code in transformer repo or else where such as run_glue.py or run_ner.py to fine-tune Turkish-bert model for the summarization and classificaiton problem ?

stefan-it commented 4 years ago

Hi @savasy ,

for text summarization you would need a sequence-to-sequence model architecture, e.g. like the recently introduced BART model: https://arxiv.org/abs/1910.13461

For classification you could modify the run_glue.py script. However, there are simpler ways, like using FARM or simpletransformers :)

savasy commented 4 years ago

Thank you @stefan-it for quick reply.