Gadersd / whisper-burn

A Rust implementation of OpenAI's Whisper model using the burn framework
MIT License
268 stars 33 forks source link

run by example encounted failure #3

Closed phlamenco closed 1 year ago

phlamenco commented 1 year ago

System: Win10 Rust version: 1.71.0 stable

I followed the instructions in the README file, after cargo run, I encounted this failure:

Failed to load tokenizer: Model "gpt2" on the Hub doesn't have a tokenizer
error: process didn't exit successfully: `target\release\whisper.exe audio.wav tiny` (exit code: 1)

It seems a dependency named tokenizer can't be initialized. How can I fix this error?

phlamenco commented 1 year ago

it seems this is caused by a bad network. After rerun the cargo, it downloaded something about 1.29Mb, and it works.