OxxoCodes commited on
Commit
481a13a
1 Parent(s): e726b82

Add trust_remote_code

Files changed (1) hide show
  1. README.md +1 -1
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():