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

Scoring Dialog using Hugging Face DialoGPT #44

Open
hckh opened this issue Jun 30, 2020 · 1 comment
Open

Scoring Dialog using Hugging Face DialoGPT #44

hckh opened this issue Jun 30, 2020 · 1 comment
Assignees

Comments

@hckh
Copy link

hckh commented Jun 30, 2020

Hi,

I would like to be able to do 2 things that I think should be straight forward, but am having trouble figuring them out in the Hugging Face model.

  1. I would like to provide a prompt, and in addition to returning response produced by the model, I would also like to return the word level score/model probabilities.

  2. I would like to enter a prompt and a response and use DialoGPT to get the word level score/model probabilities of that response (the 'force-decoded' score).

I have tried looking through the Hugging Face documentation, but it seems like different models have different APIs, and I can't quite figure out how to do either of these.

Thanks!

@dreasysnail
Copy link
Contributor

Thanks for your interest! We have release a model for dialog evaluation. Please find the link below
https://github.com/golsun/DialogRPT

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

3 participants