MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_model_get_vocab

Function llama_model_get_vocab

subprojects/llama.cpp/src/llama-model.cpp:8139–8141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8137}
8138
8139const llama_vocab * llama_model_get_vocab(const llama_model * model) {
8140 return &model->vocab;
8141}
8142
8143void llama_free_model(llama_model * model) {
8144 llama_model_free(model);

Callers 15

mainFunction · 0.85
tokenized_promptMethod · 0.85
mainFunction · 0.85
mtmd_cli_contextMethod · 0.85
lookup_tokenMethod · 0.85
mtmd_tokenizerMethod · 0.85
test_promptFunction · 0.85
test_genFunction · 0.85
mainFunction · 0.85
perplexity_v2Function · 0.85
perplexityFunction · 0.85

Calls

no outgoing calls

Tested by 10

test_promptFunction · 0.68
test_genFunction · 0.68
test_contextMethod · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
draftMethod · 0.68