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).

Home Page:http://style.cs.umass.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't find my fine tuned pytorch model

HassanBinAli opened this issue · comments

I have fine tuned the model on custom dataset using GPT2-medium. But when I run !python demo_paraphraser.py --model_dir style_paraphrase/saved_models/test_paraphrase/checkpoint-10000, it gives
image

could you ls that checkpoint directory and share output? All files should be in this link.

Hey! So I deleted everything (every folder every file) and did all from scratch again. This solved the issue. Every necessary file is there in right folder and the fine tuned model is making predictions. Thank you for you work and help.

great! good luck with your experiments