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