Update README.md
Browse files
README.md
CHANGED
@@ -184,7 +184,7 @@ from transformers import LlamaTokenizer, MixtralForCausalLM
|
|
184 |
import bitsandbytes, flash_attn
|
185 |
|
186 |
tokenizer = LlamaTokenizer.from_pretrained('NousResearch/Nous-Hermes-2-Mistral-7B-DPO', trust_remote_code=True)
|
187 |
-
model =
|
188 |
"NousResearch/Nous-Hermes-2-Mistral-7B-DPO",
|
189 |
torch_dtype=torch.float16,
|
190 |
device_map="auto",
|
|
|
184 |
import bitsandbytes, flash_attn
|
185 |
|
186 |
tokenizer = LlamaTokenizer.from_pretrained('NousResearch/Nous-Hermes-2-Mistral-7B-DPO', trust_remote_code=True)
|
187 |
+
model = MistralForCausalLM.from_pretrained(
|
188 |
"NousResearch/Nous-Hermes-2-Mistral-7B-DPO",
|
189 |
torch_dtype=torch.float16,
|
190 |
device_map="auto",
|