mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 03:55:20 +08:00
Fix bug
This commit is contained in:
parent
6ef5ca4ce5
commit
62391bec30
@ -51,7 +51,7 @@ class StreamingDetokenizer:
|
||||
text = self.text
|
||||
segment = text[self.offset :]
|
||||
self.offset = len(text)
|
||||
return text
|
||||
return segment
|
||||
|
||||
|
||||
class NaiveStreamingDetokenizer(StreamingDetokenizer):
|
||||
|
Loading…
Reference in New Issue
Block a user