stefanoscotta
commited on
Commit
•
19629f7
1
Parent(s):
4b45407
Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ library_name: transformers
|
|
16 |
|
17 |
---
|
18 |
|
19 |
-
# Model Card raicrits/
|
20 |
|
21 |
<!-- Provide a quick summary of what the model is/does. -->
|
22 |
|
@@ -57,7 +57,7 @@ import torch
|
|
57 |
from transformers import AutoTokenizer, BertForSequenceClassification, BertTokenizer, AutoModelForCausalLM, pipeline
|
58 |
|
59 |
|
60 |
-
model_bert = torch.load('/
|
61 |
model_bert = model_bert.to(device_bert)
|
62 |
|
63 |
tokenizer_bert = AutoTokenizer.from_pretrained('bert-base-multilingual-cased')
|
|
|
16 |
|
17 |
---
|
18 |
|
19 |
+
# Model Card raicrits/BERT_ChangeOfTopic
|
20 |
|
21 |
<!-- Provide a quick summary of what the model is/does. -->
|
22 |
|
|
|
57 |
from transformers import AutoTokenizer, BertForSequenceClassification, BertTokenizer, AutoModelForCausalLM, pipeline
|
58 |
|
59 |
|
60 |
+
model_bert = torch.load('raicrits/BERT_ChangeOfTopic')
|
61 |
model_bert = model_bert.to(device_bert)
|
62 |
|
63 |
tokenizer_bert = AutoTokenizer.from_pretrained('bert-base-multilingual-cased')
|