mirror of
https://github.com/katanemo/plano.git
synced 2026-07-02 15:51:02 +02:00
fixed integration tests and cleaned up logs
This commit is contained in:
parent
ee52c608f7
commit
00c543667d
4 changed files with 172 additions and 119 deletions
|
|
@ -2,7 +2,7 @@ use log::debug;
|
|||
|
||||
#[allow(dead_code)]
|
||||
pub fn token_count(model_name: &str, text: &str) -> Result<usize, String> {
|
||||
debug!("getting token count model={}", model_name);
|
||||
debug!("TOKENIZER: computing token count for model={}", model_name);
|
||||
//HACK: add support for tokenizing mistral and other models
|
||||
//filed issue https://github.com/katanemo/arch/issues/222
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue