Fix
Browse filesAdd trust_remote_code
README.md
CHANGED
@@ -42,7 +42,7 @@ Note that no additional fine-tuning has been performed on this model. As such, i
|
|
42 |
import torch
|
43 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
44 |
|
45 |
-
model = AutoModelForCausalLM.from_pretrained("OxxoCodes/jamba-small-v2", torch_dtype=torch.bfloat16)
|
46 |
tokenizer = AutoTokenizer.from_pretrained("ai21labs/Jamba-v0.1")
|
47 |
|
48 |
with torch.no_grad():
|
|
|
42 |
import torch
|
43 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
44 |
|
45 |
+
model = AutoModelForCausalLM.from_pretrained("OxxoCodes/jamba-small-v2", torch_dtype=torch.bfloat16, trust_remote_code=True)
|
46 |
tokenizer = AutoTokenizer.from_pretrained("ai21labs/Jamba-v0.1")
|
47 |
|
48 |
with torch.no_grad():
|