llama.cpp
dfd9b5f6 - model-conversion : set pooling type to none in logits.cpp (#15564)

Commit
126 days ago
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.
Author
Parents
Loading