GithubHelp home page GithubHelp logo

Vicuna.cpp 衍生自 Llama.cpp 还是 Alpaca.cpp? 基于 Alpaca 和 Llama 中文embedding后 finetune出来的模型会通用吗? about chinese-vicuna HOT 6 CLOSED

facico avatar facico commented on August 15, 2024
Vicuna.cpp 衍生自 Llama.cpp 还是 Alpaca.cpp? 基于 Alpaca 和 Llama 中文embedding后 finetune出来的模型会通用吗?

from chinese-vicuna.

Comments (6)

ZenXir avatar ZenXir commented on August 15, 2024 2

我机器正在跑基于embeding后的模型finetue
预计明天下午finetune好,明天可以看看效果

你说的 和finetune时的prompt有关,可以帮详细解释下吗?

from chinese-vicuna.

LZY-the-boys avatar LZY-the-boys commented on August 15, 2024

参考了Alpaca.cpp。模型是否通用和在finetune的时候的prompt有关,如果使用了和llama/alpaca一样的prompt,理论上是通用的。中文embedding因为替换了token的含义,对直接使用不同embedding训练出来的lora可能是有影响的,因为目前还没人公开基于llama的中文embedding,所以我们也无从验证

from chinese-vicuna.

LZY-the-boys avatar LZY-the-boys commented on August 15, 2024

见finetune.py里边的generate_prompt:

f"""Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
{data_point["instruction"]}

### Response:
{data_point["output"]}"""

from chinese-vicuna.

ZenXir avatar ZenXir commented on August 15, 2024

是的 看了这个 基本都差不多
你说的差异 具体是什么大佬?

from chinese-vicuna.

LZY-the-boys avatar LZY-the-boys commented on August 15, 2024

就是你如果训练用的不同的prompt,然后在生成的时候还是用的默认的prompt,效果就不一样了

from chinese-vicuna.

ZenXir avatar ZenXir commented on August 15, 2024

好的 我确认下 应该是一样的 前两天我简单跑了个用例

from chinese-vicuna.

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.