You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mcqa): Add custom answer extraction via template_metadata to support STEM MCQA dataset (#128)
Adds support for custom answer extraction in MCQA resources server via
the optional `template_metadata.output_regex` field. This enables
handling STEM datasets with custom prompt formats that don't match the
standard grading modes.
---------
Signed-off-by: Pritam Gundecha <pgundecha@nvidia.com>
| math | Library Judge Math | <ahref='resources_servers/library_judge_math/configs/bytedtsinghua_dapo17k.yaml'>resources_servers/library_judge_math/configs/bytedtsinghua_dapo17k.yaml</a> | Apache 2.0 | Train, Validation |
90
90
| math | Library Judge Math | <ahref='resources_servers/library_judge_math/configs/dapo17k.yaml'>resources_servers/library_judge_math/configs/dapo17k.yaml</a> | Apache 2.0 | Train, Validation |
91
91
| math | Library Judge Math | <ahref='resources_servers/library_judge_math/configs/library_judge_math.yaml'>resources_servers/library_judge_math/configs/library_judge_math.yaml</a> | Creative Commons Attribution 4.0 International | Train, Validation, Example |
"content": "You should output your final response letter inside \\boxed{} and nothing else You can first think step-by-step. Which of the following genetic tests is used to identify the presence of a specific mutation associated with cystic fibrosis?\nA: Karyotyping\nB: Polymerase Chain Reaction (PCR)\nC: Whole-genome sequencing\nD: Chromosome painting\nE: Restriction Fragment Length Polymorphism (RFLP) analysis\nF: Southern blotting\nG: Microarray analysis\nH: Fluorescence in situ hybridization (FISH)\nI: Enzyme-linked immunosorbent assay (ELISA)\nJ: Methylation-specific PCR"
68
+
"content": "You should output your final response letter inside \\boxed{} and nothing else You can first think step-by-step. Which of the following genetic tests is used to identify the presence of a specific mutation associated with cystic fibrosis?\nA: Karyotyping\nB: Polymerase Chain Reaction (PCR)\n..."
45
69
}
46
70
]
47
71
},
48
-
"options":
49
-
[
50
-
{
51
-
"A": "Karyotyping"
52
-
},
53
-
{
54
-
"B": "Polymerase Chain Reaction (PCR)"
55
-
},
56
-
{
57
-
"C": "Whole-genome sequencing"
58
-
},
59
-
{
60
-
"D": "Chromosome painting"
61
-
},
62
-
{
63
-
"E": "Restriction Fragment Length Polymorphism (RFLP) analysis"
### Example with template_metadata (custom format)
80
+
```json
81
+
{
82
+
"responses_create_params":
83
+
{
84
+
"input":
85
+
[
86
+
{
87
+
"role": "user",
88
+
"content": "Which genetic test identifies cystic fibrosis mutations?\nA: Karyotyping\nB: PCR\n...\n\nChoose the correct option.\nConclude with \"ANSWER IS X\" on the final line."
0 commit comments