This commit is contained in:
Angelos Katharopoulos 2024-12-12 11:08:23 -08:00
parent 6ef5ca4ce5
commit 62391bec30

View File

@ -51,7 +51,7 @@ class StreamingDetokenizer:
text = self.text
segment = text[self.offset :]
self.offset = len(text)
return text
return segment
class NaiveStreamingDetokenizer(StreamingDetokenizer):