Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
Mistral Model Setup (#44)
Browse files Browse the repository at this point in the history
* Create mistral.yaml

Signed-off-by: lunamidori5 <118759930+lunamidori5@users.noreply.github.com>

* Update mistral.yaml

Signed-off-by: lunamidori5 <118759930+lunamidori5@users.noreply.github.com>

---------

Signed-off-by: lunamidori5 <118759930+lunamidori5@users.noreply.github.com>
  • Loading branch information
lunamidori5 authored Nov 1, 2023
1 parent 9521ccd commit 5bdf03f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions mistral.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "mistral"

description: |
This is a mistral model
license: "https://ai.meta.com/llama/license/"
urls:
- https://huggingface.co/TheBloke/Mistral-7B-OpenOrca-GGUF

config_file: |
name: mistral
context_size: 4096
f16: true
mmap: true
threads: 4
parameters:
model: mistral-7b-openorca.Q6_K.gguf
temperature: 0.2
top_k: 40
top_p: 0.95
template:
chat_message: chatml
chat: chatml-block
completion: completion
stopwords:
- <|im_end|>
prompt_templates:
- name: "chatml"
content: |
<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}}
{{if .Content}}{{.Content}}{{end}}
<|im_end|>
- name: "chatml-block"
content: |
{{.Input}}
<|im_start|>assistant
- name: "completion"
content: |
{{.Input}}
files:
- filename: "mistral-7b-openorca.Q6_K.gguf"
sha256: "21dd6b5a62e18dcc2e859315d485707d5df98b6b3a7b2a57ed378bcf790109f9"
uri: "https://huggingface.co/TheBloke/Mistral-7B-OpenOrca-GGUF/resolve/main/mistral-7b-openorca.Q6_K.gguf"

0 comments on commit 5bdf03f

Please sign in to comment.