mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 11:24:53 +00:00
black
This commit is contained in:
parent
5dbfc07c6e
commit
7a6a7ed27b
@ -35,4 +35,4 @@ class Model(ABC):
|
|||||||
[self.special_decode_token_id, token_id], skip_special_tokens=False
|
[self.special_decode_token_id, token_id], skip_special_tokens=False
|
||||||
)
|
)
|
||||||
# slice to remove special decode token
|
# slice to remove special decode token
|
||||||
return result[self.special_decode_token_length:]
|
return result[self.special_decode_token_length :]
|
||||||
|
Loading…
Reference in New Issue
Block a user