Giter VIP home page Giter VIP logo

Comments (20)

Ayanaminn avatar Ayanaminn commented on July 17, 2024 2

添加了临时解决方案:
bad5a59

from n46whisper.

xyhxh46 avatar xyhxh46 commented on July 17, 2024

这个要你在Hugging Face的官网注册一个账号,然后生成一个Token,接着把它填入 Colab 左侧的 secret 栏,并且命名为 HF_TOKEN

from n46whisper.

yuehouqiyou avatar yuehouqiyou commented on July 17, 2024

这个要你在Hugging Face的官网注册一个账号,然后生成一个Token,接着把它填入 Colab 左侧的 secret 栏,并且命名为 HF_TOKEN

你成功了吗?为什么我设置了Token 还是有问题,一直卡在加载模型那一步。

from n46whisper.

xyhxh46 avatar xyhxh46 commented on July 17, 2024

这个要你在Hugging Face的官网注册一个账号,然后生成一个Token,接着把它填入 Colab 左侧的 secret 栏,并且命名为 HF_TOKEN

你成功了吗?为什么我设置了Token 还是有问题,一直卡在加载模型那一步。

你要不去看一下 issue#82

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

from google.colab import userdata
userdata.get('HF_TOKEN')

是不是还需要加这样一句 但不知道要加在哪里

from n46whisper.

xyhxh46 avatar xyhxh46 commented on July 17, 2024

from google.colab import userdata
userdata.get('HF_TOKEN')

是不是还需要加这样一句 但不知道要加在哪里

不用加,程序会自动识别你的密钥,加了也没用

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

还是不行呢,我确定新增了密钥,其他都没改,但就是过不去。
image

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

image
出现这个时我也允许授权了

from n46whisper.

xyhxh46 avatar xyhxh46 commented on July 17, 2024

image
出现这个时我也允许授权了

因为这个程序现在本来就不能用,你再怎么设置都是没意义的啊

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

这个程序现在本来就不能用?什么意思?

from n46whisper.

xyhxh46 avatar xyhxh46 commented on July 17, 2024

这个程序现在本来就不能用?什么意思?

就是不能用了啊,要等作者更新

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

那我也要谢谢你的指导。唉,用这个都因为缺一块高性能GPU~

from n46whisper.

Ayanaminn avatar Ayanaminn commented on July 17, 2024

这次这个问题大概并不是token的问题。HuggingfaceHub确实几周前更新了遇到没有设置token主动提醒用户以提高安全性,但是这个只是个提醒而已,不会影响后续代码的执行。
现在是卡在这一步执行不下去了
model = WhisperModel(model_size)
原因我也还没找到,正在研究

from n46whisper.

Ayanaminn avatar Ayanaminn commented on July 17, 2024

出现一直“加载模型”这个问题的原因是colab更新CUDA 12.2以后没有办法利用GPU了
参见 googlecolab/colabtools#4214

from n46whisper.

xyhxh46 avatar xyhxh46 commented on July 17, 2024

添加了临时解决方案:
bad5a59

作者牛的👍

from n46whisper.

yuehouqiyou avatar yuehouqiyou commented on July 17, 2024

添加了临时解决方案: bad5a59
谢谢大神

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

谢谢作者 你们都好了吗?为什么我还得不行,到这里就卡住了
加载模型 Loading model...
config.json: 100%
2.80k/2.80k [00:00<00:00, 215kB/s]

我也首先点了新笔记本中的第一条

Run this cell first!!.
先运行本格,按说明操作!!

from n46whisper.

yuehouqiyou avatar yuehouqiyou commented on July 17, 2024

谢谢作者 你们都好了吗?为什么我还得不行,到这里就卡住了 加载模型 Loading model... config.json: 100% 2.80k/2.80k [00:00<00:00, 215kB/s]

我也首先点了新笔记本中的第一条

Run this cell first!!. 先运行本格,按说明操作!!

你需要先:
image

我可以了
image

from n46whisper.

ShimamuraAdachii avatar ShimamuraAdachii commented on July 17, 2024

牛逼

from n46whisper.

iou3344 avatar iou3344 commented on July 17, 2024

谢谢作者 你们都好了吗?为什么我还得不行,到这里就卡住了 加载模型 Loading model... config.json: 100% 2.80k/2.80k [00:00<00:00, 215kB/s]
我也首先点了新笔记本中的第一条
Run this cell first!!. 先运行本格,按说明操作!!

你需要先: image

我可以了 image

谢谢 可以了 而且我一开始还犯了一个错误 我以为要输入全部信息 其实只需要输入 使用后备运行时版本 后面英文和括号不需要输入才行 才明白后面的英文是双语的提示~

from n46whisper.

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.