feat: Add SpellBackwardDataset with word reversal and length filtering

This commit is contained in:
Andreas Koepf (aider) 2025-01-26 11:40:47 +01:00
parent f604c484b1
commit b18bede2bf
3 changed files with 97 additions and 1 deletions

View file

@ -104,7 +104,8 @@ Available dataset names (which can be used with `create_dataset()`):
- `LetterCountingDataset`: Count letter occurrences in text spans
- `NumberFilteringDataset`: Filter numbers based on comparison with threshold
- `NumberSortingDataset`: Sort lists of numbers in ascending or descending order
- `LetterJumbleDataset`: Unscramble words that have had their letters randomly jumbled
- `LetterJumbleDataset`: Unscramble words that have had their letters randomly jumbled
- `SpellBackwardDataset`: Spell individual words backward (e.g. "sun" -> "nus")
- `WordReversalDataset`: Reverse word order in text spans
#### Cognition Tasks