Update README.md
Browse files
README.md
CHANGED
|
@@ -91,7 +91,7 @@ from PIL import Image
|
|
| 91 |
import requests
|
| 92 |
import torch
|
| 93 |
|
| 94 |
-
config = AutoConfig.from_pretrained("benchang1110/
|
| 95 |
processor = AutoProcessor.from_pretrained("benchang1110/TaiVisionLM-base",trust_remote_code=True)
|
| 96 |
model = AutoModelForCausalLM.from_pretrained("benchang1110/TaiVisionLM-base",trust_remote_code=True,torch_dtype=torch.float16,attn_implementation="sdpa").to('cuda')
|
| 97 |
model.eval()
|
|
|
|
| 91 |
import requests
|
| 92 |
import torch
|
| 93 |
|
| 94 |
+
config = AutoConfig.from_pretrained("benchang1110/TaiVisionLM-base",trust_remote_code=True)
|
| 95 |
processor = AutoProcessor.from_pretrained("benchang1110/TaiVisionLM-base",trust_remote_code=True)
|
| 96 |
model = AutoModelForCausalLM.from_pretrained("benchang1110/TaiVisionLM-base",trust_remote_code=True,torch_dtype=torch.float16,attn_implementation="sdpa").to('cuda')
|
| 97 |
model.eval()
|