react-native-executorch
Version:
An easy way to run AI models in react native with ExecuTorch
15 lines (13 loc) • 425 B
JavaScript
;
// usually tool is represented with dictionary (Object), but fields depend on the model
// unfortunately there's no one standard so it's hard to type it better
export const SPECIAL_TOKENS = {
BOS_TOKEN: 'bos_token',
EOS_TOKEN: 'eos_token',
UNK_TOKEN: 'unk_token',
SEP_TOKEN: 'sep_token',
PAD_TOKEN: 'pad_token',
CLS_TOKEN: 'cls_token',
MASK_TOKEN: 'mask_token'
};
//# sourceMappingURL=llm.js.map