Update README.md
Browse files
README.md
CHANGED
@@ -12,7 +12,7 @@ import requests
|
|
12 |
import torch
|
13 |
from transformers import AutoModelForCausalLM
|
14 |
|
15 |
-
model = AutoModelForCausalLM.from_pretrained("q-future/one-align", trust_remote_code=True,
|
16 |
torch_dtype=torch.float16, device_map="auto")
|
17 |
|
18 |
from PIL import Image
|
|
|
12 |
import torch
|
13 |
from transformers import AutoModelForCausalLM
|
14 |
|
15 |
+
model = AutoModelForCausalLM.from_pretrained("q-future/one-align", trust_remote_code=True, attn_implementation="eager",
|
16 |
torch_dtype=torch.float16, device_map="auto")
|
17 |
|
18 |
from PIL import Image
|