mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-28 00:32:25 +06:00
Cleanup unused variables
This commit is contained in:
parent
15579e2d55
commit
c7f79815e7
@ -236,7 +236,6 @@ class XLNetTokenizer(PreTrainedTokenizer):
|
|||||||
if token_ids_1 is None, only returns the first portion of the mask (0's).
|
if token_ids_1 is None, only returns the first portion of the mask (0's).
|
||||||
"""
|
"""
|
||||||
sep = [self.sep_token_id]
|
sep = [self.sep_token_id]
|
||||||
cls = [self.cls_token_id]
|
|
||||||
cls_segment_id = [2]
|
cls_segment_id = [2]
|
||||||
|
|
||||||
if token_ids_1 is None:
|
if token_ids_1 is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user