Cleanup unused variables

This commit is contained in:
Lysandre 2020-01-21 11:40:24 -05:00
parent 15579e2d55
commit c7f79815e7

View File

@ -236,7 +236,6 @@ class XLNetTokenizer(PreTrainedTokenizer):
if token_ids_1 is None, only returns the first portion of the mask (0's).
"""
sep = [self.sep_token_id]
cls = [self.cls_token_id]
cls_segment_id = [2]
if token_ids_1 is None: