Skip to content

Commit c5eb93f

Browse files
authored
remove stray comment (#1831)
1 parent ec54228 commit c5eb93f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tokenizers/src/models/bpe/trainer.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,9 @@ impl BpeTrainer {
499499
part_b = rest;
500500
}
501501
}
502-
let new_token = format!("{part_a}{part_b}");
503-
// implement sentencepiece-like merge.
504-
// if this code were to be merged, integrate a way in the python bindings to communicate this variable
505-
// default should be 0/None to maintain previous behavior. 16 is the spm default.
506502

507503
// Insert new token if it does not already exist
504+
let new_token = format!("{part_a}{part_b}");
508505
let new_token_id = word_to_id
509506
.get(&CompactString::from(&new_token))
510507
.copied()

0 commit comments

Comments
 (0)