mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-30 17:40:45 +00:00
added register dataset to script
This commit is contained in:
parent
ed1492ba05
commit
a9ea2df7a0
1 changed files with 4 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
import random
|
import random
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from fractions import Fraction
|
from typing import Optional
|
||||||
from typing import List, Optional
|
|
||||||
|
|
||||||
import sympy
|
import sympy
|
||||||
|
|
||||||
|
|
@ -232,3 +231,6 @@ class IntermediateIntegrationDataset(ProceduralDataset):
|
||||||
"type": substitution_type if problem_type == "substitution" else parts_type,
|
"type": substitution_type if problem_type == "substitution" else parts_type,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
register_dataset("intermediate_integration", IntermediateIntegrationDataset, IntermediateIntegrationConfig)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue