Skip to content

Commit 84d6e5a

Browse files
authored
chore(model-gallery): add more quants for popular models (#3365)
* models(gallery): add higher quants for some llama and hermes Signed-off-by: Ettore Di Giacinto <[email protected]> * models(gallery): vllm: specify a reasonable max_tokens Signed-off-by: Ettore Di Giacinto <[email protected]> --------- Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent ac5f6f2 commit 84d6e5a

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

gallery/hermes-vllm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: "hermes-vllm"
33

44
config_file: |
55
backend: vllm
6+
parameters:
7+
max_tokens: 8192
68
context_size: 8192
79
stopwords:
810
- "<|im_end|>"

gallery/index.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,24 @@
8585
- filename: Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf
8686
sha256: c2f17f44af962660d1ad4cb1af91a731f219f3b326c2b14441f9df1f347f2815
8787
uri: huggingface://MaziyarPanahi/Meta-Llama-3.1-8B-Instruct-GGUF/Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf
88+
- !!merge <<: *llama31
89+
name: "meta-llama-3.1-8b-instruct:Q8_grammar-functioncall"
90+
url: "github:mudler/LocalAI/gallery/llama3.1-instruct-grammar.yaml@master"
91+
urls:
92+
- https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct
93+
- https://huggingface.co/MaziyarPanahi/Meta-Llama-3.1-8B-Instruct-GGUF
94+
description: |
95+
This is the standard Llama 3.1 8B Instruct model with grammar and function call enabled.
96+
97+
When grammars are enabled in LocalAI, the LLM is forced to output valid tools constrained by BNF grammars. This can be useful for ensuring that the model outputs are valid and can be used in a production environment.
98+
For more information on how to use grammars in LocalAI, see https://localai.io/features/openai-functions/#advanced and https://localai.io/features/constrained_grammars/.
99+
overrides:
100+
parameters:
101+
model: Meta-Llama-3.1-8B-Instruct.Q8_0.gguf
102+
files:
103+
- filename: Meta-Llama-3.1-8B-Instruct.Q8_0.gguf
104+
sha256: f8d608c983b83a1bf28229bc9beb4294c91f5d4cbfe2c1829566b4d7c4693eeb
105+
uri: huggingface://MaziyarPanahi/Meta-Llama-3.1-8B-Instruct-GGUF/Meta-Llama-3.1-8B-Instruct.Q8_0.gguf
88106
- !!merge <<: *llama31
89107
name: "meta-llama-3.1-8b-claude-imat"
90108
urls:
@@ -4737,6 +4755,21 @@
47374755
- filename: Hermes-3-Llama-3.1-8B.Q4_K_M.gguf
47384756
sha256: d4403ce5a6e930f4c2509456388c20d633a15ff08dd52ef3b142ff1810ec3553
47394757
uri: huggingface://NousResearch/Hermes-3-Llama-3.1-8B-GGUF/Hermes-3-Llama-3.1-8B.Q4_K_M.gguf
4758+
- !!merge <<: *hermes-2-pro-mistral
4759+
name: "hermes-3-llama-3.1-8b:Q8"
4760+
icon: https://cdn-uploads.huggingface.co/production/uploads/6317aade83d8d2fd903192d9/bMcZ3sNNQK8SRZpHXBmwM.jpeg
4761+
urls:
4762+
- https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B
4763+
- https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B-GGUF
4764+
description: |
4765+
Hermes 3 is a generalist language model developed by Nous Research. It is an advanced agentic model with improved roleplaying, reasoning, multi-turn conversation, long context coherence, and generalist assistant capabilities. The model is built on top of the Llama-3 architecture and has been fine-tuned to achieve superior performance in various tasks. It is designed to be a powerful and reliable tool for solving complex problems and assisting users in achieving their goals. Hermes 3 can be used for a wide range of applications, including research, education, and personal assistant tasks. It is available on the Hugging Face model hub for easy access and integration into existing workflows.
4766+
overrides:
4767+
parameters:
4768+
model: Hermes-3-Llama-3.1-8B.Q8_0.gguf
4769+
files:
4770+
- filename: Hermes-3-Llama-3.1-8B.Q8_0.gguf
4771+
sha256: c77c263f78b2f56fbaddd3ef2af750fda6ebb4344a546aaa0bfdd546b1ca8d84
4772+
uri: huggingface://NousResearch/Hermes-3-Llama-3.1-8B-GGUF/Hermes-3-Llama-3.1-8B.Q8_0.gguf
47404773
- !!merge <<: *hermes-2-pro-mistral
47414774
name: "hermes-3-llama-3.1-70b"
47424775
icon: https://cdn-uploads.huggingface.co/production/uploads/6317aade83d8d2fd903192d9/vG6j5WxHX09yj32vgjJlI.jpeg
@@ -4752,6 +4785,21 @@
47524785
- filename: Hermes-3-Llama-3.1-70B.Q4_K_M.gguf
47534786
sha256: 955c2f42caade4278f3c9dbffa32bb74572652b20e49e5340e782de3585bbe3f
47544787
uri: huggingface://NousResearch/Hermes-3-Llama-3.1-70B-GGUF/Hermes-3-Llama-3.1-70B.Q4_K_M.gguf
4788+
- !!merge <<: *hermes-2-pro-mistral
4789+
name: "hermes-3-llama-3.1-70b:Q5_K_M"
4790+
icon: https://cdn-uploads.huggingface.co/production/uploads/6317aade83d8d2fd903192d9/vG6j5WxHX09yj32vgjJlI.jpeg
4791+
urls:
4792+
- https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-70B
4793+
- https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-70B-GGUF
4794+
description: |
4795+
Hermes 3 is a generalist language model with many improvements over Hermes 2, including advanced agentic capabilities, much better roleplaying, reasoning, multi-turn conversation, long context coherence, and improvements across the board. It is designed to focus on aligning LLMs to the user, with powerful steering capabilities and control given to the end user. The model uses ChatML as the prompt format, opening up a much more structured system for engaging the LLM in multi-turn chat dialogue. It also supports function calling and structured output capabilities, generalist assistant capabilities, and improved code generation skills.
4796+
overrides:
4797+
parameters:
4798+
model: Hermes-3-Llama-3.1-70B.Q5_K_M.gguf
4799+
files:
4800+
- filename: Hermes-3-Llama-3.1-70B.Q5_K_M.gguf
4801+
sha256: 10ae3e0441b14c4a6476436f3c14e8bcacc7928aa3e8ce978d053287289a7ebb
4802+
uri: huggingface://NousResearch/Hermes-3-Llama-3.1-70B-GGUF/Hermes-3-Llama-3.1-70B.Q5_K_M.gguf
47554803
- &hermes-vllm
47564804
url: "github:mudler/LocalAI/gallery/hermes-vllm.yaml@master"
47574805
name: "hermes-3-llama-3.1-8b:vllm"

gallery/vllm.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
name: "vllm"
33

44
config_file: |
5+
context_size: 8192
6+
parameters:
7+
max_tokens: 8192
58
backend: vllm
69
function:
710
disable_no_action: true

0 commit comments

Comments
 (0)