Update README.md
Browse files
README.md
CHANGED
@@ -58,7 +58,7 @@ from transformers import AutoTokenizer
|
|
58 |
import transformers
|
59 |
import torch
|
60 |
|
61 |
-
model = "mlabonne/Daredevil-8B"
|
62 |
messages = [{"role": "user", "content": "What is a large language model?"}]
|
63 |
|
64 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
@@ -72,4 +72,4 @@ pipeline = transformers.pipeline(
|
|
72 |
|
73 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
74 |
print(outputs[0]["generated_text"])
|
75 |
-
```
|
|
|
58 |
import transformers
|
59 |
import torch
|
60 |
|
61 |
+
model = "mlabonne/Daredevil-8B-abliterated"
|
62 |
messages = [{"role": "user", "content": "What is a large language model?"}]
|
63 |
|
64 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
|
|
72 |
|
73 |
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
74 |
print(outputs[0]["generated_text"])
|
75 |
+
```
|