Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response Quality control #14

Open
chiranshu14 opened this issue Jun 26, 2021 · 1 comment
Open

Response Quality control #14

chiranshu14 opened this issue Jun 26, 2021 · 1 comment

Comments

@chiranshu14
Copy link

Hi,

This is one of the best implementations of a gpt2 bot so far. I tried many, but this is the fastest of all.

I'm currently testing the medium-cpu model for a "Quick response" generation for chat application. It works, but the responses seem to be reddit-inspired. They contain slang language like 'gib' instead of give etc. Can get violent at times.
How can I make it "professional". So that it only gives good responses to be used in business/professional applications?

Thanks!!

@polakowo
Copy link
Owner

The best you can do is to fine tune it on your custom dataset, even a few texts (<100mb) can do a trick. This bot reflects an average discussion on Reddit, and business is not an integral part of it. You can also experiment with the temperature and other params that control creativity, and decrease it to get “normality”. Or penalize shorter responses. Or include a ranker or two to filter out responses that would lead to shorter discussions on Reddit. There are a lot of ways, each having its own pros and cons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants