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

prompt translations fix

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