Skip to content

Commit b459cc1

Browse files
author
jetstream authors
committed
Reverts 6a35790
PiperOrigin-RevId: 720417398
1 parent 6a35790 commit b459cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google3/third_party/py/jetstream/engine/token_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def decode(self, token_ids: list[int], **kwargs) -> str:
335335
else:
336336
# If it's not streaming decoding, we can directly decode the full list
337337
# of token ids to a complete sequence.
338-
return self.vocab.decode(token_ids)
338+
return self.vocab.tokenizer.decode(token_ids)
339339

340340
@property
341341
def pad_id(self) -> int:

0 commit comments

Comments
 (0)