]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model-conversion : set pooling type to none in logits.cpp (#15564)
authorDaniel Bevenius <redacted>
Mon, 25 Aug 2025 13:00:43 +0000 (15:00 +0200)
committerGitHub <redacted>
Mon, 25 Aug 2025 13:00:43 +0000 (15:00 +0200)
commitdfd9b5f6c7586c88588f06a644c131bec071a0a1
tree6fddb8d6961cd78139c7c91430dec8a32b5ba431
parent5a6bc6b1a6cb665a944426c2055794950e524bf5
model-conversion : set pooling type to none in logits.cpp (#15564)

This commit explicitly sets the pooling type to 'none' in the logits.cpp
to support models that have a pooling type specified.

The motivation for this is that some models may have a pooling type set
in the model file (.gguf file) and for this specific case where we only
want to extract logits, we need to ensure that no pooling is used to
so that we are comparing raw logits and not pooled embeddings.
examples/model-conversion/logits.cpp