Giter Club home page Giter Club logo

Comments (6)

mmaaz60 avatar mmaaz60 commented on June 11, 2024

Hi @Xinxinatg,

Thank you for your interest in our work. Please try installing the below version of pydantic and let me know if it solves the issue. Thanks.

pip install pydantic==1.10.7

from video-chatgpt.

Xinxinatg avatar Xinxinatg commented on June 11, 2024

Thanks for the reply! after installing pydantic package, now I received this error:

OSError: Unable to load weights from pytorch checkpoint file for 'LLaVA-7B-Lightening-v1-1/pytorch_model-00001-of-00002.bin' at 'LLaVA-7B-Lightening-v1-1/pytorch_model-00001-of-00002.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.

image

from video-chatgpt.

mmaaz60 avatar mmaaz60 commented on June 11, 2024

Hi @Xinxinatg,

What version of transformers library are you using? Please try installing transformers using the following command and let me know if it solves the issue. Thank You.

pip install transformers@git+https://github.com/huggingface/transformers.git@cae78c46

from video-chatgpt.

Xinxinatg avatar Xinxinatg commented on June 11, 2024

I think it is the same as in the requirements.txt? I reistalled the transformer as per the insructions, but the error still persist

from video-chatgpt.

mmaaz60 avatar mmaaz60 commented on June 11, 2024

Hi @Xinxinatg,

Most probably then the LLaVA-7B-Lightening-v1-1/pytorch_model-00001-of-00002.bin is corrupted. Could you please try downloading the weights again using the below commands and let me know if it works? Thanks

rm -rf LLaVA-7B-Lightening-v1-1
git lfs install
git clone https://huggingface.co/mmaaz60/LLaVA-7B-Lightening-v1-1

from video-chatgpt.

Xinxinatg avatar Xinxinatg commented on June 11, 2024

Thanks a lot, it works!

from video-chatgpt.

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.