huynhtin commited on
Commit
d80b5ea
·
verified ·
1 Parent(s): 97a39a3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -147,9 +147,9 @@ def get_embedding(text):
147
  embedding = outputs.last_hidden_state[:, 0]
148
  return F.normalize(embedding, dim=-1)
149
 
150
- sentence1 = "Trí tuệ nhân tạo đang thay đổi cách con người làm việc."
151
- sentence2 = "AI đang làm thay đổi phương thức làm việc của con người."
152
- sentence3 = "Hôm nay thời tiết ở Thành phố Hồ Chí Minh rất nóng."
153
 
154
  emb1 = get_embedding(sentence1)
155
  emb2 = get_embedding(sentence2)
 
147
  embedding = outputs.last_hidden_state[:, 0]
148
  return F.normalize(embedding, dim=-1)
149
 
150
+ sentence1 = "Hà Nội là thủ đô của Việt Nam."
151
+ sentence2 = "Thành phố Hà Nội là thủ đô nước Việt Nam."
152
+ sentence3 = "Bóng đá là môn thể thao phổ biến nhất thế giới."
153
 
154
  emb1 = get_embedding(sentence1)
155
  emb2 = get_embedding(sentence2)