openai / evals

Evals is a framework for evaluating LLMs and LLM systems, and an open-source registry of benchmarks.
Other
15.09k stars 2.62k forks source link

Added Icelandic QA evaluation data from news texts #1548

Open thorunna opened 3 months ago

thorunna commented 3 months ago

Thank you for contributing an eval! ♥️

🚨 Please make sure your PR follows these guidelines, failure to follow the guidelines below will result in the PR being closed automatically. Note that even if the criteria are met, that does not guarantee the PR will be merged nor GPT-4 access be granted. 🚨

PLEASE READ THIS:

In order for a PR to be merged, it must fail on GPT-4. We are aware that right now, users do not have access, so you will not be able to tell if the eval fails or not. Please run your eval with GPT-3.5-Turbo, but keep in mind as we run the eval, if GPT-4 gets higher than 90% on the eval, we will likely reject it since GPT-4 is already capable of completing the task.

We plan to roll out a way for users submitting evals to see the eval performance on GPT-4 soon. Stay tuned! Until then, you will not be able to see the eval performance on GPT-4. Starting April 10, the minimum eval count is 15 samples, we hope this makes it easier to create and contribute evals.

Also, please note that we're using Git LFS for storing the JSON files, so please make sure that you move the JSON file to Git LFS before submitting a PR. Details on how to use Git LFS are available here.

Eval details 📑

Eval name

icelandic-qa-news – Question answering evaluation dataset for Icelandic created from Icelandic online news

Eval description

The eval contains 100 question and answer pairs on Icelandic culture and history, created from Icelandic online news from a public broadcasting company, RÚV, which are published in the Icelandic Gigaword Corpus. Questions and answers were manually corrected and the eval returns accuracy and F1 scores.

What makes this a useful eval?

This is a good measure of the ability of a model to answer questions on Icelandic culture and history. If a model was trained on these news texts, the eval assesses to which degree the model retains the knowledge, and if a model was not trained on these news texts, the eval shows whether the knowledge is obtained from other sources.

Criteria for a good eval ✅

Below are some of the criteria we look for in a good eval. In general, we are seeking cases where the model does not do a good job despite being capable of generating a good response (note that there are some things large language models cannot do, so those would not make good evals).

Your eval should be:

If there is anything else that makes your eval worth including, please document it below.

Unique eval value

Insert what makes your eval high quality that was not mentioned above. (Not required)

Eval structure 🏗️

Your eval should

(For now, we will only be approving evals that use one of the existing eval classes. You may still write custom eval classes for your own cases, and we may consider merging them in the future.)

Final checklist 👀

Submission agreement

By contributing to Evals, you are agreeing to make your evaluation logic and data under the same MIT license as this repository. You must have adequate rights to upload any data used in an Eval. OpenAI reserves the right to use this data in future service improvements to our product. Contributions to OpenAI Evals will be subject to our usual Usage Policies (https://platform.openai.com/docs/usage-policies).

Email address validation

If your submission is accepted, we will be granting GPT-4 access to a limited number of contributors. Access will be given to the email address associated with the commits on the merged pull request.

Limited availability acknowledgment

We know that you might be excited to contribute to OpenAI's mission, help improve our models, and gain access to GPT-4. However, due to the requirements mentioned above and the high volume of submissions, we will not be able to accept all submissions and thus not grant everyone who opens a PR GPT-4 access. We know this is disappointing, but we hope to set the right expectation before you open this PR.

Submit eval

Failure to fill out all required fields will result in the PR being closed.

Eval JSON data

Since we are using Git LFS, we are asking eval submitters to add in as many Eval Samples (at least 5) from their contribution here:

View evals in JSON ### Eval ``` {"input": [{"role": "system", "content": "Þú ert vandvirk aðstoðarmanneskja. Svaraðu eftirfarandi spurningu með hnitmiðuðu svari."}, {"role": "user", "content": "Hvaða ár voru samþykkt lög á Alþingi um réttarstöðu fólks með kynáttunarvanda?"}], "ideal": "2011."} {"input": [{"role": "system", "content": "Þú ert vandvirk aðstoðarmanneskja. Svaraðu eftirfarandi spurningu með hnitmiðuðu svari."}, {"role": "user", "content": "Hvaða fyrirtæki sameinaðist Office 1 í kjölfar efnahagshrunsins árið 2008?"}], "ideal": "A4."} {"input": [{"role": "system", "content": "Þú ert vandvirk aðstoðarmanneskja. Svaraðu eftirfarandi spurningu með hnitmiðuðu svari."}, {"role": "user", "content": "Hvaða íslenski leikstjóri tók við leikstjórn kvikmyndarinnar Snjókarlinn af Martin Scorsese?"}], "ideal": "Baltasar Kormákur."} {"input": [{"role": "system", "content": "Þú ert vandvirk aðstoðarmanneskja. Svaraðu eftirfarandi spurningu með hnitmiðuðu svari."}, {"role": "user", "content": "Með hvaða hljómsveit varð Gunnar Þór Jónsson frægur á 10. áratug 20. aldar?"}], "ideal": "Sóldögg."} {"input": [{"role": "system", "content": "Þú ert vandvirk aðstoðarmanneskja. Svaraðu eftirfarandi spurningu með hnitmiðuðu svari."}, {"role": "user", "content": "Hvaða ár kom út fyrsta íslenska hljómplatan með íslensku sönglagi?"}], "ideal": "1910."} ```