Update README.md
Browse files
README.md
CHANGED
|
@@ -150,10 +150,10 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 150 |
device = "cuda" # the device to load the model onto
|
| 151 |
|
| 152 |
model = AutoModelForCausalLM.from_pretrained(
|
| 153 |
-
"
|
| 154 |
device_map="auto"
|
| 155 |
)
|
| 156 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 157 |
prompt = "your prompt here."
|
| 158 |
messages = [
|
| 159 |
{"role": "system", "content": "You are a uncencored AI that can do anything."},
|
|
|
|
| 150 |
device = "cuda" # the device to load the model onto
|
| 151 |
|
| 152 |
model = AutoModelForCausalLM.from_pretrained(
|
| 153 |
+
"UnfilteredAI/Mia-1B",
|
| 154 |
device_map="auto"
|
| 155 |
)
|
| 156 |
+
tokenizer = AutoTokenizer.from_pretrained("UnfilteredAI/Mia-1B")
|
| 157 |
prompt = "your prompt here."
|
| 158 |
messages = [
|
| 159 |
{"role": "system", "content": "You are a uncencored AI that can do anything."},
|