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

Multilingual Reading Comprehension tasks #333

Merged
merged 68 commits into from
Oct 2, 2024
Merged

Multilingual Reading Comprehension tasks #333

merged 68 commits into from
Oct 2, 2024

Conversation

hynky1999
Copy link
Collaborator

Goal

Add RC tasks supporting about 130 unique languages/scripts.

How to test:

lighteval accelerate --output_dir=./tmp --custom_tasks="lighteval.tasks.multilingual.tasks" --tasks="custom|{task}|0|0" --model_args=pretrained=gpt2 --override_batch_size=1 --max_samples=100 --save_details

where task in xquad_eng|0|0 thaiqa_tha|0|0 sber_squad_rus|0|0 arcd_ara|0|0 kenswquad_swa|0|0 chinese_squad_zho|0|0 cmrc2018_zho|0|0 indicqa_hin|0|0 fquadv2_fra|0|0 tquadv2_tur|0|0 tydiqa_eng|0|0 belebele_acm_Arab|0|0

Comments

  • We talked about removing the suite all together. Since right now we use suite I decided to use custom suite. I can switch to multilingual or whatever

Copy link
Member

@clefourrier clefourrier left a comment

Choose a reason for hiding this comment

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

LGTM, a few nits and the same comments as the other PRs (add the arxiv links, a small summary of the tasks, change the suite to lighteval)

hynky1999 and others added 26 commits September 30, 2024 18:21
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
Co-authored-by: Clémentine Fourrier <22726840+clefourrier@users.noreply.github.com>
@hynky1999 hynky1999 changed the base branch from hellaswag_tasks to main October 1, 2024 19:59
@hynky1999 hynky1999 merged commit dd2927a into main Oct 2, 2024
2 checks passed
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