fix style (#8300)
This commit is contained in:
parent
637b72f2ad
commit
7bfa0fcdf9
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ class GenerationMixin:
|
||||||
return self.detokenize(tokens).decode()
|
return self.detokenize(tokens).decode()
|
||||||
|
|
||||||
def batch_decode(self,
|
def batch_decode(self,
|
||||||
tokens: Union[List[int], List[List[int]]]) -> str:
|
tokens: Union[List[int], List[List[int]]]) -> str:
|
||||||
'''
|
'''
|
||||||
Decode the id to words
|
Decode the id to words
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue