Update README.md
Browse files
README.md
CHANGED
@@ -27,9 +27,9 @@ sentences = ['์นํ๊ฐ ๋คํ์ ๊ฐ๋ก ์ง๋ฌ ๋จน์ด๋ฅผ ์ซ๋๋ค.',
|
|
27 |
inputs = tokenizer(sentences, padding=True, truncation=True, return_tensors="pt")
|
28 |
embeddings, _ = model(**inputs, return_dict=False)
|
29 |
|
30 |
-
score01 = cal_score(embeddings[0][0], embeddings[1][0]) #
|
31 |
# '์นํ๊ฐ ๋คํ์ ๊ฐ๋ก ์ง๋ฌ ๋จน์ด๋ฅผ ์ซ๋๋ค.' @ '์นํ ํ ๋ง๋ฆฌ๊ฐ ๋จน์ด ๋ค์์ ๋ฌ๋ฆฌ๊ณ ์๋ค.'
|
32 |
-
score02 = cal_score(embeddings[0][0], embeddings[2][0]) #
|
33 |
# '์นํ๊ฐ ๋คํ์ ๊ฐ๋ก ์ง๋ฌ ๋จน์ด๋ฅผ ์ซ๋๋ค.' @ '์์ญ์ด ํ ๋ง๋ฆฌ๊ฐ ๋๋ผ์ ์ฐ์ฃผํ๋ค.'
|
34 |
```
|
35 |
|
|
|
27 |
inputs = tokenizer(sentences, padding=True, truncation=True, return_tensors="pt")
|
28 |
embeddings, _ = model(**inputs, return_dict=False)
|
29 |
|
30 |
+
score01 = cal_score(embeddings[0][0], embeddings[1][0]) # 84.56
|
31 |
# '์นํ๊ฐ ๋คํ์ ๊ฐ๋ก ์ง๋ฌ ๋จน์ด๋ฅผ ์ซ๋๋ค.' @ '์นํ ํ ๋ง๋ฆฌ๊ฐ ๋จน์ด ๋ค์์ ๋ฌ๋ฆฌ๊ณ ์๋ค.'
|
32 |
+
score02 = cal_score(embeddings[0][0], embeddings[2][0]) # 48.06
|
33 |
# '์นํ๊ฐ ๋คํ์ ๊ฐ๋ก ์ง๋ฌ ๋จน์ด๋ฅผ ์ซ๋๋ค.' @ '์์ญ์ด ํ ๋ง๋ฆฌ๊ฐ ๋๋ผ์ ์ฐ์ฃผํ๋ค.'
|
34 |
```
|
35 |
|