返回全部动态

llama.cpp b11273 为 reranker 新增 classifier_pooling 支持

原标题:b11273

llama.cpp Releases一手来源开源质量 63

AI 摘要

llama.cpp 发布 b11273 版本,主要新增对 reranker 模型 classifier_pooling 的支持,首先适配 ModernBERT reranker。改动包括在 load_hparams 中读取 classifier pooling 类型、转换脚本仅接受 cls 和 mean 两种取值,并将 classifier_pooling_type 重命名为 pooling_type_cls。该版本同时提供 macOS、Linux、Windows、Android 等多平台预编译二进制包。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<details open> model : support classifier_pooling for rerankers (#29627) * model : support classifier_pooling for ModernBERT rerankers Assisted-by: Claude Opus 5.5 * model : read classifier pooling type in load_hparams Write classifier.pooling_type from _try_set_pooling_type whenever the config has classifier_pooling, and read it in llama_model_base::load_hparams. ModernBERT falls back to mean when it is unspecified. Assisted-by: Claude Opus 5.5 * conversion : only accept cls and mean for


发布时间:2026-09-30 15:22
抓取时间:2026-09-30 15:55
来源机构:ggml-org
阅读原文github.com