Downloads · 30 days
14
22% of all-time downloads
nmcsitian/bge-meteo-zh-v2
bge-meteo-zh-v2 is a sentence similarity model from nmcsitian. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as mit.
面向中文气象领域 RAG 检索的领域自适应嵌入模型,基于 BAAI/bge-large-zh-v1.5 微调。
Downloads · 30 days
14
22% of all-time downloads
All-time downloads
65
Public
Parameters
326M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.3 GB · 100%
From the Hugging Face model README
面向中文气象领域 RAG 检索的领域自适应嵌入模型,基于 BAAI/bge-large-zh-v1.5 微调。
版本关系:nmcsitian/bge-meteo-zh(未标版本号)为 v1;本仓库为 v2 全量重训版——训练语料 53→58 本、训练/评测划分全部重做(嵌套设计、ISBN 级零泄漏审计)、评测体系升级为 6 域留一交叉验证。v2 检索行为与 v1 有实质差异,建议在自有场景重新评测后切换。
本模型为 CLS pooling。本仓库已包含 sentence-transformers 配置(modules.json + 1_Pooling/),用 SentenceTransformer 直接加载即为正确行为;若手工用 transformers 加载,请务必取 CLS 向量而非 mean pooling,否则检索精度大幅下降。
查询端需加指令前缀,文档端不加;向量需归一化:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("nmcsitian/bge-meteo-zh-v2")
PREFIX = "为这个句子生成表示以用于检索相关文章:"
q_emb = model.encode([PREFIX + "副热带高压对华南降水有什么影响?"], normalize_embeddings=True)
d_emb = model.encode(["副热带高压边缘的暖湿气流……"], normalize_embeddings=True)
score = (q_emb @ d_emb.T)
| 配置 | R@1 | R@5 | R@10 | MRR |
|---|---|---|---|---|
| bge-large-zh-v1.5(基座,单路向量) | 0.4208 | 0.6787 | 0.7647 | 0.5321 |
| 本模型(单路向量) | 0.6855 | 0.8744 | 0.9186 | 0.7657 |
| BM25 单路 | 0.6787 | 0.8337 | 0.8676 | 0.7469 |
| 基座 + BM25 wRRF(0.5,1.0) | 0.6640 | 0.8348 | 0.8801 | 0.7389 |
| 本模型 + BM25 wRRF(0.5,1.0) | 0.7590 | 0.9118 | 0.9276 | 0.8229 |
如在研究或产品中使用本模型,请引用本仓库:
@misc{bge-meteo-zh-v2,
title = {BGE-Meteo-zh-v2: Domain-Adaptive Chinese Meteorological Embedding},
author = {nmcsitian},
year = {2026},
url = {https://huggingface.co/nmcsitian/bge-meteo-zh-v2}
}