Code Monkey home page Code Monkey logo

Comments (3)

Facico avatar Facico commented on May 12, 2024 3

里面默认参数在开发的过程中可能会换成一些本地路径,可能有时候没注意修改就传上来了,也许有时候不能直接用

  • 1、是一样的,之前为了方便就直接把模型传在github上了
  • 2、对,现在除了标明是13b的是用3090跑的,其他的base model都是7b然后用2080跑的
  • 3、generate是单轮指令对话,interaction是多轮对话(里面的全局指令不一样),你也可以使用chat.py(chat.sh),有更方便的接口,因为周末刚开发完还没写对应的文档。

from chinese-vicuna.

Facico avatar Facico commented on May 12, 2024 1

@Harpsichord1207
你可以使用下面命令,将model_path 和lora_path 指定一下:
python generate.py --model_path decapoda-research/llama-7b-hf --lora_path Facico/Chinese-Vicuna-lora-7b-3epoch-belle-and-guanaco --use_local 0

from chinese-vicuna.

Harpsichord1207 avatar Harpsichord1207 commented on May 12, 2024

@Facico OK了,谢谢,我以为里面默认的参数也可以运行。 另外请问一下:

  1. 您给的示例命令里的Facico/Chinese-Vicuna-lora-7b-3epoch-belle-and-guanacolora-Vicuna/checkpoint-final是一样的吗?如果不是,哪个效果好呢?
  2. 我用lora-Vicuna/checkpoint-final,上游模型选择13B来运行,会报错,目前的checkpoint都是只能在7B下运行是吗
  3. generate.pyinteraction.py有什么区别

谢谢~

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.