Interface: TokenizerProps
Defined in: packages/react-native-executorch/src/types/tokenizer.ts:9
Parameters for initializing and configuring a Tokenizer instance.
Properties
preventLoad?
optionalpreventLoad:boolean
Defined in: packages/react-native-executorch/src/types/tokenizer.ts:20
Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.
tokenizer
tokenizer:
object
Defined in: packages/react-native-executorch/src/types/tokenizer.ts:15
Object containing:
tokenizerSource - A ResourceSource that specifies the location of the tokenizer.
tokenizerSource
tokenizerSource:
ResourceSource