Skip to content

Commit f8bb268

Browse files
author
Vaijanath Rao
committed
code update
1 parent 2a5a1b1 commit f8bb268

File tree

10 files changed

+921
-78
lines changed

10 files changed

+921
-78
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ env:
88
MODEL_NAME: codellama-7b.Q2_K.gguf
99
RERANKING_MODEL_URL: https://huggingface.co/gpustack/jina-reranker-v1-tiny-en-GGUF/resolve/main/jina-reranker-v1-tiny-en-Q4_0.gguf
1010
RERANKING_MODEL_NAME: jina-reranker-v1-tiny-en-Q4_0.gguf
11+
TOOL_CALLING_MODEL_URL: https://huggingface.co/unsloth/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q8_0.gguf
12+
TOOL_CALLING_MODEL_NAME:Llama-3.2-3B-Instruct-Q8_0.gguf
1113
jobs:
1214

1315
build-and-test-linux:
@@ -27,6 +29,8 @@ jobs:
2729
run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
2830
- name: Download reranking model
2931
run: curl -L ${RERANKING_MODEL_URL} --create-dirs -o models/${RERANKING_MODEL_NAME}
32+
- name: Download tool calling model
33+
run: curl -L ${TOOL_CALLING_MODEL_URL} --create-dirs -o models/${TOOL_CALLING_MODEL_NAME}
3034
- name: List files in models directory
3135
run: ls -l models/
3236
- name: Run tests
@@ -63,6 +67,8 @@ jobs:
6367
run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
6468
- name: Download reranking model
6569
run: curl -L ${RERANKING_MODEL_URL} --create-dirs -o models/${RERANKING_MODEL_NAME}
70+
- name: Download tool calling model
71+
run: curl -L ${TOOL_CALLING_MODEL_URL} --create-dirs -o models/${TOOL_CALLING_MODEL_NAME}
6672
- name: List files in models directory
6773
run: ls -l models/
6874
- name: Run tests
@@ -91,6 +97,8 @@ jobs:
9197
run: curl -L $env:MODEL_URL --create-dirs -o models/$env:MODEL_NAME
9298
- name: Download reranking model
9399
run: curl -L $env:RERANKING_MODEL_URL --create-dirs -o models/$env:RERANKING_MODEL_NAME
100+
- name: Download tool calling model
101+
run: curl -L $env:TOOL_CALLING_MODEL_URL --create-dirs -o models/$env:TOOL_CALLING_MODEL_NAME
94102
- name: List files in models directory
95103
run: ls -l models/
96104
- name: Run tests

.github/workflows/release.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ env:
1313
MODEL_NAME: "codellama-7b.Q2_K.gguf"
1414
RERANKING_MODEL_URL: "https://huggingface.co/gpustack/jina-reranker-v1-tiny-en-GGUF/resolve/main/jina-reranker-v1-tiny-en-Q4_0.gguf"
1515
RERANKING_MODEL_NAME: "jina-reranker-v1-tiny-en-Q4_0.gguf"
16+
TOOL_CALLING_MODEL_URL: "https://huggingface.co/unsloth/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q8_0.gguf"
17+
TOOL_CALLING_MODEL_NAME:"Llama-3.2-3B-Instruct-Q8_0.gguf"
1618
jobs:
1719

1820
# todo: doesn't work with the newest llama.cpp version
@@ -150,6 +152,8 @@ jobs:
150152
run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
151153
- name: Download reranking model
152154
run: curl -L ${RERANKING_MODEL_URL} --create-dirs -o models/${RERANKING_MODEL_NAME}
155+
- name: Download tool calling model
156+
run: curl -L ${TOOL_CALLING_MODEL_URL} --create-dirs -o models/${TOOL_CALLING_MODEL_NAME}
153157
- uses: actions/setup-java@v4
154158
with:
155159
distribution: 'zulu'

pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@
6565
<version>24.1.0</version>
6666
<scope>compile</scope>
6767
</dependency>
68+
69+
<!--
70+
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
71+
<dependency>
72+
<groupId>com.fasterxml.jackson.core</groupId>
73+
<artifactId>jackson-databind</artifactId>
74+
<version>2.18.3</version>
75+
</dependency>
76+
77+
78+
6879
</dependencies>
6980

7081
<build>

0 commit comments

Comments
 (0)