feat: inference with alpaca prompt script added
This commit is contained in:
parent
11dc1091f6
commit
3c91fb67ef
1 changed files with 19 additions and 0 deletions
19
inference_test/chat.sh
Executable file
19
inference_test/chat.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Temporary script - will be removed in the future
|
||||
#
|
||||
|
||||
cd `dirname $0`
|
||||
cd ..
|
||||
|
||||
./main -m ./models/llama-2-7b-pubmed-qa-211k_q8_0.gguf\
|
||||
--color \
|
||||
-f ./prompts/alpaca.txt \
|
||||
--ctx_size 2048 \
|
||||
-n -1 \
|
||||
-ins -b 256 \
|
||||
--top_k 10000 \
|
||||
--temp 0.2 \
|
||||
--repeat_penalty 1.1 \
|
||||
-t 7
|
Loading…
Add table
Add a link
Reference in a new issue