Update README.md
Browse files
README.md
CHANGED
@@ -57,8 +57,8 @@ def mean_pooling(model_output, attention_mask):
|
|
57 |
sentences = ["ืืื ืืืื ืืื", "ืืื ืืื ืืื", "ืืจืงืื ื ืงืื ื ืื ื ืคืืฆืืช"]
|
58 |
|
59 |
# Load model from HuggingFace Hub
|
60 |
-
tokenizer = AutoTokenizer.from_pretrained('
|
61 |
-
model = AutoModel.from_pretrained('
|
62 |
|
63 |
# Tokenize sentences
|
64 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
|
|
57 |
sentences = ["ืืื ืืืื ืืื", "ืืื ืืื ืืื", "ืืจืงืื ื ืงืื ื ืื ื ืคืืฆืืช"]
|
58 |
|
59 |
# Load model from HuggingFace Hub
|
60 |
+
tokenizer = AutoTokenizer.from_pretrained('MPA/sambert')
|
61 |
+
model = AutoModel.from_pretrained('MPA/sambert')
|
62 |
|
63 |
# Tokenize sentences
|
64 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|