jhgan
commited on
Commit
Β·
44c00e0
1
Parent(s):
3d13862
updated README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ tags:
|
|
| 6 |
- sentence-similarity
|
| 7 |
---
|
| 8 |
|
| 9 |
-
#
|
| 10 |
|
| 11 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
| 12 |
|
|
@@ -14,19 +14,19 @@ This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentence
|
|
| 14 |
|
| 15 |
## Usage (Sentence-Transformers)
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
```
|
| 20 |
-
pip install -U sentence-transformers
|
| 21 |
```
|
| 22 |
|
| 23 |
Then you can use the model like this:
|
| 24 |
|
| 25 |
```python
|
| 26 |
from sentence_transformers import SentenceTransformer
|
| 27 |
-
sentences = ["
|
| 28 |
|
| 29 |
-
model = SentenceTransformer('
|
| 30 |
embeddings = model.encode(sentences)
|
| 31 |
print(embeddings)
|
| 32 |
```
|
|
@@ -37,8 +37,17 @@ print(embeddings)
|
|
| 37 |
|
| 38 |
<!--- Describe how your model was evaluated -->
|
| 39 |
|
| 40 |
-
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
## Training
|
| 44 |
The model was trained with the parameters:
|
|
@@ -97,4 +106,4 @@ SentenceTransformer(
|
|
| 97 |
|
| 98 |
## Citing & Authors
|
| 99 |
|
| 100 |
-
<!--- Describe where people can find more information -->
|
|
|
|
| 6 |
- sentence-similarity
|
| 7 |
---
|
| 8 |
|
| 9 |
+
# ko-sbert-multitask
|
| 10 |
|
| 11 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
| 12 |
|
|
|
|
| 14 |
|
| 15 |
## Usage (Sentence-Transformers)
|
| 16 |
|
| 17 |
+
λͺ¨λΈμ μ¬μ©νκΈ° μν΄μλ `ko-sentence-transformers` λ₯Ό μ€μΉν΄μΌ ν©λλ€.
|
| 18 |
|
| 19 |
```
|
| 20 |
+
pip install -U ko-sentence-transformers
|
| 21 |
```
|
| 22 |
|
| 23 |
Then you can use the model like this:
|
| 24 |
|
| 25 |
```python
|
| 26 |
from sentence_transformers import SentenceTransformer
|
| 27 |
+
sentences = ["μλ
νμΈμ?", "νκ΅μ΄ λ¬Έμ₯ μλ² λ©μ μν λ²νΈ λͺ¨λΈμ
λλ€."]
|
| 28 |
|
| 29 |
+
model = SentenceTransformer('jhgan/ko-sbert-multitask')
|
| 30 |
embeddings = model.encode(sentences)
|
| 31 |
print(embeddings)
|
| 32 |
```
|
|
|
|
| 37 |
|
| 38 |
<!--- Describe how your model was evaluated -->
|
| 39 |
|
|
|
|
| 40 |
|
| 41 |
+
KorSTS, KorNLI νμ΅ λ°μ΄ν°μ
μΌλ‘ λ©ν° νμ€ν¬ νμ΅μ μ§νν ν KorSTS νκ° λ°μ΄ν°μ
μΌλ‘ νκ°ν κ²°κ³Όμ
λλ€.
|
| 42 |
+
|
| 43 |
+
- Cosine Pearson: 83.78
|
| 44 |
+
- Cosine Spearman: 84.02
|
| 45 |
+
- Euclidean Pearson: 81.68
|
| 46 |
+
- Euclidean Spearman: 81.81
|
| 47 |
+
- Manhattan Pearson: 81.61
|
| 48 |
+
- Manhattan Spearman: 81.72
|
| 49 |
+
- Dot Pearson: 79.16
|
| 50 |
+
- Dot Spearman: 78.69
|
| 51 |
|
| 52 |
## Training
|
| 53 |
The model was trained with the parameters:
|
|
|
|
| 106 |
|
| 107 |
## Citing & Authors
|
| 108 |
|
| 109 |
+
<!--- Describe where people can find more information -->
|