Giter VIP home page Giter VIP logo

Comments (6)

2132660698 avatar 2132660698 commented on August 11, 2024

应该是huggingface.co'对国内墙了,需要下载模型到本地,然后在代码里面修改模型路径。

from internlm-xcomposer.

XingchenMengxiang avatar XingchenMengxiang commented on August 11, 2024

应该是huggingface.co'对国内墙了,需要下载模型到本地,然后在代码里面修改模型路径。
已经本地地址了

self.llm_model = AutoModel.from_pretrained(
'/home/batch/data/internlm-xcomposer-vl-7b', local_files_only=True ,trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained(
'/home/batch/data/internlm-xcomposer-vl-7b', local_files_only=True ,trust_remote_code=True)

是不是哪里还需改 ?

from internlm-xcomposer.

2132660698 avatar 2132660698 commented on August 11, 2024

bert-base-uncased从huggingface.co下载后修改
huggingface\internlm-xcomposer\modeling_InternLM_XComposer.py

from internlm-xcomposer.

myownskyW7 avatar myownskyW7 commented on August 11, 2024

感谢报告这个问题,我们会很快检查和修复这个bug。

Thank you for reporting this bug. We will check and fix it very soon.

from internlm-xcomposer.

myownskyW7 avatar myownskyW7 commented on August 11, 2024

这个问题我们已经在Hugging Face的代码里面修复了,麻烦重新下载最新的代码试一下。如果有其他问题还请反馈,谢谢

The issue regarding Hugging Face access has been resolved. Please pull the latest version of the code on Hugging Face. If necessary, feel free to reopen this issue.

from internlm-xcomposer.

sssssshf avatar sssssshf commented on August 11, 2024

这个问题我们已经在Hugging Face的代码里面修复了,麻烦重新下载最新的代码试一下。如果有其他问题还请反馈,谢谢

The issue regarding Hugging Face access has been resolved. Please pull the latest version of the code on Hugging Face. If necessary, feel free to reopen this issue.

我把模型下载到本地了 用的最新的代码还是会出现这个问题

from internlm-xcomposer.

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.