summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-05 16:05:03 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-05 16:05:03 +0300
commitc2c107c78688dedb8429ef13bd0aa102eeb32fdb (patch)
tree9b73217d135e0c3a6dc620709af8501d98a69cae /Makefile
parentc2757653a3429ab3f9e76081328a3877bc11ed4d (diff)
Dep: make-fetch onnx embed gemma
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9113919..4314d99 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,9 @@ lint: ## Run linters. Use make install-linters first.
lintall: lint
noblanks ./...
+fetch-onnx:
+ mkdir -p onnx/embedgemma && curl -o onnx/embedgemma/config.json -L https://huggingface.co/onnx-community/embeddinggemma-300m-ONNX/resolve/main/config.json && curl -o onnx/embedgemma/tokenizer.json -L https://huggingface.co/onnx-community/embeddinggemma-300m-ONNX/resolve/main/tokenizer.json && curl -o onnx/embedgemma/model_q4.onnx -L https://huggingface.co/onnx-community/embeddinggemma-300m-ONNX/resolve/main/onnx/model_q4.onnx && curl -o onnx/embedgemma/model_q4.onnx_data -L https://huggingface.co/onnx-community/embeddinggemma-300m-ONNX/resolve/main/onnx/model_q4.onnx_data?download=true
+
# Whisper STT Setup (in batteries directory)
setup-whisper: build-whisper download-whisper-model