| llama_vocab_type | R Documentation |
Get vocabulary type
llama_vocab_type(model)
model |
Model handle returned by [llama_load_model] |
A character string: one of '"spm"' (LLaMA/SentencePiece BPE), '"bpe"' (GPT-2 BPE), '"wpm"' (BERT WordPiece), '"ugm"' (T5 Unigram), '"rwkv"', '"plamo2"', or '"none"'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.