mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-29 17:35:16 +00:00
added spell backward
This commit is contained in:
parent
ed31964b06
commit
73f7cc7a66
2 changed files with 28 additions and 28 deletions
|
|
@ -34,7 +34,7 @@ class SpellBackwardDataset(ProceduralDataset):
|
|||
super().__init__(config=config, seed=config.seed, size=config.size)
|
||||
|
||||
# Load and preprocess text
|
||||
text = read_data_file("in_the_year_2889.txt")
|
||||
text = read_data_file("words3to10.txt")
|
||||
self.words = [
|
||||
word.strip()
|
||||
for word in text.splitlines()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue