added spell backward

This commit is contained in:
joesharratt1229 2025-03-25 06:17:54 +00:00
parent ed31964b06
commit 73f7cc7a66
2 changed files with 28 additions and 28 deletions

View file

@ -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()