https://github.com/ai-forever/mera

MERA (Multimodal Evaluation for Russian-language Architectures) is a new open benchmark for the Russian language for evaluating fundamental models.

https://github.com/ai-forever/mera

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

MERA (Multimodal Evaluation for Russian-language Architectures) is a new open benchmark for the Russian language for evaluating fundamental models.

Basic Info
  • Host: GitHub
  • Owner: ai-forever
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 8.39 MB
Statistics
  • Stars: 62
  • Watchers: 8
  • Forks: 8
  • Open Issues: 8
  • Releases: 2
Created over 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

WARNING! This is the deprecated version. The new MERA datasets are here and the codebase is here. The old leaderboard is frozen and may be found here. It is no longer accessible for uploading submissions. All new submissions are made following the instructions on new leaderboard.

MERA

MERA

License Release

MERA (Multimodal Evaluation for Russian-language Architectures) is a new open benchmark for the Russian language for evaluating fundamental models.

About MERA

MERA benchmark brings together all industry and academic players in one place to study the capabilities of fundamental models, draw attention to AI problems, develop collaboration within the Russian Federation and in the international arena and create an independent unified system for measuring all current models. This repository is a customized version of original Language Model Evaluation Harness (LM-Harness v0.3.0).

Our contributions to this project are:

  • Instruction-based tasks available on 🤗 HuggingFace dataset card.
  • Customized version of LM-Harness evaluation code for models (v0.3.0).
  • Benchmark website with the Leaderboard and the scoring submission system.
  • Baselines of the open models and Human Benchmark.

The MERA benchmark includes 21 text tasks (17 base tasks + 4 diagnostic tasks). See the task-table for a complete list.

| Name | Task Name | Task Type | Test Size | N-shots | Metrics | | --- | --- | --- | --- | --- | --- | | MathLogicQA | mathlogicqa | Math, Logic | 1143 | 5 | Acc | | MultiQ | multiq | Reasoning | 900 | 0 | EM / F1 | | PARus | parus | Common Sense | 500 | 0 | Acc | | RCB | rcb | NLI | 438 | 0 | Acc / F1macro | | ruModAr | rumodar | Math, Logic | 6000 | 0 | Acc | | ruMultiAr | rumultiar | Math | 1024 | 5 | Acc | | ruOpenBookQA | ruopenbookqa | World Knowledge | 400 | 5 | Acc / F1macro | | ruTiE | rutie | Reasoning, Dialogue Context, Memory | 430 | 0 | Acc | | ruWorldTree | ruworldtree | World Knowledge | 525 | 5 | Acc / F1macro | | RWSD | rwsd | Reasoning | 260 | 0 | Acc | | SimpleAr | simplear | Math | 1000 | 5 | Acc | | BPS | bps | Code, Math | 1000 | 2 | Acc | | CheGeKa | chegeka | World Knowledge | 416 | 4 | EM / F1 | | LCS | lcs | Code, Math | 500 | 2 | Acc | | ruHumanEval | ruhumaneval | Code | 164 | 0 | Pass@k | | ruMMLU | rummlu | Reasoning | 961 | 5 | Acc | | USE | use | Exam | 900 | 0 | Gradenorm | | ruDetox | rudetox | Ethics | 800 | 0 | J(STA, SIM, FL) | | ruEthics | ruethics | Ethics | 1935 | 0 | 5 MCC | | ruHateSpeech | ruhatespeech | Ethics | 265 | 0 | Acc | | ruHHH | ruhhh | Ethics | 178 | 0 | Acc |

Our aim is to evaluate all the models:

  • in the same scenarios;
  • using the same metrics;
  • with the same adaptation strategy (e.g., prompting);
  • provide an opportunity to make controlled and clear comparisons.

MERA is a collaborative project created in a union of industry and academia with the support of all the companies, that are creating the foundation models, to ensure fair and transparent leaderboards for the models evaluation.

We express our gratitude to our team and partners:

SberDevices, Sber AI, Yandex, Skoltech AI, MTS AI, NRU HSE, Russian Academy of Sciences, etc.

Powered by Aliance AI

Contents

The repository has the following structure:

  • examples — the examples of loading and using data.
  • humanbenchmarks — materials and code for human evaluation.
  • modules — the examples of scoring scripts that are used on the website for scoring your submission.
  • lm-evaluation-harness — a framework for few-shot evaluation of language models.

The process of submission is the following:

  • to view the datasets use the HuggingFace preview or run the prepared instruction;
  • clone MERA benchmark repository;
  • to get submission files use shell script and the provided customized lm-harness code (the actual model is not required for submission and evaluation).
  • run your model on the all datasets using the code of lm-harness: the result of the code is the archive in ZIP format for the submission;
  • register on the website;
  • upload the submission files (ZIP) via the platform interface for the automatic assessment.

Note that, the evaluation result is then displayed in the user's account and is kept *private*. Those who want to make their submission results public could use the *''Publish'' function. After validation of the submission is approved, the model's overall score will be shown publicly.* The parameters of the generation, prompts and few-shot/zero-shot are fixed. You can vary them for your own purposes. If you want to submit your results on the public leaderboard check that these parameters are the same and please add the logs. We have to be sure that the scenarios for the models evaluation are the same and reproducible.

We provide the sample submission for you to check the format.

The process of the whole MERA evaluation is described on the Figure:

evaluation setup


📌 It’s the first text version of the benchmark. We are to expand and develop it in the future with new tasks and multimodality.

Feel free to ask any questions regarding our work, write on email mera@a-ai.ru. If you have ideas and new tasks feel free to suggest them, it’s important! If you see any bugs, or you know how to make the code better please suggest the fixes via pull-requests and issues in this official github 🤗. We will be glad to get the feedback in any way.

Cite as

@inproceedings{fenogenova-etal-2024-mera, title = "{MERA}: A Comprehensive {LLM} Evaluation in {R}ussian", author = "Fenogenova, Alena and Chervyakov, Artem and Martynov, Nikita and Kozlova, Anastasia and Tikhonova, Maria and Akhmetgareeva, Albina and Emelyanov, Anton and Shevelev, Denis and Lebedev, Pavel and Sinev, Leonid and Isaeva, Ulyana and Kolomeytseva, Katerina and Moskovskiy, Daniil and Goncharova, Elizaveta and Savushkin, Nikita and Mikhailova, Polina and Minaeva, Anastasia and Dimitrov, Denis and Panchenko, Alexander and Markov, Sergey", editor = "Ku, Lun-Wei and Martins, Andre and Srikumar, Vivek", booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)", month = aug, year = "2024", address = "Bangkok, Thailand", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2024.acl-long.534", doi = "10.18653/v1/2024.acl-long.534", pages = "9920--9948", }

Owner

  • Name: AI Forever
  • Login: ai-forever
  • Kind: organization
  • Location: Armenia

Creating ML for the future. AI projects you already know. We are non-profit organization with members from all over the world.

GitHub Events

Total
  • Issues event: 1
  • Watch event: 3
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 3
  • Fork event: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 15
  • Total pull requests: 13
  • Average time to close issues: 17 days
  • Average time to close pull requests: 9 days
  • Total issue authors: 13
  • Total pull request authors: 7
  • Average comments per issue: 2.47
  • Average comments per pull request: 0.15
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • preduct0r (2)
  • GorbetskiyDmitriy (2)
  • konductor000 (1)
  • thehir0 (1)
  • mizinovmv (1)
  • chorus12 (1)
  • razikov (1)
  • thehumit (1)
  • vlsav (1)
  • kristaller486 (1)
  • JohnConnor123 (1)
  • dmitrymailk (1)
Pull Request Authors
  • LSinev (13)
  • thehir0 (3)
  • Colindonolwe (2)
  • mizinovmv (2)
  • anastasia-kozlova (2)
  • dependabot[bot] (1)
  • meduzick (1)
Top Labels
Issue Labels
good first issue (5) expected behavior (1)
Pull Request Labels
documentation (3) good first issue (1)

Dependencies

lm-evaluation-harness/pyproject.toml pypi
lm-evaluation-harness/requirements.txt pypi
lm-evaluation-harness/setup.py pypi
  • accelerate >=0.17.1
  • datasets >=2.0.0
  • einops *
  • jsonlines *
  • numexpr *
  • omegaconf >=2.2
  • openai >=0.6.4
  • peft >=0.2.0
  • pybind11 >=2.6.2
  • pycountry *
  • pytablewriter *
  • rouge-score >=0.0.4
  • sacrebleu ==1.5.0
  • scikit-learn >=0.24.1
  • sqlitedict *
  • torch >=1.7
  • tqdm-multiprocess *
  • transformers >=4.1
  • zstandard *
modules/scoring/requirements.txt pypi
  • boto3 *
  • omegaconf ==2.0.6
  • scikit-learn ==1.0.2
  • transformers ==4.30.2