Spaces:
Paused
Paused
Add SOUP rewrite style
Browse files- src/utils/answer_rewriter.py +16 -0
src/utils/answer_rewriter.py
CHANGED
|
@@ -48,6 +48,10 @@ _REWRITE_STYLE_BY_MODEL = {
|
|
| 48 |
"vi": "Diễn đạt hay nhất theo hướng rõ ràng, mạch lạc.",
|
| 49 |
"en": "Use the clearest, most polished wording.",
|
| 50 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
}
|
| 52 |
|
| 53 |
|
|
@@ -112,6 +116,18 @@ _MODEL_SPECIFIC_EXAMPLES = {
|
|
| 112 |
"rewrite": "Yes, results clearly suggest a mass.",
|
| 113 |
},
|
| 114 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
}
|
| 116 |
|
| 117 |
|
|
|
|
| 48 |
"vi": "Diễn đạt hay nhất theo hướng rõ ràng, mạch lạc.",
|
| 49 |
"en": "Use the clearest, most polished wording.",
|
| 50 |
},
|
| 51 |
+
"SOUP": {
|
| 52 |
+
"vi": "Diễn đạt cân bằng giữa lâm sàng, thận trọng và rõ ràng.",
|
| 53 |
+
"en": "Use balanced clinical, careful, and clear wording.",
|
| 54 |
+
},
|
| 55 |
}
|
| 56 |
|
| 57 |
|
|
|
|
| 116 |
"rewrite": "Yes, results clearly suggest a mass.",
|
| 117 |
},
|
| 118 |
},
|
| 119 |
+
"SOUP": {
|
| 120 |
+
"vi": {
|
| 121 |
+
"question": "Ảnh có khối u không?",
|
| 122 |
+
"answer": "có",
|
| 123 |
+
"rewrite": "Có, hình ảnh gợi ý khối u rõ.",
|
| 124 |
+
},
|
| 125 |
+
"en": {
|
| 126 |
+
"question": "Is there a mass?",
|
| 127 |
+
"answer": "yes",
|
| 128 |
+
"rewrite": "Yes, imaging clearly suggests a mass.",
|
| 129 |
+
},
|
| 130 |
+
},
|
| 131 |
}
|
| 132 |
|
| 133 |
|