mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
Python - Expose encode method on Model
This commit is contained in:
@ -4,7 +4,7 @@ use crate::error::PyError;
|
||||
use pyo3::prelude::*;
|
||||
use pyo3::types::*;
|
||||
use pyo3::{PyObjectProtocol, PySequenceProtocol};
|
||||
use tk::tokenizer::PaddingDirection;
|
||||
use tk::tokenizer::{Offsets, PaddingDirection};
|
||||
|
||||
#[pyclass(dict)]
|
||||
#[repr(transparent)]
|
||||
|
Reference in New Issue
Block a user