Skip to content

Commit

Permalink
misc fixes
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <grpereir@redhat.com>
  • Loading branch information
Gregory-Pereira committed Apr 29, 2024
1 parent 5bbe221 commit fcb16cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion model_servers/whispercpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MODEL_NAME ?= ggml-small.bin
.PHONY: all
all: build download-model-whisper-small run

.PHONY: download-model-whisper-small # small .bin model type testing
.PHONY: download-model-whisper-small
download-model-whisper-small:
cd ../../models && \
make download-model-whisper-small
4 changes: 2 additions & 2 deletions models/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ download-model-mistral:
$(MAKE) MODEL_NAME=mistral-7b-instruct-v0.2.Q4_K_M.gguf MODEL_URL=https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_K_M.gguf download-model

.PHONY: download-model-mistral-code
download-mode-mistral-code:
$(MAKE) MODEL_NAME=mistral-7b-code-16k-qlora.Q4_K_M.gguf MODEL_URL=https://huggingface.co/TheBloke/Mistral-7B-Code-16K-qlora-GGUF/resolve/main/mistral-7b-code-16k-qlora.Q4_K_M.gguf
download-model-mistral-code:
$(MAKE) MODEL_NAME=mistral-7b-code-16k-qlora.Q4_K_M.gguf MODEL_URL=https://huggingface.co/TheBloke/Mistral-7B-Code-16K-qlora-GGUF/resolve/main/mistral-7b-code-16k-qlora.Q4_K_M.gguf download-model

.PHONY: clean
clean:
Expand Down
1 change: 1 addition & 0 deletions recipes/natural_language_processing/codegen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ RECIPE_BINARIES_PATH := $(shell realpath ../../common/bin)
RELATIVE_MODELS_PATH := ../../../models
RELATIVE_TESTS_PATH := ../tests
MODEL_IMAGE := quay.io/ai-lab/mistral-7b-code-16k-qlora:latest
MODEL_NAME := mistral-7b-code-16k-qlora.Q4_K_M.gguf
6 changes: 0 additions & 6 deletions recipes/natural_language_processing/rag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,9 @@ performant mid-sized model with an apache-2.0 license that has been quanitzed an
The recommended model can be downloaded using the code snippet below:

```bash
<<<<<<< HEAD
cd models
wget https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_K_M.gguf
cd ../
=======
cd ../../../models
curl -sLO https://huggingface.co/instructlab/granite-7b-lab-GGUF/resolve/main/granite-7b-lab-Q4_K_M.gguf
cd ../recipes/natural_language_processing/rag
>>>>>>> 4f8f404 (swapping standard mistral with granite as default)
```

_A full list of supported open models is forthcoming._
Expand Down

0 comments on commit fcb16cf

Please sign in to comment.