textgenrnn icon indicating copy to clipboard operation
textgenrnn copied to clipboard

Generating with context

Open FabianStammen opened this issue 6 years ago • 2 comments

Hey, love the project.

I am trying different things out and thus far everything worked as expected. Now I want to train some models with context labels, but is there a way to provide the the context as parameter when generating texts.

To stay with the examples here, when I have trained my model on "reddit_rarepuppers_politics_2000_context.csv" with the given context, how would I generate a text in the style of "politics" context specifically?

I looked though the code but did not find anything suitable as far as I could tell.

FabianStammen avatar Apr 30 '19 09:04 FabianStammen

I have the same issue, did you have any progress in this direction (generating texts with contexts)

prabalbansal avatar Aug 15 '19 11:08 prabalbansal

train it seperately based on the label

svmihar avatar Jan 29 '20 04:01 svmihar