Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ from transformers import AutoModelForCausalLM, AutoProcessor
|
|
| 13 |
import torch
|
| 14 |
|
| 15 |
DEVICE="cuda" if torch.cuda.is_available() else "mps" if torch.mps.is_available() else "cpu"
|
| 16 |
-
model_id = "
|
| 17 |
|
| 18 |
model = AutoModelForCausalLM.from_pretrained(
|
| 19 |
model_id, trust_remote_code=True, dtype=torch.bfloat16
|
|
|
|
| 13 |
import torch
|
| 14 |
|
| 15 |
DEVICE="cuda" if torch.cuda.is_available() else "mps" if torch.mps.is_available() else "cpu"
|
| 16 |
+
model_id = "pcuenq/PaddleOCR-VL-0.9B"
|
| 17 |
|
| 18 |
model = AutoModelForCausalLM.from_pretrained(
|
| 19 |
model_id, trust_remote_code=True, dtype=torch.bfloat16
|