huggingface / transfer-learning-conv-ai

🦄 State-of-the-Art Conversational AI with Transfer Learning
MIT License
1.74k stars 432 forks source link

Loading same personality every time #45

Closed Abhinav43 closed 5 years ago

Abhinav43 commented 5 years ago

I am running the interact.py and it's loading same personality again and again

"INFO:interact.py:Selected personality: i prefer vinyl records to any other music recording format. i fix airplanes for a living. i drive junk cars that no one else wants. i think if i work hard enough i can fix the world. i am never still."

How to select a random personality every time or between the conversation?

Is the pre-trained model trained on only on one personality?

sshleifer commented 5 years ago

Good catch! Two options: 1) send a pr that deletes the setting of random.seed in interact.py 2) pass a new --seed argument to interact.py when you want a new personality (not how it should be, I acknowledge.)

nihil0 commented 5 years ago

I just opened #47 to fix this.

sshleifer commented 5 years ago

Thanks @nihil0 !