Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 19, 2024
1 parent cbbbd20 commit fcb7af0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tokenizers/src/tokenizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,9 @@ where
s
}),
|seq| {
let normalized = self.added_vocabulary.extract_and_normalize(self.normalizer.as_ref(), seq.as_ref());
let normalized = self
.added_vocabulary
.extract_and_normalize(self.normalizer.as_ref(), seq.as_ref());
let pre_tokenized = self.do_pre_tokenize(normalized)?;
Ok(pre_tokenized
.get_splits(OffsetReferential::Original, OffsetType::Byte)
Expand Down Expand Up @@ -1240,7 +1242,9 @@ where
s
}),
|seq| {
let normalized = self.added_vocabulary.extract_and_normalize(self.normalizer.as_ref(), seq.as_ref());
let normalized = self
.added_vocabulary
.extract_and_normalize(self.normalizer.as_ref(), seq.as_ref());
let pre_tokenized = self.do_pre_tokenize(normalized)?;
Ok(pre_tokenized
.get_splits(OffsetReferential::Original, OffsetType::Byte)
Expand Down

0 comments on commit fcb7af0

Please sign in to comment.