跳到正文
原文
Hugging Face Blog·· 2023-05-09精选AI 评分58

Hugging Face 用 StarCoder 微调出编程助手 StarChat

Creating a Coding Assistant with StarCoder

AI 导读

Hugging Face 发布教程,介绍如何把 16B 参数的 StarCoder 微调成对话式编程助手 StarChat,并公开代码、数据集与模型。流程包括用 ChatML 特殊 token 组织对话、屏蔽用户轮次的标签,再用 DeepSpeed ZeRO-3 在 8 张 A100 80GB 上训练约 45 分钟。

推荐理由

Hugging Face 公开了把 StarCoder 微调成对话式编程助手的完整流程,含数据格式与训练配置。

社媒成稿工作台 · 一键复制

飞书同步推送 · 含数据/日期/出处/启发
核心数据发布日期信源出处独立开发启发
1240
Hugging Face 用 StarCoder 微调出编程助手 StarChat

📊 核心数据与事实(2023-05-09):
Hugging Face 发布教程,介绍如何把 16B 参数的 StarCoder 微调成对话式编程助手 StarChat,并公开代码、数据集与模型。流程包括用 ChatML 特殊 token 组织对话、屏蔽用户轮次的标签,再用 DeepSpeed ZeRO-3 在 8 张 A100 80GB 上训练约 45 分钟。
• 原文实测切片:These include SalesForce’s CodeGen Mono 16B for Python, or Replit’s 3B parameter model trained on 20 programming languages.
• 原文实测切片:The Starcoder models are a series of 15.5B parameter models trained on 80+ programming languages from The Stack (v1.2) (excluding opt-out requests).
• 原文实测切片:In this case, the instruction tuned StarCoder model achieved a higher score than the base model 95.6% of the time.

💡 对独立开发者的启发:
1/ Hugging Face 公开了把 StarCoder 微调成对话式编程助手的完整流程,含数据格式与训练配置。
2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。
3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。

📅 日期:2023-05-09(北京时间)
📰 信息源出处:Hugging Face Blog(huggingface.co)
🔗 原文:https://huggingface.co/blog/starchat-alpha
📡 归档:https://billionare.me/items/kropm4u3mu85md2htfp1452b5
去 X 发推
每天 08:00 邮件 / 08:30 飞书准点推送一手高信噪比情报与拆解免费订阅简报

来源:Hugging Face Blog · huggingface.co