Skip to content

Commit 61eb11a

Browse files
authored
Add gguf models to question answering notebook (#3091)
1 parent 2d29a7a commit 61eb11a

File tree

3 files changed

+123
-83
lines changed

3 files changed

+123
-83
lines changed

.ci/spellcheck/.pyspelling.wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ GenerationMixin
339339
Girshick
340340
Gitee
341341
GitHub
342+
GGUF
342343
GLA
343344
GLM
344345
glm
@@ -954,6 +955,7 @@ SML
954955
sml
955956
SmolDocling
956957
SmolVLM
958+
SmolLM
957959
softmax
958960
softvc
959961
SoftVC

notebooks/llm-question-answering/config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,9 @@
2222
"end_key": "<|eot_id|>",
2323
"prompt_template": "<|start_header_id|>system<|end_header_id|>\n\nBelow is an instruction that describes a task. Write a response that appropriately completes the request.<|eot_id|><|start_header_id|>user<|end_header_id|>Instruction: {instruction} Answer:<|eot_id|><|start_header_id|>assistant<|end_header_id|>",
2424
},
25+
"Qwen2.5-0.5B-Instruct-GGUF": {
26+
"model_id": "Qwen/Qwen2.5-0.5B-Instruct-GGUF",
27+
"gguf_file": ["qwen2.5-0.5b-instruct-fp16.gguf", "qwen2.5-0.5b-instruct-q4_0.gguf", "qwen2.5-0.5b-instruct-q8_0.gguf"],
28+
},
29+
"SmolLM2-135M-GGUF": {"model_id": "prithivMLmods/SmolLM2-135M-GGUF", "gguf_file": ["SmolLM2-135M.F16.gguf", "SmolLM2-135M.Q8_0.gguf"]},
2530
}

0 commit comments

Comments
 (0)