Persival123
commited on
Commit
•
c7f577e
1
Parent(s):
38b4d33
Upload 4 files
Browse files- Modelfile_q8_0 +16 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
Modelfile_q8_0
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Modelfile generated by "ollama show"
|
2 |
+
# To build a new Modelfile based on this one, replace the FROM line with:
|
3 |
+
# FROM mistral:latest
|
4 |
+
##Chat template is chat_template to {{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token + ' ' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}
|
5 |
+
FROM /workspace/local/mistral7b/mistral-sticksecure-identify-controls-v12/merge3000/mistral-sticksecure-identify-controls-v10-q8_0.gguf
|
6 |
+
TEMPLATE """[INST] {{ .System }} {{ .Prompt }} [/INST]"""
|
7 |
+
#TEMPLATE """[INST] { .Prompt } [/INST]"""
|
8 |
+
#PARAMETER num_ctx 32768
|
9 |
+
PARAMETER num_ctx 4096
|
10 |
+
PARAMETER temperature 0.4
|
11 |
+
PARAMETER num_predict 512
|
12 |
+
PARAMETER stop "</s>"
|
13 |
+
PARAMETER stop "[INST]"
|
14 |
+
PARAMETER stop "[/INST]"
|
15 |
+
PARAMETER stop "<<SYS>>"
|
16 |
+
PARAMETER stop "<</SYS>>"
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|