martiansideofthemoon / style-transfer-paraphrase

Official code and data repository for our EMNLP 2020 long paper "Reformulating Unsupervised Style Transfer as Paraphrase Generation" (https://arxiv.org/abs/2010.05700).
http://style.cs.umass.edu
MIT License
229 stars 45 forks source link

Style transfer on french text #41

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi,

Would the pytorch model file located in the multilingual folder work for applying the algorithm on french ?

Thank you.

martiansideofthemoon commented 2 years ago

Hi, do you mean for style classification? We have tested style classification on French here - https://github.com/martiansideofthemoon/style-transfer-paraphrase/blob/master/README-multilingual.md

ghost commented 2 years ago

Thanks,I am interested in style paraphrasing on french. Is your program still applicable to this task ?

martiansideofthemoon commented 2 years ago

You will need to re-train the models on French data, and/or use a multilingual initialization like mT5 (https://huggingface.co/docs/transformers/model_doc/mt5).