Skip to content

Commit

Permalink
pad_token_type_id to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
haven-jeon committed Oct 28, 2021
1 parent ed965cc commit 8df69ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kobert_hf/kobert_tokenizer/kobert_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def __init__(self,
sp_model_kwargs=self.sp_model_kwargs,
**kwargs,
)
self._pad_token_type_id = 0

def build_inputs_with_special_tokens(
self,
Expand Down

0 comments on commit 8df69ec

Please sign in to comment.