Update README.md
Browse files
README.md
CHANGED
@@ -253,9 +253,9 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
253 |
from transformers import LlamaTokenizer, MixtralForCausalLM
|
254 |
import bitsandbytes, flash_attn
|
255 |
|
256 |
-
tokenizer = LlamaTokenizer.from_pretrained('NousResearch/
|
257 |
model = MistralForCausalLM.from_pretrained(
|
258 |
-
"NousResearch/
|
259 |
torch_dtype=torch.float16,
|
260 |
device_map="auto",
|
261 |
load_in_8bit=False,
|
|
|
253 |
from transformers import LlamaTokenizer, MixtralForCausalLM
|
254 |
import bitsandbytes, flash_attn
|
255 |
|
256 |
+
tokenizer = LlamaTokenizer.from_pretrained('NousResearch/Hermes-2-Pro-Mistral-7B', trust_remote_code=True)
|
257 |
model = MistralForCausalLM.from_pretrained(
|
258 |
+
"NousResearch/Hermes-2-Pro-Mistral-7B",
|
259 |
torch_dtype=torch.float16,
|
260 |
device_map="auto",
|
261 |
load_in_8bit=False,
|