Closed sudoRicheek closed 1 year ago
same question,today is September 9,the question still no answer
Hi,
The primary model is the same as the one STRAP uses. The instructions to train are here to (a) paraphrase the data, and (b) fine-tune an inverse paraphrase model.
For training the constraint models:
(1) For huggingface-based models (classifiers), you can follow the instructions here (and dataset and hyperparameter details from the paper). (2) For sentence transformer models (similarity models), you can follow the instructions here (by fine-tuning a GPT2 based model).
Hope this helps!
Hi @Sachin19, thanks for your exciting work!
I had some doubts regarding the primary model pretraining. In the paper, it mentioned:
Is there any existing code to pretrain this primary model? Can you point us to it?
If not, are there any pretrained models which we can directly use in: https://github.com/Sachin19/mucoco/blob/054fb3c8f207b71cde6ec41b1a01b0bcf89be4b8/examples/style-transfer/decode_example.sh#L25