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

Hallucination metric assigns only either 0.0 or 1.0 score #1145

Open
jmaczan opened this issue Nov 9, 2024 · 1 comment
Open

Hallucination metric assigns only either 0.0 or 1.0 score #1145

jmaczan opened this issue Nov 9, 2024 · 1 comment

Comments

@jmaczan
Copy link

jmaczan commented Nov 9, 2024

Describe the bug
Hallucination metric score is being set to either 0.0 or 1.0. It never sets a score to a value in between of 0.0 and 1.0

To Reproduce
Steps to reproduce the behavior:

  1. Create test cases where actual_output overlaps with context
  2. Use hallucination metric to measure it
  3. Run evaluation
  4. Check hallucination score

Expected behavior
The hallucination score value is a continuous spectrum of real values <0.0; 1.0>

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 11
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 122

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
This problem might be connected with another one (the same test can get 0.0 in one run and 1.0 in another run, despite having the same input values)

@penguine-ip
Copy link
Contributor

Can you provide an example test case that has this behvaior?

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