Skip to content

Meaning of 'loss' in QA pairs & why all values are identical #26

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

Closed
Jellyfish042 opened this issue May 13, 2025 · 1 comment
Closed

Comments

@Jellyfish042
Copy link

I'm generating QA pairs and have a question about the 'loss' value:

What does this 'loss' signify for the generated QA pairs?
All my generated QA pairs show the exact same 'loss' value. Is this expected?

Thanks!

@ChenZiHong-Gavin
Copy link
Collaborator

In GraphGen framework, we use ECE(Expected Calibration Error) to assigned a comprehension loss to each knowledge point in the knowledge graph, which quantifies the Trainee Model's understanding level of that concept (i.e., identifying its "blind spots"). This loss aids in structuring subgraphs during generation.

For generated QA pairs, 'loss' is the average comprehension loss of all knowledge points in the subgraph. This metric evaluates how well the Trainee Model comprehends the QA content.

Exception Case:
If the Trainee Model is not used or its deployed service lacks support for retrieving logprob values, the loss will default to a predefined value.

You may try vllm serve with v0.6.6post1 version (see #10).

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