Coder Social home page Coder Social logo

Comments (8)

OlivierDehaene avatar OlivierDehaene commented on May 13, 2024

What's the error? Can you use 0.5.0 instead of latest?
I'm unable to reproduce on my end.

from text-generation-inference.

MohamedAliRashad avatar MohamedAliRashad commented on May 13, 2024

@OlivierDehaene

ValueError: Couldn't instantiate the backend tokenizer from one of: 
(1) a `tokenizers` library serialization file, 
(2) a slow tokenizer instance to convert or 
(3) an equivalent slow tokenizer class to instantiate and convert. 
You need to have sentencepiece installed to convert a slow tokenizer to a fast one.

from text-generation-inference.

OlivierDehaene avatar OlivierDehaene commented on May 13, 2024

docker run --gpus all --shm-size 1g -p 8080:80 -v /home/mohamedr/cache:/data ghcr.io/huggingface/text-generation-inference:0.5.0 --model-id Tribbiani/vicuna-7b --num-shard 1 --max-total-tokens 2048

from text-generation-inference.

MohamedAliRashad avatar MohamedAliRashad commented on May 13, 2024

@OlivierDehaene
Still the same error

from text-generation-inference.

OlivierDehaene avatar OlivierDehaene commented on May 13, 2024

Can you clear your model cache (in /home/mohamedr/cache) and re-try?

from text-generation-inference.

MohamedAliRashad avatar MohamedAliRashad commented on May 13, 2024

@OlivierDehaene
Still the same problem

from text-generation-inference.

MohamedAliRashad avatar MohamedAliRashad commented on May 13, 2024

@OlivierDehaene
It now gives me this error:

ModuleNotFoundError: No module named 'einops'

from text-generation-inference.

MohamedAliRashad avatar MohamedAliRashad commented on May 13, 2024

It worked somehow in the new versions

from text-generation-inference.

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.