Giter Site home page Giter Site logo

关于微调格式的询问 about yi-1.5 HOT 2 OPEN

ryx103 avatar ryx103 commented on August 16, 2024 1
关于微调格式的询问

from yi-1.5.

Comments (2)

Haijian06 avatar Haijian06 commented on August 16, 2024

你好感谢肯定😊,是的微调的时候需要遵守Yi模型微调的格式,但现在其实不用这么复杂,你可以参考https://github.com/01-ai/Yi-1.5?tab=readme-ov-file#fine-tuning 里面的提及的微调框架,使用这些微调框架会自动转换成该模型需要的数据集格式。

from yi-1.5.

nuoma avatar nuoma commented on August 16, 2024

你好ryx103,

您提到的‘数据中的特殊tag’并不是必要的,实际上要看训练代码对于数据集是如何进行处理的。比如针对于'chosen'的处理:
https://github.com/01-ai/Yi/blob/11d140d641d18e1190caad2d5170da3b76c9e4f6/finetune/utils/data/raw_datasets.py#L24

当然了,我们提供的finetune并没有持续的维护。在现在这个时间点,很多的训练框架都更新/维护的非常好,比如 https://github.com/hiyouga/LLaMA-Factory 。一般来说,SFT数据集会采用ShareGPT格式是更加通用的做法。

希望这能解答你的疑惑 :-)

from yi-1.5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.