Optimize the speed of the truncate_sequences function. #28263
change truncate_sequences
8337462d
Update tokenization_utils_base.py
1bb67b39
change format
c9945009
fix when ids_to_move=0
fc032bbf
fix
a0c5cb58
Update src/transformers/tokenization_utils_base.py
d4e12661
ikkvix
deleted the fix/Optimize-speed-while-truncate_sequences branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub