mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
use native types List->list, Dict->dict, Set->set, Tuple->tuple
This commit is contained in:
parent
5d02064b5a
commit
3e7ff3b084
95 changed files with 754 additions and 760 deletions
|
|
@ -14,7 +14,7 @@ from typing import Any, Dict
|
|||
from examples.word_ladder.utils import create_word_ladders, generate_reasoning
|
||||
|
||||
|
||||
def create_dataset(jsonl_path: Path, config: Dict[str, Any]) -> bool:
|
||||
def create_dataset(jsonl_path: Path, config: dict[str, Any]) -> bool:
|
||||
"""
|
||||
Creates the word ladder dataset, handling potential exhaustion gracefully.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue