Skip to content

Commit

Permalink
ips
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Jun 6, 2024
1 parent 8d77286 commit 27576e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenizers/src/models/unigram/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Vocab = Vec<(String, f64)>;
/// A `Unigram` model to encode sentences.
#[derive(Display)]
#[display(
fmt = "Unigram(vocab={:?}, unk_id={:?}, bos_id={}, eos_id={})",
fmt = "Unigram(vocab={:#?}, unk_id={:?}, bos_id={}, eos_id={})",
"vocab.iter().collect::<Vec<_>>().truncate(5)",
unk_id,
bos_id,
Expand Down

0 comments on commit 27576e5

Please sign in to comment.