GithubHelp home page GithubHelp logo

Comments (4)

stanleylsx avatar stanleylsx commented on August 18, 2024

image

可以截图让我看下你数据集的格式吗?

from llms_tool.

FelixZhang7 avatar FelixZhang7 commented on August 18, 2024

image

from llms_tool.

stanleylsx avatar stanleylsx commented on August 18, 2024

image

[看起来你那边第一步读取数据就出问题了,原因可能是train_file_dir里面有history这个key而validation_file_dir里面的数据没有这个key建议,我这需要兼容,暂时可以通过下面方法解决:

  1. 确定一下train_file_dir的file path是正确的,关闭do_eval不要做evaluate然后再训练;
  2. 如果需要evaluate暂时需要处理一下train_file_dir和validation_file_dir的数据格式,使其要么都有hository这个key或者都没有。

from llms_tool.

FelixZhang7 avatar FelixZhang7 commented on August 18, 2024

感谢,json问题解决了。还有一个问题,目前项目只支持lora的权重合并吗?prompt tuning和prefix tuning的权重没有如何合并和加载呢?

AttributeError: 'QWenLMHeadModel' object has no attribute 'merge_and_unload'

from llms_tool.

Related Issues (18)

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.