File size: 13,717 Bytes
a88e206 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | {
"datasets": {
"xnli-eu-native": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/eu/xnli-eu-native.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-var": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/eu/xnli-eu-var.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-es-native": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/es/xnli-eu2es-native.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-es-var": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/es/xnli-es-var.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-en": {
"data_path": "/tartalo01/users/jbengoetxea004/phd/xnli-paraphrasing/xnli-var-decoders/scripts/parquet-con/xnli-en-test.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-es": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/es/xnli-es-original.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/eu/xnli-eu-original.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-var-no-rep": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/eu/xnli-native-var-eu-NO-REPETITION.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-var-less-gip": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/eu/xnli-native-var-eu-less-gip.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-var-less-biz": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/eu/xnli-native-var-eu-less-biz.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-es-var-no-rep": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/es/xnli-native-var-es-no-rep.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-biz": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/test_expanded/xnli-eu-test-bizkaiera-done.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-gip": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/test_expanded/xnli-eu-test-gipuzkera-done.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-naf": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/test_expanded/xnli-eu-test-nafar-lapurtera-done.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-nat-biz": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/test_expanded/xnli-eu-native-bizkaieraz-done.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-nat-gip": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/test_expanded/xnli-eu-native-gipuzkera-done.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
},
"xnli-eu-nat-naf": {
"data_path": "/scratch/jbengoetxea/phd/XNLIvar/data/test_expanded/xnli-eu-native-nafar-lapurtera-done.tsv",
"data_path_paraphrase": "",
"prem_col": "premise",
"hyp_col": "hypothesis",
"label_col": "label",
"prompts": ["trilabel", "qa-zero", "qa-few"]
}
},
"models": {
"llama3instruct8": "meta-llama/Meta-Llama-3-8B-Instruct",
"llama3instruct70": "meta-llama/Meta-Llama-3-70B-Instruct",
"gemmainstruct9": "google/gemma-2-9b-it",
"gemmainstruct27": "google/gemma-2-27b-it",
"latxainstruct70": "HiTZ/Latxa-Llama-3.1-70B-Instruct",
"llama3base70": "meta-llama/Meta-Llama-3.1-70B"
},
"prompts": {
"trilabel": {
"nli-zero": {
"preffix": "Please, answer in one word, with one of the following labels: <entailment>, <contradiction> or <neutral> Use exactly one of these three labels.",
"label_mapping": {
"entailment": "entailment",
"contradiction": "contradiction",
"neutral": "neutral"
}
},
"nli-few": {
"preffix": "Say which is the inference relationship between these two sentences. Please, answer in one word, with one of the following labels: <entailment>, <contradiction> or <neutral> Use exactly one of these three labels. Here you have some examples: Postal Service were to reduce delivery frequency -> The postal service could deliver less frequently: <entailment>. This elegant spa town on the edge of the Lac du Bourget has offered cures for rheumatism and other ailments for centuries -> The town was only established in the past fifty years: <contradiction>. And while we allow people to give a kidney to their child , we do not allow them to donate their heart -> You can't always donate organs to your child: <neutral>. " ,
"label_mapping": {
"entailment": "entailment",
"contradiction": "contradiction",
"neutral": "neutral"
}
},
"qa-zero": {
"preffix": "Are these two sentences entailed, contradicted or undetermined to each other? Please, answer in one word, with one of the following labels: <entailment>, <contradiction> or <neutral> Use exactly one of these three labels.",
"label_mapping": {
"entailment": "entailment",
"contradiction": "contradiction",
"neutral": "neutral"
}
},
"qa-few": {
"preffix": "Are these two sentences entailed, contradicted or undetermined to each other? Please, answer in one word, with one of the following labels: <entailment>, <contradiction> or <neutral> Use exactly one of these three labels. Here you have some examples: Postal Service were to reduce delivery frequency -> The postal service could deliver less frequently: <entailment>. This elegant spa town on the edge of the Lac du Bourget has offered cures for rheumatism and other ailments for centuries -> The town was only established in the past fifty years: <contradiction>. And while we allow people to give a kidney to their child , we do not allow them to donate their heart -> You can't always donate organs to your child: <neutral>.",
"label_mapping": {
"entailment": "entailment",
"contradiction": "contradiction",
"neutral": "neutral"
}
},
"chain": {
"preffix": "You are an expert linguist and your task is to annotate sentences for the task of Natural Language Inference. This task consists in determining if a first sentence (premise) entails, contradicts or does not entail nor contradict the second sentence (hypothesis). Please, answer in one word, with one of the following labels: <entailment>, <contradiction> or <neutral> \n Use exactly one of these three labels \n Here you have a few examples:\n Premise: Postal Service were to reduce delivery frequency. \n Hypothesis: The postal service could deliver less frequently. \n Answer: <entailment> \n Premise: This elegant spa town on the edge of the Lac du Bourget has offered cures for rheumatism and other ailments for centuries. \n Hypothesis: The town was only established in the past fifty years. \n Answer: <contradiction> \n Premise: And while we allow people to give a kidney to their child , we do not allow them to donate their heart. \n Hypothesis: You can't always donate organs to your child. \n Answer: <neutral>",
"label_mapping": {
"entailment": "entailment",
"contradiction": "contradiction",
"neutral": "neutral"
}
}
},
"qa-zero": {
"entailment": {
"preffix": "Are these two sentences entailed? Please, answer between <yes> or <no>.",
"label_mapping": {
"yes": "entailment",
"no": "not_entailment"
}
},
"contradiction": {
"preffix": "Are these two sentences contradictions? Please, answer between <yes> or <no>.",
"label_mapping": {
"yes": "contradiction",
"no": "not_contradiction"
}
},
"neutral": {
"preffix": "Are these two sentences unrelated? Please, answer between <yes> or <no>.",
"label_mapping": {
"yes": "neutral",
"no": "not_neutral"
}
}
},
"qa-few": {
"entailment": {
"preffix": "Are these two sentences entailed? Please, answer between <yes> or <no>. Here you have some examples: Postal Service were to reduce delivery frequency -> The postal service could deliver less frequently: <yes>. This elegant spa town on the edge of the Lac du Bourget has offered cures for rheumatism and other ailments for centuries -> The town was only established in the past fifty years: <no>. And while we allow people to give a kidney to their child , we do not allow them to donate their heart -> You can't always donate organs to your child: <no>.",
"label_mapping": {
"yes": "entailment",
"no": "not_entailment"
}
},
"contradiction": {
"preffix": "Are these two sentences contradictions? Please, answer between <yes> or <no>. Here you have some examples: Postal Service were to reduce delivery frequency -> The postal service could deliver less frequently: <no>. This elegant spa town on the edge of the Lac du Bourget has offered cures for rheumatism and other ailments for centuries -> The town was only established in the past fifty years: <yes>. And while we allow people to give a kidney to their child , we do not allow them to donate their heart -> You can't always donate organs to your child: <no>.",
"label_mapping": {
"yes": "contradiction",
"no": "not_contradiction"
}
},
"neutral": {
"preffix": "Are these two sentences unrelated? Please, answer between <yes> or <no>. Here you have some examples: Postal Service were to reduce delivery frequency -> The postal service could deliver less frequently: <no>. This elegant spa town on the edge of the Lac du Bourget has offered cures for rheumatism and other ailments for centuries -> The town was only established in the past fifty years: <no>. And while we allow people to give a kidney to their child , we do not allow them to donate their heart -> You can't always donate organs to your child: <yes>.",
"label_mapping": {
"yes": "neutral",
"no": "not_neutral"
}
}
}
}
} |