macadeliccc
commited on
Commit
•
ea9d4e9
1
Parent(s):
3e63238
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1 |
---
|
2 |
license: cc-by-nc-sa-4.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-nc-sa-4.0
|
3 |
---
|
4 |
+
# NeuralCorso-7B
|
5 |
+
|
6 |
+
![image/webp](https://cdn-uploads.huggingface.co/production/uploads/6455cc8d679315e4ef16fbec/FuB0qNOzOaoDyAgeavLHo.webp)
|
7 |
+
|
8 |
+
This model is a merge of [macadeliccc/MBX-7B-v3-DPO](https://huggingface.co/macadeliccc/MBX-7B-v3-DPO) and [mlabonne/OmniNeuralBeagle-7B]()
|
9 |
+
|
10 |
+
## Code Example
|
11 |
+
|
12 |
+
```python
|
13 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
14 |
+
|
15 |
+
tokenizer = AutoTokenizer.from_pretrained("macadeliccc/NeuralCorso-7B")
|
16 |
+
model = AutoModelForCausalLM.from_pretrained("macadeliccc/NeuralCorso-7B")
|
17 |
+
|
18 |
+
messages = [
|
19 |
+
{"role": "system", "content": "Respond to the users request like a pirate"},
|
20 |
+
{"role": "user", "content": "Can you write me a quicksort algorithm?"}
|
21 |
+
]
|
22 |
+
gen_input = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
23 |
+
```
|