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

Use Japanese prompt instead of English for JNLI #110

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

mrorii
Copy link

@mrorii mrorii commented Oct 20, 2023

Overview

This PR replaces the English words entailment, contradiction, and neutral in the prompt for the JNLI task with the Japanese words 含意, 矛盾, and 中立. The purpose behind this is to guarantee that we evaluate the Japanese capability of the language models (and not necessarily English capabilities).

Note that the task version has been bumped from 1.1 to 1.2, since this modifies the task definition.

Details

The following table shows the balanced accuracy for JNLI across several models.
As shown, prior to this PR, many models have a score of 33.33, which is essentially the same as random chance (given that there are 3 classes to choose from). After this PR, none of the models have a score of 33.33.

image

@mrorii mrorii self-assigned this Oct 20, 2023
@mrorii mrorii requested a review from jon-tow as a code owner October 20, 2023 07:51
@mrorii mrorii requested review from mkshing and polm-stability and removed request for jon-tow October 25, 2023 04:44
Copy link

@mkshing mkshing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

Copy link
Collaborator

@polm-stability polm-stability left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! It's interesting to see this really makes a difference in the eval scores.

@mrorii mrorii merged commit d209b9a into jp-stable Oct 25, 2023
1 check passed
@mrorii mrorii deleted the use-japanese-prompt-for-jnli branch October 25, 2023 04:54
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

Successfully merging this pull request may close these issues.

3 participants