← 返回首页
技能

train-sentence-transformers

github · 下载量 1.1万 · 热度分 44.9

出处与授权

出处: huggingface/skills
作者: huggingface
许可证: Apache 许可证 2.0

本站只收录项目元数据与简介,不对作者正文做转载;完整内容请到上方出处查看。商用前请自行核对原仓库的 LICENSE 与 NOTICE。

⚠ 上游仓库根目录未找到 LICENSE/COPYING 文件,以上许可证名来自第三方登记、未经核实。请到出处自行确认后再商用。

产品介绍

Train or fine-tune sentence-transformers models across `SentenceTransformer` (bi-encoder, dense or static embedding model for retrieval, similarity, clustering, classification, paraphrase mining, dedup, multimodal), `CrossEncoder` (reranker, pair scoring for two-stage retrieval / pair classification), `SparseEncoder` (SPLADE, sparse embedding model for learned-sparse retrieval), and `MultiVectorEncoder` (ColBERT / late-interaction, per-token embeddings scored with MaxSim). Covers loss selection, hard-negative mining, evaluators, distillation, LoRA, Matryoshka, and Hugging Face Hub publishing. Use for any sentence-transformers training task.

资源信息

作者:huggingface
分类:知识库 RAG 私有问答
语言:en
认证方式: 无需认证
许可证:Apache-2.0
是否付费: 官方标注免费
发布方:huggingface

许可证信息摘自官方源,可能过时或缺失。商用前请以原仓库的 LICENSE 文件为准。

标签
知识库 RAG / train-sentence-transformers

功能说明

  • 1. Identify the model type
  • 2. Required reading
  • Per-type: always required
  • Cross-cutting: always required (regardless of task)
  • Cross-cutting: load when applicable
  • Variant scripts (open when the task matches)
  • 3. Defaults
  • 4. Constraints the produced script must satisfy
适用场景
references/hfjobsexecution.md: required when running on HF Jobs.CrossEncoder scripts/traincrossencoder<distillation|listwise>example.py.SparseEncoder scripts/trainsparseencoderdistillationexample.py.Hard-negative mining CLI: scripts/minehardnegatives.py.Local execution. Pitch HF Jobs only if local hardware can't fit the job.Capture the pre-training evaluator score as baselineeval before trainer.train().

适用平台

Claude Code

信息边界说明

本页信息摘自官方文档,仅作技术信息呈现,不代表本站的判断或推荐。价格、配额、可用性以官方最新说明为准。你离开本站后的任何行为(申请 Key、付费、部署、商用),本站不做任何承诺与担保。

同类推荐

搜索引擎

免费增值需申请 Key

通过公开搜索URL在16个搜索引擎(7个国内直连+9个国际)中做跨引擎检索、结果去重与多源交叉验证,无需API Key,内置零依赖Python脚本。Use when 用户要求“搜一下/查资料/多找几个来源/核实消息/找公众号文章/排查报错/找论文或开源项目”时。输入自然语言查询词,输出带来源链接与可信度标注的结构化结果。不适用于私有数据检索、批量抓取、需要登录后可见的内容。

ima-skills

需申请 Key

ima skills,支持对笔记、知识库的读取、写入和检索等操作,可以帮你随时记录,收入ima智能管理,随时调用,龙虾输出精准懂你,友好的接入了OpenClaw生态,构建你的第二大脑。

web-tools-guide

需申请 Key

MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_search failure → must guide user to configure API), fallback chain (opencli CLI covers 70+ sites as structured fallback before browser), and site-specific login URLs. Without reading this skill, you WILL handle failures incorrectly and miss available tools. Trigger on: 搜索/上网/查资料/打开网站/抓取网页/新闻/热点/web search/fetch/browser/opencli.

Aihot Skill Lite

官方标注免费需申请 Key

AI HOT(aihot.virxact.com)中文 AI 资讯查询 Skill,帮助用户获取今日 AI 圈动态、AI 日报、AI 热点、最新 AI 资讯以及 OpenAI、Anthropic、Google 等公司的最新发布信息。

Baidu web search

需申请 Key

使用百度AI搜索引擎(BDSE)进行网络搜索。适用于获取实时信息、文档资料或研究课题。

Markdown Converter

官方未说明

{"answer":"使用 markitdown 将文档和文件转换为 Markdown。用于将 PDF、Word (.docx)、PowerPoint (.pptx)、Excel (.xlsx, .xls)、HTML、CSV、JSON、XML、图片(含 EXIF/OCR)、音频(含转录)、ZIP 压缩包、YouTube 链接或 EPub 转换为 Markdown 格式,以进行 LLM 处理或文本分析。"}

什么是技能

技能(Skill)是封装好的单项能力,比如文字识别、文档摘要、关键词提取。开发者把调用逻辑和提示词打包,使用者像用插件一样加载即可,无需了解底层模型。启枢技能 收录大量技能,可直接试跑或编入方案。