mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
feat: Add hint for lowercase letters in base conversion questions for bases > 10
This commit is contained in:
parent
4b2a9f2655
commit
2226b164c7
1 changed files with 4 additions and 1 deletions
|
|
@ -83,8 +83,11 @@ class BaseConversionDataset:
|
|||
source_name = self._format_base_name(source_base)
|
||||
target_name = self._format_base_name(target_base)
|
||||
|
||||
# Add hint for bases > 10 about using lowercase letters
|
||||
hint = " (use lowercase letters a-z for digits above 9)" if target_base > 10 else ""
|
||||
|
||||
return {
|
||||
"question": f"Convert the {source_name} number {source_repr} to {target_name}",
|
||||
"question": f"Convert the {source_name} number {source_repr} to {target_name}{hint}",
|
||||
"answer": target_repr,
|
||||
"metadata": {
|
||||
"decimal_value": value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue