-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add gemma 2 * feat: add gemma 2 * feat: correct ngl --------- Co-authored-by: Van QA <[email protected]>
- Loading branch information
Showing
6 changed files
with
145 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...sion/resources/models/gemma-7b/model.json → .../resources/models/gemma-1.1-7b/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
extensions/inference-nitro-extension/resources/models/gemma-2-27b/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"sources": [ | ||
{ | ||
"filename": "gemma-2-27b-it-Q4_K_M.gguf", | ||
"url": "https://huggingface.co/bartowski/gemma-2-27b-it-GGUF/resolve/main/gemma-2-27b-it-Q4_K_M.gguf" | ||
} | ||
], | ||
"id": "gemma-2-27b-it", | ||
"object": "model", | ||
"name": "Gemma 2 27B Q4", | ||
"version": "1.0", | ||
"description": "Gemma is built from the same technology with Google's Gemini.", | ||
"format": "gguf", | ||
"settings": { | ||
"ctx_len": 8192, | ||
"prompt_template": "<bos><start_of_turn>user\n{prompt}<end_of_turn>\n<start_of_turn>model\n<end_of_turn>\n<start_of_turn>model\n", | ||
"llama_model_path": "gemma-2-27b-it-Q4_K_M.gguf", | ||
"ngl": 47 | ||
}, | ||
"parameters": { | ||
"temperature": 0.7, | ||
"top_p": 0.95, | ||
"stream": true, | ||
"max_tokens": 8192, | ||
"stop": [ | ||
"<end_of_turn>" | ||
], | ||
"frequency_penalty": 0, | ||
"presence_penalty": 0 | ||
}, | ||
"metadata": { | ||
"author": "Google", | ||
"tags": [ | ||
"27B", | ||
"Conversational", | ||
"Text-generation" | ||
], | ||
"size": 16600000000 | ||
}, | ||
"engine": "nitro" | ||
} |
42 changes: 42 additions & 0 deletions
42
extensions/inference-nitro-extension/resources/models/gemma-2-2b/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"sources": [ | ||
{ | ||
"filename": "gemma-2-2b-it-Q4_K_M.gguf", | ||
"url": "https://huggingface.co/bartowski/gemma-2-2b-it-GGUF/resolve/main/gemma-2-2b-it-Q4_K_M.gguf" | ||
} | ||
], | ||
"id": "gemma-2-2b-it", | ||
"object": "model", | ||
"name": "Gemma 2 2B Q4", | ||
"version": "1.0", | ||
"description": "Gemma is built from the same technology with Google's Gemini.", | ||
"format": "gguf", | ||
"settings": { | ||
"ctx_len": 8192, | ||
"prompt_template": "<bos><start_of_turn>user\n{prompt}<end_of_turn>\n<start_of_turn>model\n<end_of_turn>\n<start_of_turn>model\n", | ||
"llama_model_path": "gemma-2-2b-it-Q4_K_M.gguf", | ||
"ngl": 27 | ||
}, | ||
"parameters": { | ||
"temperature": 0.7, | ||
"top_p": 0.95, | ||
"stream": true, | ||
"max_tokens": 8192, | ||
"stop": [ | ||
"<end_of_turn>" | ||
], | ||
"frequency_penalty": 0, | ||
"presence_penalty": 0 | ||
}, | ||
"metadata": { | ||
"author": "Google", | ||
"tags": [ | ||
"2B", | ||
"Tiny", | ||
"Conversational", | ||
"Text-generation" | ||
], | ||
"size": 1710000000 | ||
}, | ||
"engine": "nitro" | ||
} |
41 changes: 41 additions & 0 deletions
41
extensions/inference-nitro-extension/resources/models/gemma-2-9b/model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"sources": [ | ||
{ | ||
"filename": "gemma-2-9b-it-Q4_K_M.gguf", | ||
"url": "https://huggingface.co/bartowski/gemma-2-9b-it-GGUF/resolve/main/gemma-2-9b-it-Q4_K_M.gguf" | ||
} | ||
], | ||
"id": "gemma-2-9b-it", | ||
"object": "model", | ||
"name": "Gemma 2 9B Q4", | ||
"version": "1.0", | ||
"description": "Gemma is built from the same technology with Google's Gemini.", | ||
"format": "gguf", | ||
"settings": { | ||
"ctx_len": 8192, | ||
"prompt_template": "<bos><start_of_turn>user\n{prompt}<end_of_turn>\n<start_of_turn>model\n<end_of_turn>\n<start_of_turn>model\n", | ||
"llama_model_path": "gemma-2-9b-it-Q4_K_M.gguf", | ||
"ngl": 43 | ||
}, | ||
"parameters": { | ||
"temperature": 0.7, | ||
"top_p": 0.95, | ||
"stream": true, | ||
"max_tokens": 8192, | ||
"stop": [ | ||
"<end_of_turn>" | ||
], | ||
"frequency_penalty": 0, | ||
"presence_penalty": 0 | ||
}, | ||
"metadata": { | ||
"author": "Google", | ||
"tags": [ | ||
"9B", | ||
"Conversational", | ||
"Text-generation" | ||
], | ||
"size": 5760000000 | ||
}, | ||
"engine": "nitro" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters