Skip to content

Commit

Permalink
Readable tokenizer file
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Jan 20, 2024
1 parent 40aa6f6 commit f2fe1ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/text_splitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ fn random_chunk_range() {
#[test]
fn huggingface_small_chunk_behavior() {
let tokenizer =
tokenizers::Tokenizer::from_file("./tests/tokenizers/alpha-03-128k.json").unwrap();
tokenizers::Tokenizer::from_file("./tests/tokenizers/huggingface.json").unwrap();
let splitter = TextSplitter::new(tokenizer);

let text = "notokenexistsforthisword";
Expand Down
File renamed without changes.

0 comments on commit f2fe1ac

Please sign in to comment.