Update README.md
Browse files
README.md
CHANGED
@@ -55,8 +55,9 @@ def mean_pooling(model_output, attention_mask):
|
|
55 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
56 |
|
57 |
# Load model from HuggingFace Hub
|
58 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
59 |
-
model = AutoModel.from_pretrained(
|
|
|
60 |
|
61 |
# Tokenize sentences
|
62 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
|
|
55 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
56 |
|
57 |
# Load model from HuggingFace Hub
|
58 |
+
tokenizer = AutoTokenizer.from_pretrained("KDHyun08/TAACO_STS")
|
59 |
+
model = AutoModel.from_pretrained("KDHyun08/TAACO_STS")
|
60 |
+
|
61 |
|
62 |
# Tokenize sentences
|
63 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|