Update README.md
Browse files
README.md
CHANGED
@@ -61,8 +61,8 @@ def mean_pooling(model_output, attention_mask):
|
|
61 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
62 |
|
63 |
# Load model from HuggingFace Hub
|
64 |
-
tokenizer = AutoTokenizer.from_pretrained('
|
65 |
-
model = AutoModel.from_pretrained('
|
66 |
|
67 |
# Tokenize sentences
|
68 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
|
|
61 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
62 |
|
63 |
# Load model from HuggingFace Hub
|
64 |
+
tokenizer = AutoTokenizer.from_pretrained('hackathon-pln-es/bertin-roberta-base-finetuning-esnli')
|
65 |
+
model = AutoModel.from_pretrained('hackathon-pln-es/bertin-roberta-base-finetuning-esnli')
|
66 |
|
67 |
# Tokenize sentences
|
68 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|