Commit 6c8d4053 authored by JessicaOjo's avatar JessicaOjo
Browse files

prompt translations fix

parent a3953e0f
# Generated by utils.py
dataset_name: ibo
doc_to_choice: '{{[premise+", Nke ọma? Ee, "+hypothesis,premise+", Nke ọma? Nakwa,
"+hypothesis,premise+", Nke ọma? Mba, "+hypothesis]}}'
doc_to_choice: '{{[premise+", Ziri ezi? Éè, "+hypothesis,premise+", Ziri ezi? Ọzọkwa,
"+hypothesis,premise+", Ziri ezi? Mba, "+hypothesis]}}'
include: afrixnli_native_direct_yaml
task: afrixnli_native_direct_ibo
# Generated by utils.py
dataset_name: yor
doc_to_choice: '{{[premise+", Òótọ́? Bẹ́ẹ̀ni, "+hypothesis,premise+", Òótọ́? Bákan
náà, "+hypothesis,premise+", Òótọ́? Rárá, "+hypothesis]}}'
doc_to_choice: '{{[premise+", Òótọ́? Bẹ́ẹ̀ni, "+hypothesis,premise+", Òótọ́? Àti pé,
"+hypothesis,premise+", Òótọ́? Rárá, "+hypothesis]}}'
include: afrixnli_native_direct_yaml
task: afrixnli_native_direct_yor
......@@ -39,9 +39,9 @@ LANGUAGES = {
"CONTRADICTION_LABEL": "A'a"
},
"ibo": {
"QUESTION_WORD": "Nke ọma",
"ENTAILMENT_LABEL": "Ee",
"NEUTRAL_LABEL": "Nakwa",
"QUESTION_WORD": "Ziri ezi",
"ENTAILMENT_LABEL": "Éè",
"NEUTRAL_LABEL": "Ọzọkwa",
"CONTRADICTION_LABEL": "Mba"
},
"kin": {
......@@ -101,7 +101,7 @@ LANGUAGES = {
"yor": {
"QUESTION_WORD": "Òótọ́",
"ENTAILMENT_LABEL": "Bẹ́ẹ̀ni",
"NEUTRAL_LABEL": "Bákan náà",
"NEUTRAL_LABEL": "Àti pé",
"CONTRADICTION_LABEL": "Rárá"
},
"zul": {
......@@ -189,11 +189,11 @@ def main() -> None:
help="Overwrite files if they already exist",
)
parser.add_argument(
"--output-dir", default="./native-direct", help="Directory to write yaml files to"
"--output-dir", default="./en-direct", help="Directory to write yaml files to"
)
parser.add_argument(
"--mode",
default="native-direct",
default="en-direct",
choices=["en_direct", "native-direct"],
help="Mode of chain-of-thought",
)
......
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