HeyLucasLeao
commited on
Commit
•
c6b367f
1
Parent(s):
50bf411
Update README.md
Browse files
README.md
CHANGED
@@ -50,8 +50,8 @@ else:
|
|
50 |
device = torch.device('cpu')
|
51 |
print(device)
|
52 |
|
53 |
-
tokenizer = AutoTokenizer.from_pretrained("HeyLucasLeao/byt5-
|
54 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("HeyLucasLeao/byt5-
|
55 |
model.to(device)
|
56 |
|
57 |
def classificar_review(review):
|
|
|
50 |
device = torch.device('cpu')
|
51 |
print(device)
|
52 |
|
53 |
+
tokenizer = AutoTokenizer.from_pretrained("HeyLucasLeao/byt5-base-pt-product-reviews")
|
54 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("HeyLucasLeao/byt5-base-pt-product-reviews")
|
55 |
model.to(device)
|
56 |
|
57 |
def classificar_review(review):
|