This commit is contained in:
parent
6aea22576c
commit
38287e77e7
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ pub trait Embedding {
|
|||
}
|
||||
|
||||
pub fn chunked(s: &str) -> Vec<String> {
|
||||
const CHUNK_SIZE: usize = 500;
|
||||
const CHUNK_SIZE: usize = 2500;
|
||||
s.chars()
|
||||
.collect::<Vec<char>>()
|
||||
.chunks(CHUNK_SIZE)
|
||||
|
|
Loading…
Add table
Reference in a new issue