Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ from PIL import Image
|
|
26 |
from transformers import AutoModelForCausalLM, AutoProcessor, BitsAndBytesConfig
|
27 |
torch.cuda.set_device(0)
|
28 |
|
29 |
-
model_id_or_path = "
|
30 |
|
31 |
model = AutoModelForCausalLM.from_pretrained(model_id_or_path, device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=True)
|
32 |
processor = AutoProcessor.from_pretrained(model_id_or_path, trust_remote_code=True)
|
|
|
26 |
from transformers import AutoModelForCausalLM, AutoProcessor, BitsAndBytesConfig
|
27 |
torch.cuda.set_device(0)
|
28 |
|
29 |
+
model_id_or_path = "leon-se/Aria-sequential_mlp-bnb_nf4"
|
30 |
|
31 |
model = AutoModelForCausalLM.from_pretrained(model_id_or_path, device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=True)
|
32 |
processor = AutoProcessor.from_pretrained(model_id_or_path, trust_remote_code=True)
|