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

Add multilingual HellaSwag task #1228

Merged
merged 9 commits into from
Jan 5, 2024
Merged

Conversation

JorgeDeCorte
Copy link
Contributor

Added support for HellaSwag in following languages: ar,bn,ca,da,de,es,eu,fr,gu,hi,hr,hu,hy,id,it,kn,ml,mr,ne,nl,pt,ro,ru,sk,sr,sv,ta,te,uk,vi

@CLAassistant
Copy link

CLAassistant commented Dec 30, 2023

CLA assistant check
All committers have signed the CLA.

@haileyschoelkopf
Copy link
Collaborator

Thanks so much @JorgeDeCorte ! Just one last nitpick re: the hellaswag_yaml.yaml file--it should not end in .yaml extension so that we don't end up registering the template as a task (#1228 (comment)), then good to go!

@haileyschoelkopf
Copy link
Collaborator

haileyschoelkopf commented Jan 4, 2024

I think that the targets for these may need an lstrip() so as to not have extraneous whitespace separating inputs and targets. I'll add this and merge

@haileyschoelkopf haileyschoelkopf merged commit 28bb45f into EleutherAI:main Jan 5, 2024
8 checks passed
wx-zhang pushed a commit to wx-zhang/lm-evaluation-harness that referenced this pull request Jan 18, 2024
* add hellaswag_nl

* add other languages and update readme to hellaswag

* refactor as new task

* update readme

* add endline to yaml files and readme.md

* add group, change folder location and update yaml file

* rename default hellaswag yaml file

* fix whitespace error in some labels

* downgrade log level of whitespace checking

---------

Co-authored-by: JorgeDeCorte <[email protected]>
Co-authored-by: Hailey Schoelkopf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants