mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
Allow alpaca.cpp --fetch
This commit is contained in:
parent
96857e732b
commit
d5fe043d76
1 changed files with 6 additions and 4 deletions
|
@ -11,7 +11,9 @@ export PATH="$D/tbin:$PATH"
|
||||||
|
|
||||||
alpaca.cpp-fetch-model "$MODEL_DIR" "$VERSION"
|
alpaca.cpp-fetch-model "$MODEL_DIR" "$VERSION"
|
||||||
|
|
||||||
exec "$D"/tbin/alpaca.cpp \
|
if test "$1" != '--fetch'; then
|
||||||
|
exec "$D"/tbin/alpaca.cpp \
|
||||||
--color \
|
--color \
|
||||||
--model "$MODEL_DIR"/ggml-alpaca-7b-q4.bin \
|
--model "$MODEL_DIR"/ggml-alpaca-7b-q4.bin \
|
||||||
"$@"
|
"$@"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue