Skip to content

Commit

Permalink
Fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Jan 18, 2024
1 parent 524acfe commit 262e9d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/python/src/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,9 @@ impl PyTokenizer {
fn id_to_token(&self, id: u32) -> Option<String> {
self.tokenizer.id_to_token(id)
}

#[pyo3(text_signature = "(self, value)")]
fn set_encode_special_tokens(&mut self, value:bool){
fn set_encode_special_tokens(&mut self, value: bool) {
self.tokenizer.set_encode_special_tokens(value);
}
/// Add the given tokens to the vocabulary
Expand Down

0 comments on commit 262e9d2

Please sign in to comment.