mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
fix: use correct var names for check_tokenizers script (#33702)
This commit is contained in:
parent
46841d3eb2
commit
c716fc0e48
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ def check_details(line, spm_ids, tok_ids, slow, fast):
|
|||
if tok_ids[first + k : first + k + min_width] == spm_ids[first + i : first + i + min_width]
|
||||
]
|
||||
for j in possible_matches:
|
||||
if check_diff(spm_ids[first : first + i], tok_ids[first : first + j], sp, tok) and check_details(
|
||||
if check_diff(spm_ids[first : first + i], tok_ids[first : first + j], slow, fast) and check_details(
|
||||
line,
|
||||
spm_ids[first + i : last],
|
||||
tok_ids[first + j : last],
|
||||
|
|
|
|||
Loading…
Reference in a new issue