NVIDIA-NeMo / NVIDIA-NeMo/Guardrails

AlignScore factcheck.co is not working when accuracy is lower than threshold

Open
#736 0 comments 0 reactions 1 assignee View on GitHub

@Pouyanpi is already working on this.

Since Sep 14, 2024.

bug
Dominant language
Python
Stars
7.2k
Forks
842
Avg merge
3d 1h
Merged PRs (30d)
25

Description

How to reproduce the issue?

  1. setup AlignScore server and use large model

  2. Reference Configuration: https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/examples/configs/rag/fact_checking
    config:
    Image

    rails:
    factcheck.co and
    general.co

Who could help?
@drazvan

Description

Hi
I tried out the whole setup, and it seemed work well initially. I got an successful testing result by making bot to use "inform answer unknown" when the accuracy from AlignScore was lower than 0.4.

However, when I tried to adjust factcheck.co to have different bot response, it's not working as expected.
For example, I changed the threshold to make the Bot to use "inform answer potentially inaccurate" as follows, but I still got "inform answer unknown" even the score is above 0.4.

Does one who could provide some tips to better address this issue?

Image

Image

here is what I found in colag_history

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.