Downloads · 30 days
11
13% of all-time downloads
owen4512/bert-base-chinese-finance-term-extractor
bert-base-chinese-finance-term-extractor is a token classification model from owen4512. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as other.
Downloads · 30 days
11
13% of all-time downloads
All-time downloads
84
Public
Parameters
102M
407 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors407 MB · 100%
From the Hugging Face model README
基于 BERT 的中文金融术语抽取模型,用于从中文文本中识别领域相关术语。
该模型基于 bert-base-chinese 微调,执行 token-level 分类(NER风格),用于识别文本中的金融术语。
模型适用于翻译辅助、术语提取、金融文本分析等场景。
模型使用 Hugging Face Transformers + Datasets 构建完整训练管线。
label2idid2labeldev_ratio = 0.1BertTokenizerFastis_split_into_words=Trueword_ids() 对齐 token 与标签-100(忽略 loss)bert-base-chineseTrainerload_best_model_at_end=True使用 seqeval 进行序列标注评估:
示例输出:
precision recall f1-score support
...
🎯 适用场景
该模型适用于:
中文金融术语抽取
翻译流程中的术语识别
CAT 工具辅助
金融领域 NLP 任务
🚫 不适用场景
不建议用于:
通用 NER 任务
医疗/法律等高风险领域
无人工审核的自动决策
🚀 使用方法
from transformers import pipeline
pipe = pipeline(
"token-classification",
model="你的用户名/bert-base-chinese-finance-term-extractor",
aggregation_strategy="simple"
)
text = "公司发行了可转换债券和金融衍生品。"
print(pipe(text))
🧾 示例
输入:
"公司发行了可转换债券和金融衍生品。"
输出:
["可转换债券", "金融衍生品"]
⚠️ 局限性
模型针对金融领域,跨领域泛化能力有限
对未见术语识别能力有限
分词可能影响长术语识别
建议人工校验
📜 许可证
该模型基于 CC BY-NC 4.0 数据训练:
✅ 允许非商业使用
❌ 禁止商业用途(除非获得授权)
✅ 需要署名
基础模型 bert-base-chinese 为 Apache 2.0,但微调模型受数据集限制。
🙏 致谢
Base model: bert-base-chinese
Dataset: WMT 2025 术语资源
Framework: Hugging Face Transformers & Datasets
Evaluation: seqeval