Update README.md
Browse files
README.md
CHANGED
@@ -124,6 +124,29 @@ sequences = pipeline(
|
|
124 |
print(sequences[0]['generated_text'])
|
125 |
```
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
### Limitations
|
128 |
|
129 |
The Chocolatine model is a quick demonstration that a base model can be easily fine-tuned to achieve compelling performance.
|
|
|
124 |
print(sequences[0]['generated_text'])
|
125 |
```
|
126 |
|
127 |
+
* **4-bit quantized version** is available here : [jpacifico/Chocolatine-3B-Instruct-DPO-Revised-Q4_K_M-GGUF](https://huggingface.co/jpacifico/Chocolatine-3B-Instruct-DPO-Revised-Q4_K_M-GGUF)
|
128 |
+
|
129 |
+
* **Ollama**: [jpacifico/chocolatine-3b](https://ollama.com/jpacifico/chocolatine-3b)
|
130 |
+
|
131 |
+
```bash
|
132 |
+
ollama run jpacifico/chocolatine-3b
|
133 |
+
```
|
134 |
+
|
135 |
+
Ollama *Modelfile* example :
|
136 |
+
|
137 |
+
```bash
|
138 |
+
FROM ./chocolatine-3b-instruct-dpo-revised-q4_k_m.gguf
|
139 |
+
TEMPLATE """{{ if .System }}<|system|>
|
140 |
+
{{ .System }}<|end|>
|
141 |
+
{{ end }}{{ if .Prompt }}<|user|>
|
142 |
+
{{ .Prompt }}<|end|>
|
143 |
+
{{ end }}<|assistant|>
|
144 |
+
{{ .Response }}<|end|>
|
145 |
+
"""
|
146 |
+
PARAMETER stop """{"stop": ["<|end|>","<|user|>","<|assistant|>"]}"""
|
147 |
+
SYSTEM """You are a friendly assistant called Chocolatine."""
|
148 |
+
```
|
149 |
+
|
150 |
### Limitations
|
151 |
|
152 |
The Chocolatine model is a quick demonstration that a base model can be easily fine-tuned to achieve compelling performance.
|