When i compile cargo build --release theres error:
error[E0425]: cannot find function `from_pretrained` in crate `splintr`
--> src/tokenizer/mod.rs:71:30
|
71 | let inner = splintr::from_pretrained(name)
| ^^^^^^^^^^^^^^^ not found in `splintr`
error[E0425]: cannot find function `eos_token_id_by_name` in crate `splintr`
--> src/tokenizer/mod.rs:73:37
|
73 | let eos_token_id = splintr::eos_token_id_by_name(name);
|
The problem lay on the splintr.
I think the implementation are not yet implemented π
I read theres some implementation on the python bindings.
I make a naive implementation based on that, and its seems worked.
Maybe you forgot to push the latest commit on splintr?