Skip to content

Commit

Permalink
Fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Jan 9, 2025
1 parent f1e36c0 commit 69a9936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tokenizers/src/models/bpe/word.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ impl Word {
// Make sure we are not processing an expired queue entry
let target_new_pair = (self.symbols[top.pos].c, right.c);
if merges
.get(&target_new_pair).is_none_or(|(_, new_id)| *new_id != top.new_id)
.get(&target_new_pair)
.is_none_or(|(_, new_id)| *new_id != top.new_id)
{
continue;
}
Expand Down

0 comments on commit 69a9936

Please sign in to comment.