macadeliccc
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -19,11 +19,16 @@ tokenizer = AutoTokenizer.from_pretrained("macadeliccc/MBX-7B-v3-DPO")
|
|
19 |
model = AutoModelForCausalLM.from_pretrained("macadeliccc/MBX-7B-v3-DPO")
|
20 |
|
21 |
messages = [
|
22 |
-
{"role": "system", "content": "
|
23 |
-
{"role": "user", "content": "Can you write me a
|
24 |
]
|
25 |
gen_input = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
26 |
```
|
|
|
|
|
|
|
|
|
|
|
27 |
## GGUF
|
28 |
|
29 |
Available [here](https://huggingface.co/macadeliccc/MBX-7B-v3-DPO-GGUF/tree/main)
|
|
|
19 |
model = AutoModelForCausalLM.from_pretrained("macadeliccc/MBX-7B-v3-DPO")
|
20 |
|
21 |
messages = [
|
22 |
+
{"role": "system", "content": "Respond to the users request like a pirate"},
|
23 |
+
{"role": "user", "content": "Can you write me a quicksort algorithm?"}
|
24 |
]
|
25 |
gen_input = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
26 |
```
|
27 |
+
|
28 |
+
## Example Output
|
29 |
+
|
30 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6455cc8d679315e4ef16fbec/g5_PTJhGJAcG88wmZz1IO.png)
|
31 |
+
|
32 |
## GGUF
|
33 |
|
34 |
Available [here](https://huggingface.co/macadeliccc/MBX-7B-v3-DPO-GGUF/tree/main)
|