Idea is to allow excluding common tokens like * " , . ! ? my your, or even <eos> from being penalized for repetition.
This is because in creative writing they may need to appear quite often, and without this, the syntax can get all over the place.
Currently accepts a list[int] meaning the sended should already have tokenized their text.
Alternatively could accept a list[string] and tokenize on the fly, if there are no performance concerns.
@Lyrcaxis I like the idea but instead of excluding them from penality, it would be more powerful to apply a different penalty to them. You still don't want ! to be repeated 100 times for example.
Idea is to allow excluding common tokens like
* " , . ! ? my your
, or even<eos>
from being penalized for repetition. This is because in creative writing they may need to appear quite often, and without this, the syntax can get all over the place.Currently accepts a
list[int]
meaning the sended should already have tokenized their text. Alternatively could accept alist[string]
and tokenize on the fly, if there are no performance concerns.