GEM-benchmark / NL-Augmenter

NL-Augmenter 🦎 → 🐍 A Collaborative Repository of Natural Language Transformations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`replace_spelling` (`SpellingTransformation`) sets the random seed for each word rather than for each sentence

lydianish opened this issue · comments

Setting the random seed for each word leads to jumpy behavior, like the sentence not being transformed at all. The random seed should be set for the whole sentence (outside of the forloop).