Code Monkey home page Code Monkey logo

Comments (5)

lzw12138 avatar lzw12138 commented on June 23, 2024

同问,我用lora也是

from chatglm.cpp.

li-plus avatar li-plus commented on June 23, 2024

目前还不支持转换 p-tuning 的模型,会考虑支持下。

lora 是支持的,需要加 -l 参数指定 lora checkpoint,参考 README:

For LoRA model, add -l <lora_model_name_or_path> flag to merge your LoRA weights into the base model.

from chatglm.cpp.

chris-rong avatar chris-rong commented on June 23, 2024

目前还不支持转换 p-tuning 的模型,会考虑支持下。

lora 是支持的,需要加 -l 参数指定 lora checkpoint,参考 README:

For LoRA model, add -l <lora_model_name_or_path> flag to merge your LoRA weights into the base model.

我已经将p-tuning微调的参数合并到原模型中了,然后再对合并的模型量化,这样也不行吗?

from chatglm.cpp.

lzw12138 avatar lzw12138 commented on June 23, 2024

目前还不支持转换 p-tuning 的模型,会考虑支持下。

lora 是支持的,需要加 -l 参数指定 lora checkpoint,参考 README:

For LoRA model, add -l <lora_model_name_or_path> flag to merge your LoRA weights into the base model.

我看了一下export的源码 ,发现-l貌似不起作用耶,在convert那个函数里

from chatglm.cpp.

TX-Yeager avatar TX-Yeager commented on June 23, 2024

目前还不支持转换 p-tuning 的模型,会考虑支持下。

lora 是支持的,需要加 -l 参数指定 lora checkpoint,参考 README:

For LoRA model, add -l <lora_model_name_or_path> flag to merge your LoRA weights into the base model.

ptuning后的模型,大概啥时候可以支持?或者有解决思路吗?

from chatglm.cpp.

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.