GithubHelp home page GithubHelp logo

Comments (10)

Data2Me avatar Data2Me commented on May 13, 2024 1

spm_model_file = '../ChatLLaMA-zh-7B/tokenizer.model'这个分词模型是不是损坏了?

我测试了没有遇到这个问题,检查一下Sentencepiece版本? 我这里是0.1.97

我这边Sentencepiece版本也是0.1.97,刚试了还是报错: File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 310, in LoadFromFile return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg) RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())]

已解决,重新下载模型权重文件。git clone时要安装git lfs

from linly.

davikl avatar davikl commented on May 13, 2024

我也是求教

from linly.

rayguo01 avatar rayguo01 commented on May 13, 2024

同样出错

from linly.

guanlinz avatar guanlinz commented on May 13, 2024

subscribe this issue as meet the same issue

from linly.

lylcst avatar lylcst commented on May 13, 2024

同样问题,怎么解决

from linly.

2775919186 avatar 2775919186 commented on May 13, 2024

spm_model_file = '../ChatLLaMA-zh-7B/tokenizer.model'这个分词模型是不是损坏了?

from linly.

Data2Me avatar Data2Me commented on May 13, 2024

同样出错

from linly.

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

spm_model_file = '../ChatLLaMA-zh-7B/tokenizer.model'这个分词模型是不是损坏了?

我测试了没有遇到这个问题,检查一下Sentencepiece版本? 我这里是0.1.97

from linly.

Data2Me avatar Data2Me commented on May 13, 2024

spm_model_file = '../ChatLLaMA-zh-7B/tokenizer.model'这个分词模型是不是损坏了?

我测试了没有遇到这个问题,检查一下Sentencepiece版本? 我这里是0.1.97

我这边Sentencepiece版本也是0.1.97,刚试了还是报错:
File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 310, in LoadFromFile
return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())]

from linly.

YYForReal avatar YYForReal commented on May 13, 2024

spm_model_file = '../ChatLLaMA-zh-7B/tokenizer.model'这个分词模型是不是损坏了?

我测试了没有遇到这个问题,检查一下Sentencepiece版本? 我这里是0.1.97

我这边Sentencepiece版本也是0.1.97,刚试了还是报错: File "/opt/conda/lib/python3.10/site-packages/sentencepiece/init.py", line 310, in LoadFromFile return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg) RuntimeError: Internal: src/sentencepiece_processor.cc(1101) [model_proto->ParseFromArray(serialized.data(), serialized.size())]

已解决,重新下载模型权重文件。git clone时要安装git lfs

安装之后下载模型权重文件速度太慢了,有什么好方法吗?

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.