Skip to main content

星火人设定制工具

Project description

星火人设工具 —— 代码优化版

自我认知工具链是一个基于讯飞星火开源13B大模型做的场景训练方案,iflytekspark-13B模型已深度优化人设的数据适应,能在1000条数据上达到模型自身通用人设的覆盖及变更。

官方地址

本工具作为我的修改版主要有以下增强:

  • 代码优化,很多代码不合理的地方进行了修改
  • 性能增强,调用大模型使用了异步 io
  • 引入了 dotenv 来处理环境变量问题
  • 惯例优于配置,处理了命令行体验问题
  • 作为独立的 pip 包来发放而不是作为代码仓进行发放

还没有做的:

  • 目前没有兼容星火官方 websocket api,我使用了一个代理用来处理,保持和 OpenAI 的兼容性(主要是不想造轮子,后续有可能推动转换项目开源和为了更好处理异步 io
  • 本工具最终目标是给星火开放平台的 train 平台做人设工具数据生成,推荐采用开放平台的 lora 来进行设定改进

开源协议

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yany-0.1.0.tar.gz (61.2 kB view hashes)

Uploaded Source

Built Distribution

yany-0.1.0-py3-none-any.whl (62.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page