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

ValueError: axes don't match array #12

Open
yidasanqian opened this issue Aug 30, 2024 · 1 comment
Open

ValueError: axes don't match array #12

yidasanqian opened this issue Aug 30, 2024 · 1 comment

Comments

@yidasanqian
Copy link

error:
image

  File "d:\Develop\conda\envs\mkb\lib\site-packages\ragchecker\evaluator.py", line 200, in evaluate
    self.check_claims(results, check_type=requirement)
  File "d:\Develop\conda\envs\mkb\lib\site-packages\ragchecker\evaluator.py", line 152, in check_claims
    checking_results = self.checker.check(
  File "d:\Develop\conda\envs\mkb\lib\site-packages\refchecker\checker\checker_base.py", line 85, in check
    labels = self._check(
  File "d:\Develop\conda\envs\mkb\lib\site-packages\refchecker\checker\llm_checker.py", line 158, in _check
    one_batch_labels = np.array(one_batch_labels).transpose(1, 0)
ValueError: axes don't match array

What's the cause? How do I fix it?

@rudongyu
Copy link
Contributor

rudongyu commented Sep 6, 2024

Could you provide an example of input to reproduce the error?

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