Update README.md
Browse files
README.md
CHANGED
@@ -85,3 +85,22 @@ or
|
|
85 |
```
|
86 |
./llama-server --hf-repo cstr/aya-expanse-8b-Q4_K_M-GGUF --hf-file aya-expanse-8b-q4_k_m.gguf -c 2048
|
87 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
```
|
86 |
./llama-server --hf-repo cstr/aya-expanse-8b-Q4_K_M-GGUF --hf-file aya-expanse-8b-q4_k_m.gguf -c 2048
|
87 |
```
|
88 |
+
|
89 |
+
### ollama
|
90 |
+
|
91 |
+
use a modelfile like:
|
92 |
+
|
93 |
+
```
|
94 |
+
FROM aya-expanse-8b-q4_k_m.gguf
|
95 |
+
TEMPLATE "{{ if .System }}<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>{{ .System }}<|END_OF_TURN_TOKEN|>
|
96 |
+
{{ end }}{{ if .Prompt }}<|START_OF_TURN_TOKEN|><|USER_TOKEN|>{{ .Prompt }}<|END_OF_TURN_TOKEN|>
|
97 |
+
{{ end }}<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>"
|
98 |
+
|
99 |
+
PARAMETER num_ctx 8192
|
100 |
+
PARAMETER stop "<|END_OF_TURN_TOKEN|>"
|
101 |
+
PARAMETER stop "<|START_OF_TURN_TOKEN|>"
|
102 |
+
PARAMETER stop "|END_OF_TURN_TOKEN"
|
103 |
+
PARAMETER stop "|START_OF_TURN_TOKEN"
|
104 |
+
|
105 |
+
SYSTEM "You are Aya, a brilliant, sophisticated, multilingual AI-assistant trained to assist human users by providing thorough responses. You are able to interact and respond to questions in 23 languages and you are powered by a multilingual model built by Cohere For AI."
|
106 |
+
```
|