Update README.md
Browse files
README.md
CHANGED
|
@@ -67,8 +67,8 @@ def mean_pooling(model_output, attention_mask):
|
|
| 67 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
| 68 |
|
| 69 |
# Load model from HuggingFace Hub
|
| 70 |
-
tokenizer = AutoTokenizer.from_pretrained('aari1995/
|
| 71 |
-
model = AutoModel.from_pretrained('aari1995/
|
| 72 |
|
| 73 |
# Tokenize sentences
|
| 74 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
|
|
|
| 67 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
| 68 |
|
| 69 |
# Load model from HuggingFace Hub
|
| 70 |
+
tokenizer = AutoTokenizer.from_pretrained('aari1995/German_Semantic_STS_V2')
|
| 71 |
+
model = AutoModel.from_pretrained('aari1995/German_Semantic_STS_V2')
|
| 72 |
|
| 73 |
# Tokenize sentences
|
| 74 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|