Update README.md
Browse files
README.md
CHANGED
@@ -40,7 +40,7 @@ import torch
|
|
40 |
model= AutoModel.from_pretrained('uitnlp/visobert')
|
41 |
tokenizer = AutoTokenizer.from_pretrained('uitnlp/visobert')
|
42 |
|
43 |
-
encoding = tokenizer('
|
44 |
|
45 |
with torch.no_grad():
|
46 |
output = model(**encoding)
|
|
|
40 |
model= AutoModel.from_pretrained('uitnlp/visobert')
|
41 |
tokenizer = AutoTokenizer.from_pretrained('uitnlp/visobert')
|
42 |
|
43 |
+
encoding = tokenizer('đậu xanh rau má', return_tensors='pt')
|
44 |
|
45 |
with torch.no_grad():
|
46 |
output = model(**encoding)
|