models : change default hosting to Hugging Face

My Linode is running out of monthly bandwidth due to the big interest in
the project
This commit is contained in:
Georgi Gerganov
2022-11-15 19:47:06 +02:00
parent 83c742f1a7
commit 864a78a8d0
4 changed files with 24 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ if %argc% neq 1 (
set model=%1
for %%b in (%models%) do (
for %%b in (%models%) do (
if "%%b"=="%model%" (
CALL :download_model
goto :eof
@@ -41,7 +41,7 @@ if exist "ggml-%model%.bin" (
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://ggml.ggerganov.com/ggml-model-whisper-%model%.bin -OutFile ggml-%model%.bin"
if %ERRORLEVEL% neq 0 (
if %ERRORLEVEL% neq 0 (
echo Failed to download ggml model %model%
echo Please try again later or download the original Whisper model files and convert them yourself.
goto :eof