Skip to content

Commit f8ca119

Browse files
committed
chore(deps): bump llama.cpp to 'fef693dc6b959a8e8ba11558fbeaad0b264dd457'
Also try to use a smaller model for integration tests Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 9650d49 commit f8ca119

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BINARY_NAME=local-ai
66
DETECT_LIBS?=true
77

88
# llama.cpp versions
9-
CPPLLAMA_VERSION?=d13d0f6135803822ec1cd7e3efb49360b88a1bdf
9+
CPPLLAMA_VERSION?=fef693dc6b959a8e8ba11558fbeaad0b264dd457
1010

1111
# whisper.cpp version
1212
WHISPER_REPO?=https://github.com/ggml-org/whisper.cpp
@@ -453,7 +453,7 @@ run: prepare ## run local-ai
453453
test-models/testmodel.ggml:
454454
mkdir test-models
455455
mkdir test-dir
456-
wget -q https://huggingface.co/RichardErkhov/Qwen_-_Qwen2-1.5B-Instruct-gguf/resolve/main/Qwen2-1.5B-Instruct.Q2_K.gguf -O test-models/testmodel.ggml
456+
wget -q https://huggingface.co/mradermacher/gpt2-alpaca-gpt4-GGUF/resolve/main/gpt2-alpaca-gpt4.Q4_K_M.gguf -O test-models/testmodel.ggml
457457
wget -q https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin -O test-models/whisper-en
458458
wget -q https://huggingface.co/mudler/all-MiniLM-L6-v2/resolve/main/ggml-model-q4_0.bin -O test-models/bert
459459
wget -q https://cdn.openai.com/whisper/draft-20220913a/micro-machines.wav -O test-dir/audio.wav

core/http/app_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ const bearerKey = "Bearer " + apiKey
3535
const testPrompt = `### System:
3636
You are an AI assistant that follows instruction extremely well. Help as much as you can.
3737
38-
### User:
38+
### Instruction:
3939
40-
Can you help rephrasing sentences?
40+
Say hello.
4141
4242
### Response:`
4343

0 commit comments

Comments
 (0)