Giter Club home page Giter Club logo

Comments (11)

ydli-ai avatar ydli-ai commented on May 9, 2024

有运行参数或者示例吗

from linly.

dtxwhzw avatar dtxwhzw commented on May 9, 2024

有运行参数或者示例吗

用以下命令运行得到后面的结果
python3 scripts/generate_lm.py --load_model_path ../ChineseChatLLaMA//ChatLLaMA_7B.bin --spm_model_path ../ChineseChatLLaMA/tokenizer.model
--test_path beginning.txt --prediction_path generated_sentence.txt
--config_path models/llama/7b_config.json --seq_length 512
image

from linly.

15810856129 avatar 15810856129 commented on May 9, 2024

image
我这生成出来是乱码还是,看着这么别扭呢?

from linly.

ydli-ai avatar ydli-ai commented on May 9, 2024

from linly.

dtxwhzw avatar dtxwhzw commented on May 9, 2024

另外用python3 scripts/generate_lm_deepspeed.py 命令运行会得到以下错误,请问下是什么原因
image

from linly.

louisxavier123 avatar louisxavier123 commented on May 9, 2024

另外用python3 scripts/generate_lm_deepspeed.py 命令运行会得到以下错误,请问下是什么原因 image

deepspeed版本太新了,降回0.8.2就行

from linly.

dtxwhzw avatar dtxwhzw commented on May 9, 2024

另外用python3 scripts/generate_lm_deepspeed.py 命令运行会得到以下错误,请问下是什么原因 image

deepspeed版本太新了,降回0.8.2就行

降版本没啥用,还是这个问题

from linly.

louisxavier123 avatar louisxavier123 commented on May 9, 2024

另外用python3 scripts/generate_lm_deepspeed.py 命令运行会得到以下错误,请问下是什么原因 image

deepspeed版本太新了,降回0.8.2就行

降版本没啥用,还是这个问题

试试多降几个?我现在降到0.7.0就行了

from linly.

ydli-ai avatar ydli-ai commented on May 9, 2024

已更新,用新的脚本再试一下

from linly.

louisxavier123 avatar louisxavier123 commented on May 9, 2024

已更新,用新的脚本再试一下

image
跑不出来

from linly.

ydli-ai avatar ydli-ai commented on May 9, 2024

已解决,更新 generate_chatllama.py

from linly.

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.