mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-24 17:05:03 +00:00
Refactor Curriculum Attributes (#335)
* remove min_value from AttributeDefinition * remove type from AttributeDefinition * Add CurriculumContext * add ensure_interval option for RangeAttributes * docs: Add legend explaining curriculum indicators in dataset gallery * update GALLERY.md
This commit is contained in:
parent
4e7d9296ee
commit
d2c895f1d3
101 changed files with 286 additions and 677 deletions
|
|
@ -2,7 +2,7 @@ from dataclasses import dataclass, field
|
|||
from random import Random
|
||||
from typing import Any, Callable, Optional
|
||||
|
||||
from ..coaching import AttributeType, BaseCurriculum, ScalarAttributeDefinition
|
||||
from ..coaching import BaseCurriculum, ScalarAttributeDefinition
|
||||
from ..factory import ProceduralDataset, register_dataset
|
||||
from .board_format import ARC_PROMPT_TEMPLATE, BoardFormattingOptions, format_board, format_board_pair, parse_board
|
||||
|
||||
|
|
@ -147,7 +147,6 @@ class ReArcCurriculum(BaseCurriculum):
|
|||
name="pso_difficulty",
|
||||
field_name="pso_difficulty_weights",
|
||||
description="The range of PSO difficulty for the Arc problem",
|
||||
default_level=0,
|
||||
levels=[
|
||||
[1, 0, 0, 0, 0, 0, 0, 0], # only sample/generate the easiest tasks wrs PSO difficulty
|
||||
[0, 1, 0, 0, 0, 0, 0, 0],
|
||||
|
|
@ -163,7 +162,6 @@ class ReArcCurriculum(BaseCurriculum):
|
|||
name="rng_difficulty",
|
||||
field_name="rng_difficulty_weights",
|
||||
description="The range of RNG difficulty for the Arc problem",
|
||||
default_level=0,
|
||||
levels=[
|
||||
[1, 0, 0, 0, 0, 0, 0, 0], # only sample/generate the easiest tasks wrs RNG difficulty
|
||||
[0, 1, 0, 0, 0, 0, 0, 0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue