How do I generate text with prompts from custom trained data?
I have tried
my_corpus = './3cleewh.txt' # path to corpus
gpt2.finetune(my_corpus)
prompts = [
"What do you think of the taxi driver?",
]
text = gpt2.generate_batch_from_prompts(prompts)
print (text)
But I think this generates text from its own corpus instead of mine.
Thank you.
Edit: I tried replacing the files in 345M folder with my custom trained files, but the same problem occurs.
How do I generate text with prompts from custom trained data?
I have tried
But I think this generates text from its own corpus instead of mine. Thank you.
Edit: I tried replacing the files in 345M folder with my custom trained files, but the same problem occurs.