File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1111env :
1212 MODEL_URL : " https://huggingface.co/TheBloke/CodeLlama-7B-GGUF/resolve/main/codellama-7b.Q2_K.gguf"
1313 MODEL_NAME : " codellama-7b.Q2_K.gguf"
14+ RERANKING_MODEL_URL : " https://huggingface.co/gpustack/jina-reranker-v1-tiny-en-GGUF/resolve/main/jina-reranker-v1-tiny-en-Q4_0.gguf"
15+ RERANKING_MODEL_NAME : " jina-reranker-v1-tiny-en-Q4_0.gguf"
1416jobs :
1517
1618# todo: doesn't work with the newest llama.cpp version
@@ -144,8 +146,10 @@ jobs:
144146 with :
145147 name : Linux-x86_64-libraries
146148 path : ${{ github.workspace }}/src/main/resources/de/kherud/llama/
147- - name : Download model
149+ - name : Download text generation model
148150 run : curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
151+ - name : Download reranking model
152+ run : curl -L ${RERANKING_MODEL_URL} --create-dirs -o models/${RERANKING_MODEL_NAME}
149153 - uses : actions/setup-java@v4
150154 with :
151155 distribution : ' zulu'
You can’t perform that action at this time.
0 commit comments