Unverified Commit da211969 authored by Jess's avatar Jess Committed by GitHub
Browse files

Merge branch 'EleutherAI:main' into main

parents 1b97e487 801322e0
"dataset_name": "reasoning_about_colored_objects"
"description": "Answer extremely simple questions about the colors of objects on a surface.\n\n"
"doc_to_text": "Q: On the nightstand, there is a red pencil, a purple mug, a burgundy keychain, a fuchsia teddy bear, a black plate, and a blue stress ball. What color is the stress ball?\nOptions:\n(A) red\n(B) orange\n(C) yellow\n(D) green\n(E) blue\n(F) brown\n(G) magenta\n(H) fuchsia\n(I) mauve\n(J) teal\n(K) turquoise\n(L) burgundy\n(M) silver\n(N) gold\n(O) black\n(P) grey\n(Q) purple\n(R) pink\nA: (E)\n\nQ: On the table, you see a bunch of objects arranged in a row: a purple paperclip, a pink stress ball, a brown keychain, a green scrunchiephone charger, a mauve fidget spinner, and a burgundy pen. What is the color of the object directly to the right of the stress ball?\nOptions:\n(A) red\n(B) orange\n(C) yellow\n(D) green\n(E) blue\n(F) brown\n(G) magenta\n(H) fuchsia\n(I) mauve\n(J) teal\n(K) turquoise\n(L) burgundy\n(M) silver\n(N) gold\n(O) black\n(P) grey\n(Q) purple\n(R) pink\nA: (F)\n\nQ: On the nightstand, you see the following items arranged in a row: a teal plate, a burgundy keychain, a yellow scrunchiephone charger, an orange mug, a pink notebook, and a grey cup. How many non-orange items do you see to the left of the teal item?\nOptions:\n(A) zero\n(B) one\n(C) two\n(D) three\n(E) four\n(F) five\n(G) six\nA: (A)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_reasoning_about_colored_objects"
dataset_name: reasoning_about_colored_objects
description: 'Answer extremely simple questions about the colors of objects on a surface.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'On the nightstand, there is a red pencil, a purple mug, a burgundy keychain,
a fuchsia teddy bear, a black plate, and a blue stress ball. What color is the
stress ball?
Options:
(A) red
(B) orange
(C) yellow
(D) green
(E) blue
(F) brown
(G) magenta
(H) fuchsia
(I) mauve
(J) teal
(K) turquoise
(L) burgundy
(M) silver
(N) gold
(O) black
(P) grey
(Q) purple
(R) pink'
target: (E)
- input: 'On the table, you see a bunch of objects arranged in a row: a purple paperclip,
a pink stress ball, a brown keychain, a green scrunchiephone charger, a mauve
fidget spinner, and a burgundy pen. What is the color of the object directly
to the right of the stress ball?
Options:
(A) red
(B) orange
(C) yellow
(D) green
(E) blue
(F) brown
(G) magenta
(H) fuchsia
(I) mauve
(J) teal
(K) turquoise
(L) burgundy
(M) silver
(N) gold
(O) black
(P) grey
(Q) purple
(R) pink'
target: (F)
- input: 'On the nightstand, you see the following items arranged in a row: a teal
plate, a burgundy keychain, a yellow scrunchiephone charger, an orange mug,
a pink notebook, and a grey cup. How many non-orange items do you see to the
left of the teal item?
Options:
(A) zero
(B) one
(C) two
(D) three
(E) four
(F) five
(G) six'
target: (A)
include: _fewshot_template_yaml
task: bbh_fewshot_reasoning_about_colored_objects
"dataset_name": "ruin_names"
"description": "Select the humorous edit that 'ruins' the input movie or musical artist name.\n\n"
"doc_to_text": "Q: Which of the following is a humorous edit of this artist or movie name: 'whitesnake'?\nOptions:\n(A) whitesnape\n(B) whitesnapke\n(C) whitesnuake\n(D) mwhitesnake\nA: (A)\n\nQ: Which of the following is a humorous edit of this artist or movie name: 'one of our dinosaurs is missing'?\nOptions:\n(A) ofne of our dinosaurs is missing\n(B) one af our dinosaurs is missing\n(C) one of our dinosaurs is pissing\n(D) one of our dinosaur is missing\nA: (C)\n\nQ: Which of the following is a humorous edit of this artist or movie name: 'counting crows'?\nOptions:\n(A) countingy crows\n(B) counting cows\n(C) courting crows\n(D) coutnting crows\nA: (B)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_ruin_names"
dataset_name: ruin_names
description: 'Select the humorous edit that ''ruins'' the input movie or musical artist
name.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Which of the following is a humorous edit of this artist or movie name:
''whitesnake''?
Options:
(A) whitesnape
(B) whitesnapke
(C) whitesnuake
(D) mwhitesnake'
target: (A)
- input: 'Which of the following is a humorous edit of this artist or movie name:
''one of our dinosaurs is missing''?
Options:
(A) ofne of our dinosaurs is missing
(B) one af our dinosaurs is missing
(C) one of our dinosaurs is pissing
(D) one of our dinosaur is missing'
target: (C)
- input: 'Which of the following is a humorous edit of this artist or movie name:
''counting crows''?
Options:
(A) countingy crows
(B) counting cows
(C) courting crows
(D) coutnting crows'
target: (B)
include: _fewshot_template_yaml
task: bbh_fewshot_ruin_names
"dataset_name": "salient_translation_error_detection"
"description": "Detect the type of error in an English translation of a German source sentence.\n\n"
"doc_to_text": "Q: The following translations from German to English contain a particular error. That error will be one of the following types: Named Entities: An entity (names, places, locations, etc.) is changed to a different entity. Numerical Values: Numerical values (ordinals or cardinals), dates, and/or units are changed. Modifiers or Adjectives: The modifiers and adjectives pertaining to a noun are changed. Negation or Antonyms: Introduce or remove a negation or change comparatives to their antonyms. Facts: Trivial factual errors not pertaining to the above classes are introduced in the translations. Dropped Content: A significant clause in the translation is removed. Please identify that error. Source: In der Liste der Baudenkmale in Lenzen (Elbe) sind alle Baudenkmale der brandenburgischen Stadt Lenzen (Elbe) und ihrer Ortsteile aufgelistet.\nTranslation: In the list of architectural monuments in Lenzen all architectural monuments of the Brandenburg city of Lenzen and its districts are listed.\nThe translation contains an error pertaining to\nOptions:\n(A) Modifiers or Adjectives\n(B) Numerical Values\n(C) Negation or Antonyms\n(D) Named Entities\n(E) Dropped Content\n(F) Facts\nA: (D)\n\nQ: The following translations from German to English contain a particular error. That error will be one of the following types: Named Entities: An entity (names, places, locations, etc.) is changed to a different entity. Numerical Values: Numerical values (ordinals or cardinals), dates, and/or units are changed. Modifiers or Adjectives: The modifiers and adjectives pertaining to a noun are changed. Negation or Antonyms: Introduce or remove a negation or change comparatives to their antonyms. Facts: Trivial factual errors not pertaining to the above classes are introduced in the translations. Dropped Content: A significant clause in the translation is removed. Please identify that error. Source: Auf dieser Seite sind die Baudenkmäler der oberbayerischen Großen Kreisstadt Landsberg am Lech zusammengestellt.\nTranslation: On this page are compiled the architectural monuments of the town of Landsberg am Lech.\nThe translation contains an error pertaining to\nOptions:\n(A) Modifiers or Adjectives\n(B) Numerical Values\n(C) Negation or Antonyms\n(D) Named Entities\n(E) Dropped Content\n(F) Facts\nA: (E)\n\nQ: The following translations from German to English contain a particular error. That error will be one of the following types: Named Entities: An entity (names, places, locations, etc.) is changed to a different entity. Numerical Values: Numerical values (ordinals or cardinals), dates, and/or units are changed. Modifiers or Adjectives: The modifiers and adjectives pertaining to a noun are changed. Negation or Antonyms: Introduce or remove a negation or change comparatives to their antonyms. Facts: Trivial factual errors not pertaining to the above classes are introduced in the translations. Dropped Content: A significant clause in the translation is removed. Please identify that error. Source: Łeba ist eine Kleinstadt und ein Badeort im Powiat Lęborski der polnischen Woiwodschaft Pommern.\nTranslation: Eba is not a small town and seaside resort in the Powiat Léborski county of the Pomeranian Voivodeship of Poland.\nThe translation contains an error pertaining to\nOptions:\n(A) Modifiers or Adjectives\n(B) Numerical Values\n(C) Negation or Antonyms\n(D) Named Entities\n(E) Dropped Content\n(F) Facts\nA: (C)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_salient_translation_error_detection"
dataset_name: salient_translation_error_detection
description: 'Detect the type of error in an English translation of a German source
sentence.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'The following translations from German to English contain a particular
error. That error will be one of the following types: Named Entities: An entity
(names, places, locations, etc.) is changed to a different entity. Numerical
Values: Numerical values (ordinals or cardinals), dates, and/or units are changed.
Modifiers or Adjectives: The modifiers and adjectives pertaining to a noun are
changed. Negation or Antonyms: Introduce or remove a negation or change comparatives
to their antonyms. Facts: Trivial factual errors not pertaining to the above
classes are introduced in the translations. Dropped Content: A significant clause
in the translation is removed. Please identify that error. Source: In der Liste
der Baudenkmale in Lenzen (Elbe) sind alle Baudenkmale der brandenburgischen
Stadt Lenzen (Elbe) und ihrer Ortsteile aufgelistet.
Translation: In the list of architectural monuments in Lenzen all architectural
monuments of the Brandenburg city of Lenzen and its districts are listed.
The translation contains an error pertaining to
Options:
(A) Modifiers or Adjectives
(B) Numerical Values
(C) Negation or Antonyms
(D) Named Entities
(E) Dropped Content
(F) Facts'
target: (D)
- input: "The following translations from German to English contain a particular\
\ error. That error will be one of the following types: Named Entities: An entity\
\ (names, places, locations, etc.) is changed to a different entity. Numerical\
\ Values: Numerical values (ordinals or cardinals), dates, and/or units are\
\ changed. Modifiers or Adjectives: The modifiers and adjectives pertaining\
\ to a noun are changed. Negation or Antonyms: Introduce or remove a negation\
\ or change comparatives to their antonyms. Facts: Trivial factual errors not\
\ pertaining to the above classes are introduced in the translations. Dropped\
\ Content: A significant clause in the translation is removed. Please identify\
\ that error. Source: Auf dieser Seite sind die Baudenkm\xE4ler der oberbayerischen\
\ Gro\xDFen Kreisstadt Landsberg am Lech zusammengestellt.\nTranslation: On\
\ this page are compiled the architectural monuments of the town of Landsberg\
\ am Lech.\nThe translation contains an error pertaining to\nOptions:\n(A) Modifiers\
\ or Adjectives\n(B) Numerical Values\n(C) Negation or Antonyms\n(D) Named Entities\n\
(E) Dropped Content\n(F) Facts"
target: (E)
- input: "The following translations from German to English contain a particular\
\ error. That error will be one of the following types: Named Entities: An entity\
\ (names, places, locations, etc.) is changed to a different entity. Numerical\
\ Values: Numerical values (ordinals or cardinals), dates, and/or units are\
\ changed. Modifiers or Adjectives: The modifiers and adjectives pertaining\
\ to a noun are changed. Negation or Antonyms: Introduce or remove a negation\
\ or change comparatives to their antonyms. Facts: Trivial factual errors not\
\ pertaining to the above classes are introduced in the translations. Dropped\
\ Content: A significant clause in the translation is removed. Please identify\
\ that error. Source: \u0141eba ist eine Kleinstadt und ein Badeort im Powiat\
\ L\u0119borski der polnischen Woiwodschaft Pommern.\nTranslation: Eba is not\
\ a small town and seaside resort in the Powiat L\xE9borski county of the Pomeranian\
\ Voivodeship of Poland.\nThe translation contains an error pertaining to\n\
Options:\n(A) Modifiers or Adjectives\n(B) Numerical Values\n(C) Negation or\
\ Antonyms\n(D) Named Entities\n(E) Dropped Content\n(F) Facts"
target: (C)
include: _fewshot_template_yaml
task: bbh_fewshot_salient_translation_error_detection
"dataset_name": "snarks"
"description": "Determine which of two sentences is sarcastic.\n\nAccording to Cambridge University Dictionary, sarcasm is \"the use of remarks that clearly mean the opposite of what they say, made in order to hurt someone's feelings or to criticize something in a humorous way.\" Sarcastic sentences often contain satirical or ironic utterances, hyperboles, ambivalent or witty remarks.\n\n"
"doc_to_text": "Q: Which statement is sarcastic?\nOptions:\n(A) Yes, because having interests and actively researching them is a huge waste\n(B) Yes, because having interests and actively researching them is a huge deal\nA: (A)\n\nQ: Which statement is sarcastic?\nOptions:\n(A) No one is going to disagree with you on this. Avoiding ad hominem attacks really help your case\n(B) No one is going to disagree with you on this. Ad hominem attacks really help your case\nA: (B)\n\nQ: Which statement is sarcastic?\nOptions:\n(A) Consistency in the league's punishments? What do you think this is supposed to be, politics?\n(B) Consistency in the league's punishments? What do you think this is supposed to be, moral?\nA: (A)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_snarks"
dataset_name: snarks
description: 'Determine which of two sentences is sarcastic.
According to Cambridge University Dictionary, sarcasm is "the use of remarks that
clearly mean the opposite of what they say, made in order to hurt someone''s feelings
or to criticize something in a humorous way." Sarcastic sentences often contain
satirical or ironic utterances, hyperboles, ambivalent or witty remarks.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Which statement is sarcastic?
Options:
(A) Yes, because having interests and actively researching them is a huge waste
(B) Yes, because having interests and actively researching them is a huge deal'
target: (A)
- input: 'Which statement is sarcastic?
Options:
(A) No one is going to disagree with you on this. Avoiding ad hominem attacks
really help your case
(B) No one is going to disagree with you on this. Ad hominem attacks really
help your case'
target: (B)
- input: 'Which statement is sarcastic?
Options:
(A) Consistency in the league''s punishments? What do you think this is supposed
to be, politics?
(B) Consistency in the league''s punishments? What do you think this is supposed
to be, moral?'
target: (A)
include: _fewshot_template_yaml
task: bbh_fewshot_snarks
"dataset_name": "sports_understanding"
"description": "Determine whether an artificially constructed sentence relating to sports is plausible or not.\n\n"
"doc_to_text": "Q: Is the following sentence plausible? \"Bam Adebayo scored a reverse layup in the Western Conference Finals.\"\nA: yes\n\nQ: Is the following sentence plausible? \"Santi Cazorla scored a touchdown.\"\nA: no\n\nQ: Is the following sentence plausible? \"DeMar DeRozan was called for the goal tend.\"\nA: yes\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_sports_understanding"
dataset_name: sports_understanding
description: 'Determine whether an artificially constructed sentence relating to sports
is plausible or not.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: Is the following sentence plausible? "Bam Adebayo scored a reverse layup
in the Western Conference Finals."
target: 'yes'
- input: Is the following sentence plausible? "Santi Cazorla scored a touchdown."
target: 'no'
- input: Is the following sentence plausible? "DeMar DeRozan was called for the
goal tend."
target: 'yes'
include: _fewshot_template_yaml
task: bbh_fewshot_sports_understanding
"dataset_name": "temporal_sequences"
"description": "Task description: Answer questions about which times certain events could have occurred.\n\n"
"doc_to_text": "Q: Today, Emily went to the museum. Between what times could they have gone?\nWe know that:\nEmily woke up at 1pm.\nElizabeth saw Emily reading at the library from 2pm to 4pm.\nJessica saw Emily watching a movie at the theater from 4pm to 5pm.\nLeslie saw Emily waiting at the airport from 5pm to 6pm.\nWilliam saw Emily buying clothes at the mall from 6pm to 7pm.\nThe museum was closed after 7pm.\nBetween what times could Emily have gone to the museum?\nOptions:\n(A) 1pm to 2pm\n(B) 6pm to 7pm\n(C) 5pm to 6pm\n(D) 2pm to 4pm\nA: (A)\n\nQ: Today, Elizabeth went to the amusement park. Between what times could they have gone?\nWe know that:\nElizabeth woke up at 7am.\nDavid saw Elizabeth fixing their computer at the electronic store from 1pm to 2pm.\nSarah saw Elizabeth playing tennis at the tennis court from 2pm to 3pm.\nSusan saw Elizabeth walking towards the Statue of Liberty from 3pm to 6pm.\nAndrew saw Elizabeth taking photos near the Eiffel Tower from 6pm to 9pm.\nEmily saw Elizabeth getting a coffee at the cafe from 9pm to 10pm.\nThe amusement park was closed after 10pm.\nBetween what times could Elizabeth have gone to the amusement park?\nOptions:\n(A) 7am to 1pm\n(B) 9pm to 10pm\n(C) 1pm to 2pm\n(D) 3pm to 6pm\nA: (A)\n\nQ: Today, Tiffany went to the beach. Between what times could they have gone?\nWe know that:\nTiffany woke up at 5am.\nBetty saw Tiffany getting a coffee at the cafe from 5am to 6am.\nJessica saw Tiffany working at the office from 6am to 9am.\nJohn saw Tiffany stretching at a yoga studio from 9am to 12pm.\nSean saw Tiffany sitting on a rooftop from 12pm to 2pm.\nSarah saw Tiffany playing tennis at the tennis court from 2pm to 3pm.\nThe beach was closed after 4pm.\nBetween what times could Tiffany have gone to the beach?\nOptions:\n(A) 9am to 12pm\n(B) 12pm to 2pm\n(C) 5am to 6am\n(D) 3pm to 4pm\nA: (D)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_temporal_sequences"
dataset_name: temporal_sequences
description: 'Task description: Answer questions about which times certain events
could have occurred.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Today, Emily went to the museum. Between what times could they have gone?
We know that:
Emily woke up at 1pm.
Elizabeth saw Emily reading at the library from 2pm to 4pm.
Jessica saw Emily watching a movie at the theater from 4pm to 5pm.
Leslie saw Emily waiting at the airport from 5pm to 6pm.
William saw Emily buying clothes at the mall from 6pm to 7pm.
The museum was closed after 7pm.
Between what times could Emily have gone to the museum?
Options:
(A) 1pm to 2pm
(B) 6pm to 7pm
(C) 5pm to 6pm
(D) 2pm to 4pm'
target: (A)
- input: 'Today, Elizabeth went to the amusement park. Between what times could
they have gone?
We know that:
Elizabeth woke up at 7am.
David saw Elizabeth fixing their computer at the electronic store from 1pm to
2pm.
Sarah saw Elizabeth playing tennis at the tennis court from 2pm to 3pm.
Susan saw Elizabeth walking towards the Statue of Liberty from 3pm to 6pm.
Andrew saw Elizabeth taking photos near the Eiffel Tower from 6pm to 9pm.
Emily saw Elizabeth getting a coffee at the cafe from 9pm to 10pm.
The amusement park was closed after 10pm.
Between what times could Elizabeth have gone to the amusement park?
Options:
(A) 7am to 1pm
(B) 9pm to 10pm
(C) 1pm to 2pm
(D) 3pm to 6pm'
target: (A)
- input: 'Today, Tiffany went to the beach. Between what times could they have gone?
We know that:
Tiffany woke up at 5am.
Betty saw Tiffany getting a coffee at the cafe from 5am to 6am.
Jessica saw Tiffany working at the office from 6am to 9am.
John saw Tiffany stretching at a yoga studio from 9am to 12pm.
Sean saw Tiffany sitting on a rooftop from 12pm to 2pm.
Sarah saw Tiffany playing tennis at the tennis court from 2pm to 3pm.
The beach was closed after 4pm.
Between what times could Tiffany have gone to the beach?
Options:
(A) 9am to 12pm
(B) 12pm to 2pm
(C) 5am to 6am
(D) 3pm to 4pm'
target: (D)
include: _fewshot_template_yaml
task: bbh_fewshot_temporal_sequences
"dataset_name": "tracking_shuffled_objects_five_objects"
"description": "A task requiring determining the final positions of a set of objects given their initial positions and a description of a sequence of swaps.\n\n"
"doc_to_text": "Q: Alice, Bob, and Claire are playing a game. At the start of the game, they are each holding a ball: Alice has a yellow ball, Bob has a blue ball, and Claire has a pink ball.\nAs the game progresses, pairs of players trade balls. First, Claire and Alice swap balls. Then, Alice and Bob swap balls. Finally, Claire and Bob swap balls. At the end of the game, Bob has the\nOptions:\n(A) yellow ball\n(B) blue ball\n(C) pink ball\nA: (A)\n\nQ: Alice, Bob, and Claire are playing a game. At the start of the game, they are each holding a ball: Alice has a white ball, Bob has a purple ball, and Claire has a pink ball.\nAs the game progresses, pairs of players trade balls. First, Bob and Alice swap balls. Then, Bob and Claire swap balls. Finally, Bob and Alice swap balls. At the end of the game, Alice has the\nOptions:\n(A) white ball\n(B) purple ball\n(C) pink ball\nA: (C)\n\nQ: Alice, Bob, and Claire are dancers at a square dance. At the start of a song, they each have a partner: Alice is dancing with Lola, Bob is dancing with Rodrigo, and Claire is dancing with Patrick.\nThroughout the song, the dancers often trade partners. First, Alice and Bob switch partners. Then, Claire and Bob switch partners. Finally, Bob and Alice switch partners. At the end of the dance, Alice is dancing with\nOptions:\n(A) Lola\n(B) Rodrigo\n(C) Patrick\nA: (C)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_tracking_shuffled_objects_five_objects"
dataset_name: tracking_shuffled_objects_five_objects
description: 'A task requiring determining the final positions of a set of objects
given their initial positions and a description of a sequence of swaps.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Alice, Bob, and Claire are playing a game. At the start of the game, they
are each holding a ball: Alice has a yellow ball, Bob has a blue ball, and Claire
has a pink ball.
As the game progresses, pairs of players trade balls. First, Claire and Alice
swap balls. Then, Alice and Bob swap balls. Finally, Claire and Bob swap balls.
At the end of the game, Bob has the
Options:
(A) yellow ball
(B) blue ball
(C) pink ball'
target: (A)
- input: 'Alice, Bob, and Claire are playing a game. At the start of the game, they
are each holding a ball: Alice has a white ball, Bob has a purple ball, and
Claire has a pink ball.
As the game progresses, pairs of players trade balls. First, Bob and Alice swap
balls. Then, Bob and Claire swap balls. Finally, Bob and Alice swap balls. At
the end of the game, Alice has the
Options:
(A) white ball
(B) purple ball
(C) pink ball'
target: (C)
- input: 'Alice, Bob, and Claire are dancers at a square dance. At the start of
a song, they each have a partner: Alice is dancing with Lola, Bob is dancing
with Rodrigo, and Claire is dancing with Patrick.
Throughout the song, the dancers often trade partners. First, Alice and Bob
switch partners. Then, Claire and Bob switch partners. Finally, Bob and Alice
switch partners. At the end of the dance, Alice is dancing with
Options:
(A) Lola
(B) Rodrigo
(C) Patrick'
target: (C)
include: _fewshot_template_yaml
task: bbh_fewshot_tracking_shuffled_objects_five_objects
"dataset_name": "tracking_shuffled_objects_seven_objects"
"description": "A task requiring determining the final positions of a set of objects given their initial positions and a description of a sequence of swaps.\n\n"
"doc_to_text": "Q: Alice, Bob, and Claire are playing a game. At the start of the game, they are each holding a ball: Alice has a yellow ball, Bob has a blue ball, and Claire has a pink ball.\nAs the game progresses, pairs of players trade balls. First, Claire and Alice swap balls. Then, Alice and Bob swap balls. Finally, Claire and Bob swap balls. At the end of the game, Bob has the\nOptions:\n(A) yellow ball\n(B) blue ball\n(C) pink ball\nA: (A)\n\nQ: Alice, Bob, and Claire are playing a game. At the start of the game, they are each holding a ball: Alice has a white ball, Bob has a purple ball, and Claire has a pink ball.\nAs the game progresses, pairs of players trade balls. First, Bob and Alice swap balls. Then, Bob and Claire swap balls. Finally, Bob and Alice swap balls. At the end of the game, Alice has the\nOptions:\n(A) white ball\n(B) purple ball\n(C) pink ball\nA: (C)\n\nQ: Alice, Bob, and Claire are dancers at a square dance. At the start of a song, they each have a partner: Alice is dancing with Lola, Bob is dancing with Rodrigo, and Claire is dancing with Patrick.\nThroughout the song, the dancers often trade partners. First, Alice and Bob switch partners. Then, Claire and Bob switch partners. Finally, Bob and Alice switch partners. At the end of the dance, Alice is dancing with\nOptions:\n(A) Lola\n(B) Rodrigo\n(C) Patrick\nA: (C)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_tracking_shuffled_objects_seven_objects"
dataset_name: tracking_shuffled_objects_seven_objects
description: 'A task requiring determining the final positions of a set of objects
given their initial positions and a description of a sequence of swaps.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Alice, Bob, and Claire are playing a game. At the start of the game, they
are each holding a ball: Alice has a yellow ball, Bob has a blue ball, and Claire
has a pink ball.
As the game progresses, pairs of players trade balls. First, Claire and Alice
swap balls. Then, Alice and Bob swap balls. Finally, Claire and Bob swap balls.
At the end of the game, Bob has the
Options:
(A) yellow ball
(B) blue ball
(C) pink ball'
target: (A)
- input: 'Alice, Bob, and Claire are playing a game. At the start of the game, they
are each holding a ball: Alice has a white ball, Bob has a purple ball, and
Claire has a pink ball.
As the game progresses, pairs of players trade balls. First, Bob and Alice swap
balls. Then, Bob and Claire swap balls. Finally, Bob and Alice swap balls. At
the end of the game, Alice has the
Options:
(A) white ball
(B) purple ball
(C) pink ball'
target: (C)
- input: 'Alice, Bob, and Claire are dancers at a square dance. At the start of
a song, they each have a partner: Alice is dancing with Lola, Bob is dancing
with Rodrigo, and Claire is dancing with Patrick.
Throughout the song, the dancers often trade partners. First, Alice and Bob
switch partners. Then, Claire and Bob switch partners. Finally, Bob and Alice
switch partners. At the end of the dance, Alice is dancing with
Options:
(A) Lola
(B) Rodrigo
(C) Patrick'
target: (C)
include: _fewshot_template_yaml
task: bbh_fewshot_tracking_shuffled_objects_seven_objects
"dataset_name": "tracking_shuffled_objects_three_objects"
"description": "A task requiring determining the final positions of a set of objects given their initial positions and a description of a sequence of swaps.\n\n"
"doc_to_text": "Q: Alice, Bob, and Claire are playing a game. At the start of the game, they are each holding a ball: Alice has a yellow ball, Bob has a blue ball, and Claire has a pink ball.\nAs the game progresses, pairs of players trade balls. First, Claire and Alice swap balls. Then, Alice and Bob swap balls. Finally, Claire and Bob swap balls. At the end of the game, Bob has the\nOptions:\n(A) yellow ball\n(B) blue ball\n(C) pink ball\nA: (A)\n\nQ: Alice, Bob, and Claire are playing a game. At the start of the game, they are each holding a ball: Alice has a white ball, Bob has a purple ball, and Claire has a pink ball.\nAs the game progresses, pairs of players trade balls. First, Bob and Alice swap balls. Then, Bob and Claire swap balls. Finally, Bob and Alice swap balls. At the end of the game, Alice has the\nOptions:\n(A) white ball\n(B) purple ball\n(C) pink ball\nA: (C)\n\nQ: Alice, Bob, and Claire are dancers at a square dance. At the start of a song, they each have a partner: Alice is dancing with Lola, Bob is dancing with Rodrigo, and Claire is dancing with Patrick.\nThroughout the song, the dancers often trade partners. First, Alice and Bob switch partners. Then, Claire and Bob switch partners. Finally, Bob and Alice switch partners. At the end of the dance, Alice is dancing with\nOptions:\n(A) Lola\n(B) Rodrigo\n(C) Patrick\nA: (C)\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_tracking_shuffled_objects_three_objects"
dataset_name: tracking_shuffled_objects_three_objects
description: 'A task requiring determining the final positions of a set of objects
given their initial positions and a description of a sequence of swaps.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Alice, Bob, and Claire are playing a game. At the start of the game, they
are each holding a ball: Alice has a yellow ball, Bob has a blue ball, and Claire
has a pink ball.
As the game progresses, pairs of players trade balls. First, Claire and Alice
swap balls. Then, Alice and Bob swap balls. Finally, Claire and Bob swap balls.
At the end of the game, Bob has the
Options:
(A) yellow ball
(B) blue ball
(C) pink ball'
target: (A)
- input: 'Alice, Bob, and Claire are playing a game. At the start of the game, they
are each holding a ball: Alice has a white ball, Bob has a purple ball, and
Claire has a pink ball.
As the game progresses, pairs of players trade balls. First, Bob and Alice swap
balls. Then, Bob and Claire swap balls. Finally, Bob and Alice swap balls. At
the end of the game, Alice has the
Options:
(A) white ball
(B) purple ball
(C) pink ball'
target: (C)
- input: 'Alice, Bob, and Claire are dancers at a square dance. At the start of
a song, they each have a partner: Alice is dancing with Lola, Bob is dancing
with Rodrigo, and Claire is dancing with Patrick.
Throughout the song, the dancers often trade partners. First, Alice and Bob
switch partners. Then, Claire and Bob switch partners. Finally, Bob and Alice
switch partners. At the end of the dance, Alice is dancing with
Options:
(A) Lola
(B) Rodrigo
(C) Patrick'
target: (C)
include: _fewshot_template_yaml
task: bbh_fewshot_tracking_shuffled_objects_three_objects
"dataset_name": "web_of_lies"
"description": "Evaluate a random boolean function expressed as a word problem.\n\n"
"doc_to_text": "Q: Question: Fidel tells the truth. Jerry says Fidel tells the truth. Vina says Jerry tells the truth. Millicent says Vina lies. Raymond says Millicent lies. Does Raymond tell the truth?\nA: Yes\n\nQ: Question: Kristian lies. Millie says Kristian lies. Maybelle says Millie tells the truth. Fidel says Maybelle lies. Leda says Fidel lies. Does Leda tell the truth?\nA: Yes\n\nQ: Question: Kristian tells the truth. Michaela says Kristian lies. Raymond says Michaela tells the truth. Osvaldo says Raymond tells the truth. Jamey says Osvaldo tells the truth. Does Jamey tell the truth?\nA: No\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_web_of_lies"
dataset_name: web_of_lies
description: 'Evaluate a random boolean function expressed as a word problem.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Question: Fidel tells the truth. Jerry says Fidel tells the truth. Vina
says Jerry tells the truth. Millicent says Vina lies. Raymond says Millicent
lies. Does Raymond tell the truth?'
target: 'Yes'
- input: 'Question: Kristian lies. Millie says Kristian lies. Maybelle says Millie
tells the truth. Fidel says Maybelle lies. Leda says Fidel lies. Does Leda tell
the truth?'
target: 'Yes'
- input: 'Question: Kristian tells the truth. Michaela says Kristian lies. Raymond
says Michaela tells the truth. Osvaldo says Raymond tells the truth. Jamey says
Osvaldo tells the truth. Does Jamey tell the truth?'
target: 'No'
include: _fewshot_template_yaml
task: bbh_fewshot_web_of_lies
"dataset_name": "word_sorting"
"description": "Sort a list of words.\n\n"
"doc_to_text": "Q: Sort the following words alphabetically: List: oven costume counterpart\nA: costume counterpart oven\n\nQ: Sort the following words alphabetically: List: hypochlorite ponderosa phone credulity\nA: credulity hypochlorite phone ponderosa\n\nQ: Sort the following words alphabetically: List: newt arson parthia seismography mugho aspect census\nA: arson aspect census mugho newt parthia seismography\n\nQ: {{input}}\nA:"
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_word_sorting"
dataset_name: word_sorting
description: 'Sort a list of words.
'
doc_to_text: 'Q: {{input}}
A:'
fewshot_config:
sampler: first_n
samples:
- input: 'Sort the following words alphabetically: List: oven costume counterpart'
target: costume counterpart oven
- input: 'Sort the following words alphabetically: List: hypochlorite ponderosa
phone credulity'
target: credulity hypochlorite phone ponderosa
- input: 'Sort the following words alphabetically: List: newt arson parthia seismography
mugho aspect census'
target: arson aspect census mugho newt parthia seismography
include: _fewshot_template_yaml
task: bbh_fewshot_word_sorting
"""
Take in a YAML, and output all other splits with this YAML
"""
import argparse
import os
......
# BertaQA
### Paper
Title: BertaQA: How Much Do Language Models Know About Local Culture?
Abstract: https://arxiv.org/abs/2406.07302
Large Language Models (LLMs) exhibit extensive knowledge about the world, but most evaluations have been limited to global or anglocentric subjects. This raises the question of how well these models perform on topics relevant to other cultures, whose presence on the web is not that prominent. To address this gap, we introduce BertaQA, a multiple-choice trivia dataset that is parallel in English and Basque. The dataset consists of a local subset with questions pertinent to the Basque culture, and a global subset with questions of broader interest. We find that state-of-the-art LLMs struggle with local cultural knowledge, even as they excel on global topics. However, we show that continued pre-training in Basque significantly improves the models' performance on Basque culture, even when queried in English. To our knowledge, this is the first solid evidence of knowledge transfer from a low-resource to a high-resource language. Our analysis sheds light on the complex interplay between language and knowledge, and reveals that some prior findings do not fully hold when reassessed on local topics. Our dataset and evaluation code are available under open licenses at https://github.com/juletx/BertaQA.
Homepage: https://github.com/juletx/BertaQA
### Citation
```
@misc{etxaniz2024bertaqa,
title={BertaQA: How Much Do Language Models Know About Local Culture?},
author={Julen Etxaniz and Gorka Azkune and Aitor Soroa and Oier Lopez de Lacalle and Mikel Artetxe},
year={2024},
eprint={2406.07302},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
### Groups and Tasks
#### Groups
- `bertaqa`: Group of BertaQA tasks.
#### Tasks
- `bertaqa_eu`: Trivia questions in Basque.
- `bertaqa_en`: Trivia questions in English, human-translated from Basque.
- `bertaqa_en_mt_*`: Trivia questions in English, machine-translated from Basque with different models.
### Checklist
For adding novel benchmarks/datasets to the library:
- [ ] Is the task an existing benchmark in the literature?
- [ ] Have you referenced the original paper that introduced the task?
- [ ] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
If other tasks on this dataset are already supported:
- [ ] Is the "Main" variant of this task clearly denoted?
- [ ] Have you provided a short sentence in a README on what each new variant adds / evaluates?
- [ ] Have you noted which, if any, published evaluation setups are matched by this variant?
group: bertaqa
dataset_path: HiTZ/BertaQA
dataset_name: null
validation_split: null
test_split: test
fewshot_split: test
output_type: multiple_choice
doc_to_choice: ["A", "B", "C"]
doc_to_target: answer
metric_list:
- metric: acc
aggregation: mean
higher_is_better: true
metadata:
version: 0.0
task: bertaqa_en
include: _bertaqa_template
dataset_name: en
doc_to_text: "Question: {{question}}\nA: {{candidates[0]}}\nB: {{candidates[1]}}\nC: {{candidates[2]}}\nAnswer:"
task: bertaqa_en_mt_gemma-7b
include: _bertaqa_template
dataset_name: en_mt_gemma-7b
doc_to_text: "Question: {{question}}\nA: {{candidates[0]}}\nB: {{candidates[1]}}\nC: {{candidates[2]}}\nAnswer:"
task: bertaqa_en_mt_hitz
include: _bertaqa_template
dataset_name: en_mt_hitz
doc_to_text: "Question: {{question}}\nA: {{candidates[0]}}\nB: {{candidates[1]}}\nC: {{candidates[2]}}\nAnswer:"
task: bertaqa_en_mt_itzuli
include: _bertaqa_template
dataset_name: en_mt_itzuli
doc_to_text: "Question: {{question}}\nA: {{candidates[0]}}\nB: {{candidates[1]}}\nC: {{candidates[2]}}\nAnswer:"
task: bertaqa_en_mt_latxa-13b-v1.1
include: _bertaqa_template
dataset_name: en_mt_latxa-13b-v1.1
doc_to_text: "Question: {{question}}\nA: {{candidates[0]}}\nB: {{candidates[1]}}\nC: {{candidates[2]}}\nAnswer:"
task: bertaqa_en_mt_latxa-13b-v1
include: _bertaqa_template
dataset_name: en_mt_latxa-13b-v1
doc_to_text: "Question: {{question}}\nA: {{candidates[0]}}\nB: {{candidates[1]}}\nC: {{candidates[2]}}\nAnswer:"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment