visheratin
commited on
Commit
•
1e9f46f
1
Parent(s):
b7f24e7
Update README.md
Browse files
README.md
CHANGED
@@ -37,9 +37,9 @@ from PIL import Image
|
|
37 |
import requests
|
38 |
import torch
|
39 |
|
40 |
-
model, transform = create_model_from_pretrained("nllb-clip-
|
41 |
|
42 |
-
tokenizer = get_tokenizer("nllb-clip-
|
43 |
|
44 |
class_options = ["бабочка", "butterfly", "kat"]
|
45 |
class_langs = ["rus_Cyrl", "eng_Latn", "afr_Latn"]
|
|
|
37 |
import requests
|
38 |
import torch
|
39 |
|
40 |
+
model, transform = create_model_from_pretrained("nllb-clip-large-siglip", "v1", device="cuda")
|
41 |
|
42 |
+
tokenizer = get_tokenizer("nllb-clip-large-siglip")
|
43 |
|
44 |
class_options = ["бабочка", "butterfly", "kat"]
|
45 |
class_langs = ["rus_Cyrl", "eng_Latn", "afr_Latn"]
|