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

How to interpret negative scores produced by SummaCzs #7

Open
chris-opendata opened this issue Apr 8, 2023 · 2 comments
Open

How to interpret negative scores produced by SummaCzs #7

chris-opendata opened this issue Apr 8, 2023 · 2 comments

Comments

@chris-opendata
Copy link

I got negative scores from SummaCzs model following the example usage with my data. For example, scores look like the following.

        "scores": {
            "for_reference_summary": [
                -0.193,
                -0.746
            ],
            "for_generated_summary": [
                -0.259,
                -0.402
            ]
        },

Is it normal to have negative scores? How can I interpret the negative scores if so?

Thanks

@tingofurro
Copy link
Owner

Hello @chris-opendata,

Yes, SummaC-ZS scores in the default setting range between [-1, 1] as they are calculated as:

P(entail) - P(contradict)

(so the contradict component can be negative).
Optionally, you can set SummaCZS([...], use_con=False) which will remove the second component in the equation above and always return a positive number.

Experiments in the paper did confirm that the scores are slightly improved when considering the difference, rather than either on their own, which is why we chose this setting for the default.

I hope this helps,

Philippe

@chris-opendata
Copy link
Author

Hi Tingofurro,

Thank you for your quick reply and clarification. I will do as you suggested.

Chris

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