Skip to content

Commit a8cfab4

Browse files
committed
Update default model to bartowski/Qwen2.5-7B-Instruct-GGUF/Qwen2.5-7B-Instruct-Q8_0.gguf
1 parent d8293c2 commit a8cfab4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

demo/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@st.cache_resource
1414
def load_model():
1515
return load_llama_cpp_model(
16-
"bartowski/Qwen2.5-3B-Instruct-GGUF/Qwen2.5-3B-Instruct-f16.gguf"
16+
"bartowski/Qwen2.5-7B-Instruct-GGUF/Qwen2.5-7B-Instruct-Q8_0.gguf"
1717
)
1818

1919

example_data/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
question: "What optimizer was used to train the model?"
22
input_file: example_data/1706.03762v7.pdf
33
output_dir: example_outputs/1706.03762v7.pdf
4-
model: "bartowski/Qwen2.5-3B-Instruct-GGUF/Qwen2.5-3B-Instruct-f16.gguf"
4+
model: "bartowski/Qwen2.5-7B-Instruct-GGUF/Qwen2.5-7B-Instruct-Q8_0.gguf"
55
find_prompt : |
66
You are given two pieces of information:
77
1. A list of valid section names.

src/structured_qa/cli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def structured_qa(
1616
input_file: str | None = None,
1717
output_dir: str | None = None,
1818
model: str
19-
| None = "bartowski/Qwen2.5-3B-Instruct-GGUF/Qwen2.5-3B-Instruct-f16.gguf",
19+
| None = "bartowski/Qwen2.5-7B-Instruct-GGUF/Qwen2.5-7B-Instruct-Q8_0.gguf",
2020
find_prompt: str = FIND_PROMPT,
2121
answer_prompt: str = ANSWER_PROMPT,
2222
from_config: str | None = None,
@@ -39,6 +39,7 @@ def structured_qa(
3939
```
4040
model: Model identifier formatted as `owner/repo/file`.
4141
Must be hosted at the HuggingFace Hub in GGUF format.
42+
Defaults to bartowski/Qwen2.5-7B-Instruct-GGUF/Qwen2.5-7B-Instruct-Q8_0.gguf.
4243
question: The question to answer.
4344
find_prompt: The prompt for finding the section.
4445

0 commit comments

Comments
 (0)