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

Function llama_get_model

subprojects/llama.cpp/src/llama-context.cpp:3084–3086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3082}
3083
3084const llama_model * llama_get_model(const llama_context * ctx) {
3085 return &ctx->get_model();
3086}
3087
3088enum llama_pooling_type llama_pooling_type(const llama_context * ctx) {
3089 return ctx->pooling_type();

Callers 15

tokenized_promptMethod · 0.85
test_promptFunction · 0.85
test_genFunction · 0.85
perplexity_v2Function · 0.85
perplexityFunction · 0.85
hellaswag_scoreFunction · 0.85
winogrande_scoreFunction · 0.85
multiple_choice_scoreFunction · 0.85
kl_divergenceFunction · 0.85
validateMethod · 0.85

Calls

no outgoing calls

Tested by 4

test_promptFunction · 0.68
test_genFunction · 0.68
draftMethod · 0.68