mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-31 22:50:15 +01:00
Update download-model.bat
Removed redundant %ModelName% variable.
This commit is contained in:
parent
bddbc2f898
commit
586775ad47
@ -1,7 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
SET TextOnly=False &REM True or False for Text only mode
|
SET TextOnly=False &REM True or False for Text only mode
|
||||||
SET ModelName="chansung/alpaca-lora-13b" &REM HuggingFace model repo eg. "facebook/opt-1.3b"
|
|
||||||
|
|
||||||
cd /D "%~dp0"
|
cd /D "%~dp0"
|
||||||
|
|
||||||
@ -18,11 +17,11 @@ cd text-generation-webui || goto end
|
|||||||
goto %TextOnly%
|
goto %TextOnly%
|
||||||
|
|
||||||
:False
|
:False
|
||||||
call python download-model.py %ModelName%
|
call python download-model.py
|
||||||
goto end
|
goto end
|
||||||
|
|
||||||
:True
|
:True
|
||||||
call python download-model.py %ModelName% --text-only
|
call python download-model.py --text-only
|
||||||
|
|
||||||
:end
|
:end
|
||||||
pause
|
pause
|
||||||
|
Loading…
Reference in New Issue
Block a user