saga.tokenizers
Saga_tokenizers.Added_token
saga
saga.models
type t
Added token with customization, matching HF Added_token.
val create : ?content:string -> ?single_word:bool -> ?lstrip:bool -> ?rstrip:bool -> ?normalized:bool -> ?special:bool -> unit -> t
Create added token with options and defaults.
val content : t -> string
val lstrip : t -> bool
val normalized : t -> bool
val rstrip : t -> bool
val single_word : t -> bool