
Inspired by the HuggingFace Open LLM leaderboard, this project aims to utilize GPT-3.5 to provide German translations for popular LLM benchmarks, enabling researchers and practitioners to evaluate the performance of various language models on tasks using the German language. We follow the HF leaderboard in designing the datasets to be used with the Eleuther AI Language Model Evaluation Harness. By creating these translated benchmarks, we hope to contribute to the advancement of multilingual natural language processing and foster research in the German NLP community.
All translated datasets are made available on HuggingFace:
We are currently providing translations for the four datasets also used in the HuggingFace Open LLM leaderboard:
These datasets are designed to cover a range of tasks and serve as a foundation for evaluating German language models. As the project evolves, we plan to add more benchmarks to further enhance the variety and utility of the available datasets.
Currently, the best way to evaluate a model on these datasets is to use our our clone of the LM Evaluation Harness: https://github.com/bjoernpl/lm-evaluation-harness-de/tree/mmlu_de. Soon, we will also contribute our changes to the original repository.
To evaluate a model on a dataset, follow these steps:
mmlu_de branch:
git clone https://github.com/bjoernpl/lm-evaluation-harness-de/
cd lm-evaluation-harness-de
git checkout mmlu_de
pip install -r requirements.txt
MMLU-DE*, hellaswag_de, arc_challenge_de, truthful_qa_de are the names. Keep in mind, in the LLM leaderboards, the fewshot numbers 5, 10, 25 and 0 are used respectively. The following example runs a Llama-2-7b-hf model on the HellaSwag dataset with a fewshot of 5 on a GPU:
python run.py --model=hf-causal --model_args=llama-2-7b --tasks MMLU-DE* --fewshot 5
python main.py \
--model hf-causal \
--model_args pretrained=meta-llama/Llama-2-7b-hf,dtype=float16 \
--tasks hellaswag_de \
--num_fewshot 10 \
--device cuda:0
For more details see the original LM Evaluation Harness READMEWe translated each dataset independently, as each required specific considerations. The code to reproduce the translations is available in the dataset_translation folder. While a large part of all examples can be successfully translated with clever prompting, manual post-processing was required to fill in the gaps.
This project is licensed under the Apache 2.0 License. However, please note that the original datasets being translated may have their own licenses, so make sure to respect and adhere to them when using the translated benchmarks.
We hope that these translated benchmarks empower the German NLP community and contribute to advancements in multilingual language modeling. Happy coding and researching!
Great thanks to the creators of the original datasets for making them available to the public. Please consider citing the original papers if you use the datasets in your research.
HellaSwag: Can a Machine Really Finish Your Sentence? (Zellers et al. 2019)
@inproceedings{zellers2019hellaswag,
title={HellaSwag: Can a Machine Really Finish Your Sentence?},
author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},
booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
year={2019}
}
TruthfulQA: Measuring How Models Mimic Human Falsehoods (Lin et al. 2021)
@misc{lin2021truthfulqa,
title={TruthfulQA: Measuring How Models Mimic Human Falsehoods},
author={Stephanie Lin and Jacob Hilton and Owain Evans},
year={2021},
eprint={2109.07958},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Measuring Massive Multitask Language Understanding (Hendrycks et al. 2021)
@article{hendryckstest2021,
title={Measuring Massive Multitask Language Understanding},
author={Dan Hendrycks and Collin Burns and Steven Basart and Andy Zou and Mantas Mazeika and Dawn Song and Jacob Steinhardt},
journal={Proceedings of the International Conference on Learning Representations (ICLR)},
year={2021}
}
Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge (Clark et al. 2018)
@article{allenai:arc,
author = {Peter Clark and Isaac Cowhey and Oren Etzioni and Tushar Khot and
Ashish Sabharwal and Carissa Schoenick and Oyvind Tafjord},
title = {Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge},
journal = {arXiv:1803.05457v1},
year = {2018},
}
Disclaimer: This repository is not affiliated with or endorsed by the creators of the original benchmarks.
5 commits
Python
100.0%

Inspired by the HuggingFace Open LLM leaderboard, this project aims to utilize GPT-3.5 to provide German translations for popular LLM benchmarks, enabling researchers and practitioners to evaluate the performance of various language models on tasks using the German language. We follow the HF leaderboard in designing the datasets to be used with the Eleuther AI Language Model Evaluation Harness. By creating these translated benchmarks, we hope to contribute to the advancement of multilingual natural language processing and foster research in the German NLP community.
All translated datasets are made available on HuggingFace:
We are currently providing translations for the four datasets also used in the HuggingFace Open LLM leaderboard:
These datasets are designed to cover a range of tasks and serve as a foundation for evaluating German language models. As the project evolves, we plan to add more benchmarks to further enhance the variety and utility of the available datasets.
Currently, the best way to evaluate a model on these datasets is to use our our clone of the LM Evaluation Harness: https://github.com/bjoernpl/lm-evaluation-harness-de/tree/mmlu_de. Soon, we will also contribute our changes to the original repository.
To evaluate a model on a dataset, follow these steps:
mmlu_de branch:
git clone https://github.com/bjoernpl/lm-evaluation-harness-de/
cd lm-evaluation-harness-de
git checkout mmlu_de
pip install -r requirements.txt
MMLU-DE*, hellaswag_de, arc_challenge_de, truthful_qa_de are the names. Keep in mind, in the LLM leaderboards, the fewshot numbers 5, 10, 25 and 0 are used respectively. The following example runs a Llama-2-7b-hf model on the HellaSwag dataset with a fewshot of 5 on a GPU:
python run.py --model=hf-causal --model_args=llama-2-7b --tasks MMLU-DE* --fewshot 5
python main.py \
--model hf-causal \
--model_args pretrained=meta-llama/Llama-2-7b-hf,dtype=float16 \
--tasks hellaswag_de \
--num_fewshot 10 \
--device cuda:0
For more details see the original LM Evaluation Harness READMEWe translated each dataset independently, as each required specific considerations. The code to reproduce the translations is available in the dataset_translation folder. While a large part of all examples can be successfully translated with clever prompting, manual post-processing was required to fill in the gaps.
This project is licensed under the Apache 2.0 License. However, please note that the original datasets being translated may have their own licenses, so make sure to respect and adhere to them when using the translated benchmarks.
We hope that these translated benchmarks empower the German NLP community and contribute to advancements in multilingual language modeling. Happy coding and researching!
Great thanks to the creators of the original datasets for making them available to the public. Please consider citing the original papers if you use the datasets in your research.
HellaSwag: Can a Machine Really Finish Your Sentence? (Zellers et al. 2019)
@inproceedings{zellers2019hellaswag,
title={HellaSwag: Can a Machine Really Finish Your Sentence?},
author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},
booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
year={2019}
}
TruthfulQA: Measuring How Models Mimic Human Falsehoods (Lin et al. 2021)
@misc{lin2021truthfulqa,
title={TruthfulQA: Measuring How Models Mimic Human Falsehoods},
author={Stephanie Lin and Jacob Hilton and Owain Evans},
year={2021},
eprint={2109.07958},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Measuring Massive Multitask Language Understanding (Hendrycks et al. 2021)
@article{hendryckstest2021,
title={Measuring Massive Multitask Language Understanding},
author={Dan Hendrycks and Collin Burns and Steven Basart and Andy Zou and Mantas Mazeika and Dawn Song and Jacob Steinhardt},
journal={Proceedings of the International Conference on Learning Representations (ICLR)},
year={2021}
}
Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge (Clark et al. 2018)
@article{allenai:arc,
author = {Peter Clark and Isaac Cowhey and Oren Etzioni and Tushar Khot and
Ashish Sabharwal and Carissa Schoenick and Oyvind Tafjord},
title = {Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge},
journal = {arXiv:1803.05457v1},
year = {2018},
}
Disclaimer: This repository is not affiliated with or endorsed by the creators of the original benchmarks.
5 commits
Python
100.0%