Downloads ยท 30 days
101
27% of all-time downloads
yj512/klue-roberta-base-klue-sts-mrc
klue-roberta-base-klue-sts-mrc is a sentence similarity model from yj512. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
This is a sentence-transformers model finetuned from shangrilar/klue-roberta-base-klue-sts. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semanโฆ
Downloads ยท 30 days
101
27% of all-time downloads
All-time downloads
381
Public
Parameters
111M
885 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors442 MB ยท 100%
From the Hugging Face model README
This is a sentence-transformers model finetuned from shangrilar/klue-roberta-base-klue-sts. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'RobertaModel'})
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the ๐ค Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
'์๋ฒ ์ค์ ์ด๊ธฐ ์์ง์ ์ ํ ์ํฅ์ ์ฃผ์ง ์์๋ ๊ฒ์ ๋ฌด์์ธ๊ฐ?',
'1912๋
4์ 16์ผ ์๋๋ชฝ ์๋ฒ ์ค๋ ์ด์งํธ ์นด์ด๋ก์์ ์ดํ๋ฆฌ์๊ณ ์ ๋์ธ์ผ๋ก ํ์ด๋ ๋ช
๋ฌธ๊ฐ์์ ๊ณ ์ ์ ์ ์ธ ๋ฐฉ์์ผ๋ก ํ๋์ค์ด ๊ต์ก์ ๋ฐ์ผ๋ฉฐ ์๋๋ค. ์ 2์ฐจ ์ค๋ ์ ์์ด ๋ฐ๋ฐํ๊ณ 5๋
๋ค 1930๋
์ฒ์์ผ๋ก ํ๋ฆฌ๋ฅผ ๋ฐฉ๋ฌธํ๋ค. 1935๋
, ํ๋์ค ์์ธ ๋ง์ค ์์ฝ๋ธ๋ฅผ ๋ง๋ฌ์ผ๋ฉฐ, ์ดํ ํด ์๋คผ์๋ฅด์ ๊ฐ๊น์ด ์ง๋ด๋ ๋ฑ, ๊ณต์์ ์ผ๋ก ์ดํ์ค์ฃผ์ ๊ทธ๋ฃน์ ์ํ์ง๋ ์์์ผ๋ ์ดํ์ค์ฃผ์ ์๊ฐ๋ค์๊ฒ ์์ ์ ์์ ์ญ๋์ ์ธ์ ๋ฐ์๋ค.\n๊ทธ๋ ํ๋์ค ๋ฌธ์ธ ์๋๋ ์ง๋, ์๋ฆฌ ๋ฏธ์ผ, ํ๋ฆฌํ ์ํฌ ๋ฑ๊ณผ ๊ต๋ถ์ ๋งบ์๊ณ , 1957๋
๋์ธ๋ฅด๊ฐ ์ ๊ถ์ ์ก์ ์ด์งํธ๋ฅผ ๋ ๋ ํ๋์ค๋ก ์ด์ฃผํ ๋ค, 1967๋
ํ๋์ค ๊ตญ์ ์ ์ทจ๋ํ์๋ค. ๊ฐ์ ํด ๋ชฌํธ๋ฆฌ์ฌ์์ ์ด๋ฆฌ๋ ์ธ๊ณ ๋ฐ๋ํ์์ ์ฅ ํด ์ฌ๋ฅดํธ๋ฅด, ์๋ฒ ๋ฅด ์นด๋ฎ, ํด๋ก๋ ๋ ๋น์คํธ๋ก์ค์ ํจ๊ป ๋ค ๋ช
์ ํ๋์ค ์๊ฐ ์ค ํ๋๋ก ์ ์ ๋๋ ์์๋ฅผ ์์๋ค. ํ๋์ค์ ์ ์ฐฉํ ํ๋ก ํ์ธ ์ฒผ๋, ๋ฏธ์
ธ ๋์ธ๋ฅดํ , ์ด๋ธ ๋ณธํธ์, ์๋ง๋์ ๋ ๋น๋์ค ๋ฑ ๋น๋์ ์ง์ฑ๊ณผ ๊ต๋ฅํ์์ผ๋ฉฐ, 1972๋
์๋ ๋นํ๊ฐ์์, 1986๋
์๋ ๋ ์ง์น ๋๋๋ฅด ํ์ฅ์, 1987๋
์๋ ํ๋์ค ์์ธ์์ ์์ํ์๋ค.\n\n์๋ฒ ์ค์ ์ด๊ธฐ ์์ง์์๋ ์ดํ์ค์ฃผ์์ ์ํฅ์ ๋งค์ฐ ๋๋ ทํ ๋ณผ ์ ์๋ค. ๋ํ ํ๋์ค์์ ์ด๋ฉฐ ๋
์ผ์ด๋ก ๊ธ์ ์ด ์ ๋์ธ ์๊ฐ ํ์ธ ์ฒผ๋์ด ๊ทธ๋ฌํ์๋ฏ์ด, ์๋ฒ ์ค์ ์ธ์ด๋ ์์ฐ์๋น์ธ ์ดํ์ ์์ธํ ํ์ค์ ๋ํ ์ธ์์ ๋ฐ์ํ๋ค. ๊ทธ๋ ๋ธ๋์ผ์ ๋น์ทํ๋ฉด์๋ ๋ค๋ฅธ ๋ฐฉ๋ฒ์ผ๋ก ๋ฌธํ์ ํ๊ณ, ์ธ์ด์ ํ๊ณ์ ๋์ ํ๋ค. ์ด์งํธ์์ ํ์ด๋ ์ ๋์ธ ์๋ฒ ์ค๋ ์ฌ๋ง, ์ฑ
, ์ด๋ฐฉ์ธ, ๋ชจ๋, ์ ๋์ธ, ๊ณตํ, ์ฐ๋ฌผ ๋ฑ์ ์กด์ฌ๋ ์ธ์ด์ ์์ ๋ก ์ฆ๊ฒจ ์ฌ์ฉํ๋ค. ์๋ฒ ์ค์ ์ฌ์์ ์ ๋์ธ์ผ๋ก์์ ๊ฒฝ์ ๋
ํด์ ๊น์ ๊ด๋ จ ํ์ ์ธ๊ฐ์ ๋ณธ์ง์ ์ฐพ๋ ๋ฐ ์๋ค. ์ธ๊ฐ์ ๋ณธ์ง์ ์ผ๋ก ์ ๋ฐฐ์ง์ ๋ฐฑ์ฑ์ผ๋ก, ๊ทธ๋ฐ ์ธ๊ฐ์๊ฒ ๊ฑฐ์ฒ๋ ์ฃผ์ด์ง์ง ์์๋ค๋ ๊ฒ. ๊ทธ๋ฆฌ๊ณ ๊ทธ๋ฐ ์๋ฏธ์์ "์ธ๊ฐ์ ๋ชจ๋ ์ ๋์ธ์ด๋ค"๋ผ๊ณ ์๋ฒ ์ค๋ ๋งํ๋ค. ์๋ฒ ์ค๋ ์ํฌ ๋ฐ๋ฆฌ๋ค, ๋ชจ๋ฆฌ์ค ๋ธ๋์ผ, ์๋ง๋์ ๋ ๋น๋์ค ๋ฑ๊ณผ ๊น์ ๊ต์ฐ๊ด๊ณ๋ฅผ ๋งบ์์ผ๋ฉฐ, ๋ ๋น๋์ค๋ "์ง์ ํ ์์ธ์ ๊ฑฐ์ฒ๊ฐ ์๋ค"๋ฉฐ ์๋ฒ ์ค๋ฅผ ๋์ด ํ๊ฐํ์๋ค. ๋ ์ ๋๊ณ ๋ฏธ๊ตญ ์๊ฐ์ธ ํด ์ค์คํฐ๋ "๋๋ถ๋ถ์ด ๊ธฐ๋
๊ต ์ ์์ธ ์ด ์ธ์์์ ๋ชจ๋ ์์ธ์ ์ ๋์ธ์ด๋ค."๋ผ๋ ๋ง๋ฆฌ๋ ์ธ ๋ฒ ํ์๋ฐ์ ๋ง์ ์ ๊ฑฐ๋ก ๋ค๋ฉฐ, "์ด๋ฐ ์ ์ ์ด ์๋ฒ ์ค ์ํ์ ์ ์ค์์ ๋์ฌ ์๋ ํต์ด๊ณ ๊ทธ๋ก๋ถํฐ ๋ชจ๋ ๊ฒ์ด ํ๋ฌ๋์จ๋ค. ์๋ฒ ์ค๊ฐ ๋ณผ ๋, ๋จผ์ ๊ธ์ฐ๊ธฐ ์์ฒด๋ฅผ ๋ฌธ์ ์ผ์ง ์๊ณ ์๋ ๋ํ์ด์ ๊ดํ ๊ฒ์ ์๋ฌด๊ฒ๋ ์ธ ์๊ฐ ์๋ค. ์ธ์ด๋ฅผ ๊ทนํ๊น์ง ๋ฐ์ด๋ถ์ด๋ ค๋ฉด ์๊ฐ๋ ์์ ์ ์์ฌ์ ์ ๋ฐฐ์ง, ๋ถํ์ค์ฑ์ ์ฌ๋ง์ผ๋ก ์ถ๋ฐฉ์์ผ์ผ ํ๋ค."๊ณ ๋งํ๊ธฐ๋ ํ์๋ค.',
'ํ์ค๋ง ๋นํ๋ ๋ฏธ๋๋ ํธ ํผํฌ์ ๋จ์ชฝ ๊ฒฝ์ฌ๋ฉด์์, ๊ทธ ์ ์์ด ๋นํ์์ ๋ถ๊ณผ 5 km ๊ฑฐ๋ฆฌ์ ์๋ ์ฟก ์ฐ์ ๋์ชฝ๋ฉด์ ๋ฐ๋ผ ๋จ์ชฝ์ผ๋ก ํ๋ฅด๊ณ ์๋ค. ์ด ๋นํ๋ ๋จธ์น์จ ๋นํ์ ๋
น์ ์ผ์๋ฌผ์ด ๋์ค์ ๋ถ๋ช์น์ง ์๊ณ , ์ด ๋
น์ ์ผ์๋ฌผ์ ๋ชจ๋ ์ธ์ ์ธ๋ถ์์ ํ์ค๋ง ๋นํ ๊ณ์ผ๋ก ํ๋ฌ๋ค๊ธฐ ์ํด ๋ฐฉํฅ์ ๋ฐ๊ฟ ๋๊น์ง ๋๋ถ์์ ํ๋ฌ ๋ด๋ฆฌ๊ณ ์๋ค.\n\n๋ ๋นํ์์ ํ๋ฌ๋ด๋ฆฐ ๋ฌผ์ด ํ์ค๋ง ๋นํ์ ๋ ๋ถ๋ถ์ ์๋ ํ์ค๋ง ํธ์์ ์์ธ ํ ๋จ์ชฝ์ผ๋ก ํ๋ฅด๊ณ , ๊ฐ๊น์ด ํ์ปค ๋นํ์ ๋ฎฌ๋ฌ ๋นํ์์ ํ๋ฌ๋์ค๋ ๋ฌผ๋ก ํ์ค ๊ฐ ๋์ ๊ณจ์ง๊ธฐ์ ํฉ๋ฅํด์ ๋ ์ปค์ง ํ๋ฆ์ด ํธ์นดํค ํธ์๋ก ๋จ์ชฝ์ผ๋ก ํ๋ฅธ๋ค. ๊ทธ ํ๋ฆ์ ๊ฒฐ๊ตญ ์์ดํํค ๊ฐ์ ๋ค์ด๊ฐ ์ค๋ง๋ฅด์ ๋ถ์ชฝ์์ ํํ์์ผ๋ก ํ๋ฌ๊ฐ๋ค.\n\n์๋ ์ํ์ค ์ฐ๋งฅ์ ์์ชฝ์์ ๋์ชฝ์ผ๋ก ๋ฎฌ๋ฌ ๋นํ, ํ์ปค ๋นํ ๊ทธ๋ฆฌ๊ณ ํ์ค๋ง ๋นํ๊ฐ ํจ๊ป ์์ง๋ง, ๊ทธ๋ค์ ๋นํ๋ 1990๋
์์ 2000๋
๊ฒฝ 10๋
์ ์ฌ์ด์ ํฌ๊ฒ ํํดํ๋ค. ์ข
๋จ์ด ํ๋๋ ํธ์ (๋นํ์ ์๋ฅ์ ์๋ ๋ชจ๋ ์ธ) ํ์ ์ผ์์ ํํด, ์ผ์์ด ์์ ์ ธ์ ๋ชจ๋ ์ธ ๋ฒฝ ๋์ด๊ฐ ์ฌ๋ผ๊ฐ ๊ฒ์ ์ฃผ๋ชฉํ๋ค.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6576, 0.0189],
# [0.6576, 1.0000, 0.0366],
# [0.0189, 0.0366, 1.0000]])
<!--
### Direct Usage (Transformers)
<details><summary>Click to see the direct usage in Transformers</summary>
</details>
-->
<!--
### Downstream Usage (Sentence Transformers)
You can finetune this model on your own dataset.
<details><summary>Click to expand</summary>
</details>
-->
<!--
### Out-of-Scope Use
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->
| Metric | Value |
|---|---|
| pearson_cosine | 0.8067 |
| spearman_cosine | 0.8159 |
| sentence_0 | sentence_1 | |
|---|---|---|
| type | string | string |
| details | <ul><li>min: 8 tokens</li><li>mean: 17.61 tokens</li><li>max: 35 tokens</li></ul> | <ul><li>min: 255 tokens</li><li>mean: 435.56 tokens</li><li>max: 512 tokens</li></ul> |
| sentence_0 | sentence_1 |
|---|---|
| <code>ํผํ2์ธ๊ฐ ๊ฐ์ฅ ๋จผ์ ๋์ฐพ์ ๋ ์?</code> | <code>852๋ 9์ ํผํ 2์ธ๋ ๊ฐ์ค์ฝ๋ด์ ๋ฐฑ์ ์ฐ์ด 2์ธ ์ฐ์์จ์๊ฒ ๊ฐ๋ค๊ฐ ๊ทธ์๊ฒ ์ฒดํฌ๋์ด ๋์ ์ค๋ฅผ๊ณผ ํจ๊ป ์ํ๋ํฌ์ ๋๋จธ๋ฆฌ ์นด๋ฅผ 2์ธ์๊ฒ ๋๊ฒจ์ก๋ค. ํผํ2์ธ๋ ์์์ก์ ์ธ์ธํธ ๋ฉ๋ค๋ฅด(Saint Mรฉdard) ์๋์์ ๊ฐ๊ธ๋์๋ค. ํผํ 2์ธ๋ฅผ ์ฒดํฌํ ๊ณต๋ก๋ก ์นด๋ฅผ 2์ธ๋ ๊ฐ์ค์ฝ๋ด์ ๋ฐฑ์ ์ฐ์ด 2์ธ ์ฐ์์จ์ ๊ณต์์ผ๋ก ์น๊ฒฉ์์ผฐ๋ค. ์ด๋ ๋ ์ผ์ธ ๋ฃจํธ๋นํ์ ๋๋จธ๋ฆฌ ์นด๋ฅผ 2์ธ์ ์ ์์ ๋ฒ์๊ณ , ์ฒญ๋ ๋ฃจํธ๋นํ๋ฅผ ๋ณด๋ด ๋๋จธ๋ฆฌ ์นด๋ฅผ 2์ธ์ ๊ต์ ํ์๋ค. ์ ์์ 855๋ ์ฒญ๋ ๋ฃจํธ๋นํ๊ฐ ๋ฆฌ๋ชจ(Limoges) ์ง์ญ ์ผ๋๋ฅผ ๋์ฐพ์ ๋๊น์ง ๊ณ์๋์๋ค. ์ด๋ ๋ ์ผ์ธ ๋ฃจํธ๋นํ๋ ์์ ์ ์๋ค ์ฒญ๋ ๋ฃจํธ๋นํ๋ฅผ ์ํคํ ์ผ๋ก ๋ณด๋ด ํผํ 2์ธ์ ์ค๋ฅผ์ ํ์ถ์ํค๊ฒ ํ๋ค. ์ฒญ๋ ๋ฃจํธ๋นํ๋ ํผํ 2์ธ์ ํ์ถ ์์์ ํ์ธํ ํ์ ๋ฐ์ด์๋ฅธ์ผ๋ก ํด๊ฐํ์๋ค.<br><br>854๋ ํ์ ์ค๋ฅผ๊ณผ ํจ๊ป ์ธ์ธํธ ๋ฉ๋ค๋ฅด ์๋์์์ ํ์ถ์ ์ฑ๊ณตํ ํผํ 2์ธ๋ ๋๋จธ๋ฆฌ ์นด๋ฅผ 2์ธ์ ๋ง์ ์ธ์ธ ๋ฐ์ดํน ์กฑ ์ฉ๋ณ์ ๊ณ ์ฉํ์๋ค. ํผํ์ ์์ ์ ์ ์ํ ์ ๋ฐ์ดํน ์กฑ์ ์ ์ฐฉ์ ์ฃผ๋ํ๋ค. ๋๋จธ๋ฆฌ ์นด๋ฅผ 2์ธ์ ์๋ค ์ ์์ ์ค๋ฅผ์ ๊ตฐ์ฌ๋ฅผ ์ด๋๊ณ ํธ์ํฐ์ ์ง์ญ์ ๊ณต๊ฒฉํ์๋ค. 855๋ 10์ ๋ผ๋ชจ์์ ์ด๋ฆฐ ์ํคํ ์ ๊ท์กฑํ์์์ ์ ์์ ์ค๋ฅผ์ ์ํคํ ์์ผ๋ก ์ ์ ํ์๋ค. ๊ทธ๋ฌ๋ ํผํ 2์ธ๋ ์์ ์ ์ ์ํ ์ธ ๋ฃจ์๋ฅด ๊ณ๊ณก๊ณผ ํธ์ํฐ์, ์๊ตด๋ , ํ๋ฆฌ, ๋ฆฌ๋ชจ, ํด๋ ๋ฅด๋ชฝ, ๋ถ๋ฅด์ฃผ ๋ฑ์ ์ฐจ๋ก๋ก ํ๋ณตํ์๊ณ , ๋๋จธ๋ฆฌ ์นด๋ฅผ 2์ธ๋ ํผํ 2์ธ๋ฅผ ์ง์ํ๋ ค๊ณ ํ์ผ๋ค.<br><br>859๋ ํผํ 2์ธ๋ ๋ก๋ฒ ๋ฅด ๊ฐ์ฒ ๊ณต ๋ฐ ๋ธ๋ฆฌํผ์ ์ฃผ๊ต ์๋ก๋ชฌ ๋ฑ๊ณผ ๋๋งน์ ๋งบ์๋ค. ๋ค์ ์นด๋ฅผ๊ณผ์ ์ ํฌ๋ฅผ ์์ํ์ผ๋ ์์ ์น๋ฆฌ๋ฅผ ๋ช๋ฒ ๊ฑฐ๋์๋ค. ์ดํ ๊ทธ๋ ๋ฐ์ดํน ์กฑ์๊ฒ ์ํํ๋ฉฐ ๋ ๋์ด ์ํ์ ํ์๋ค.<br><br>864๋ ๋ฌด๋ ต ํผํ 2์ธ๊ฐ ๋ฐ์ดํน ์กฑ์ ๊ฐ์ ํด์ ๋ฐ์ดํน์ด ๋ ๊ฒ์ผ๋ก ๊ธฐ๋ ๊ต ์ฌํ์ ํ์ฐ๋์์ผ๋ฉฐ, ๊ธฐ๋ ๊ต์ ์๋ฐฐ ๋์ , ๋ฐ์ดํน ์กฑ์ ํ๋๋ก ์ด๋ฉฐ ๋ฐ์ดํน์ ์ ์ ์ญ๋ฐฐํ๋ค๋ ์๋ฌธ์ด ๋์๋ค. ๊ทธ๋ ํด๋ฃจ์ฆ ์ง์ญ์ ๊ณต๊ฒฉํ ๋ ๋ฐ์ดํน ์กฑ์ ํฉ๋ฅ๋์๋ค. ๊ทธ๋ฌ๋ ํผํ์ ํด๋ฃจ์ฆ ์ง์ญ์ ๊ณต๋ตํ๋ ์ค, ์นด๋ฅผ 2์ธ์ ์ถ๊ฒฉ์์ ์ํด ์ฌ๋ก์กํ...</code> |
| <code>๊ธฐ์ ์์ ์คํํ๋ผ์ด์ฆ๋ฅผ ํ์ฉํ ์ ์๋ ๋ถ์ผ๋?</code> | <code>์๋น์์๊ฒ ๋ฌด๋ฃ๋ก ์ ํ์ ๋๋ ์ฃผ๋ ๊ฒฝํ์ถ์ฒจ ์๋น์ค๊ฐ ๋์๋ค. ์ ๋ณด๊ธฐ์ (IT) ๋ฒค์ฒ๊ธฐ์ โ์ค์ ์คํผ์ดํโ์ ๋ฌด๋ฃ ๊ฒฝํ ์ถ์ฒจ โ์คํํ๋ผ์ด์ฆโ ์๋น์ค๋ฅผ ์์ํ๋ค๊ณ 14์ผ ๋ฐํํ๋ค. ์๋น์๋ค์ ์ค๋งํธํฐ ์ ํ๋ฆฌ์ผ์ด์ (์ฑยท์์ฉํ๋ก๊ทธ๋จ)์ ๋ด๋ ค๋ฐ์ ๊ด์ฌ์๋ ์ ์ ํ์ด๋ ์๋น์ค์ ์๋ชจํด ์ง์ ์ด์ฉํด๋ณผ ์ ์๋ค. ๊ธฐ์ ์ ์ด๋ฅผ ํตํด ๋ง์ผํ ํจ๊ณผ๋ฅผ ๊ฑฐ๋ ์ ์๋ค.๊ฒฝํ์ ์๋ชจํ๋ ค๋ฉด ์ฑ์ ๋ด๋ ค๋ฐ์ ํ์ ๊ฐ์ ์ ํ ๋ค ์ง๊ธ๋ฐ์ ํฌ์ธํธ์ธ โํ๋ธโ๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค. ๋ค์ํ ์ ์ํ๊ณผ ์๋น์ค์ ์ค๋ณต ์๋ชจํ ์ ์์ผ๋ฉฐ ํ๋ธ๋ ์ํ ํ๊ธฐ๋ฅผ ๋ฌ๊ฑฐ๋ ์ค๋ฌธ์ ๋ตํ๋ ๋ฑ ์ฑ ๋ด์์ ํน์ ํ๋์ ํ๋ฉด ์ ๋ฆฝํ ์ ์๋ค. ๊ฐ ์ํ๋ง๋ค ์๋ชจ๊ฐ ๋ง๊ฐ๋๊ธฐ ์ ๊น์ง ํ์ด๋จธ๊ฐ ์๋ํ๋ ๋ฑ ๊ฒ์ ์์๋ ๊ฐ๋ฏธํ๋ค.์ค์ ์คํผ์ดํ์ ์์ฌ ์ํ์ ์๋ฆฌ๋ ค๋ ๊ธฐ์ ์ด ์ด ์๋น์ค๋ฅผ ๋ง์ผํ ์๋จ์ผ๋ก ์ฌ์ฉํ ์ ์๋ค๊ณ ์ค๋ช ํ๋ค. ์ ์ ํ ์ถ์ ์งํ ์งง์ ๊ธฐ๊ฐ ๋ด์ ๋ค์์ ์๋น์์๊ฒ ์ ํ์ ๋ ธ์ถํ ์ ์์ผ๋ฉฐ ํ๋ฌผ ํฌ์ ๋ฐฉ์์ด๊ธฐ ๋๋ฌธ์ ๋น์ฉ์ ์ ๊ฐํ ์ ์๋ค๋ ๊ฒ์ด๋ค. ํ ๊ฐ์ง ์ํ์ด๋ ์๋น์ค๋ฅผ 8์ฃผ๊ฐ ๋ ธ์ถํ ์ ์๋ค.๊น์ํ ์ค์ ์คํผ์ดํ ๋ํ๋ โ๊ธฐ์กด ์์ ์ปค๋จธ์ค๋ ๊ณผ๋ํ ํ ์ธ ๊ฐ๊ฒฉ์ ์ํ์ ์ ๊ณตํด ์๋น์ ๋ง์กฑ๋๊ฐ ๋จ์ด์ง๊ณ ํ๋งค์์ ์ด๋ฏธ์ง๋ ๋๋ฐ ์ถ๋ฝํ๋ ๋จ์ ์ด ์์๋คโ๋ฉฐ โ์๋น์์๊ฒ ๋ฌด๋ฃ๋ก ์ ํ์ ์ ๊ณตํด ๋ง์กฑ๋๋ฅผ ๋์ด์ฌ๋ฆฌ๋ ํํธ ๊ธฐ์ ์ ์ ์ํ ์ถ์ ๋ ํจ์จ์ ์ธ ๋ง์ผํ ์๋จ์ผ๋ก ์ด์ฉํ ์ ์๋คโ๊ณ ์๊ฐํ๋ค.</code> |
| <code>15์ผ๋ ์์ธ๋ฐ๋์ฒด์ 1์ฃผ๋น ๊ฐ๊ฒฉ์ ์ผ๋ง์ธ๊ฐ?</code> | <code>๋ฐ๊ด๋ค์ด์ค๋(LED) ์ ๋ฌธ๊ธฐ์ ์์ธ๋ฐ๋์ฒด(์ฌ์ฅ ์ด์ ํยท์ฌ์ง)๊ฐ ์ฃผ๊ฐ ๊ด๋ฆฌ๋ฅผ ์ํด ์์ฌ์ฃผ๋ฅผ ๋งค์ ํ๊ธฐ๋ก ํ๋ค. ์ด ํ์ฌ๊ฐ ์์ฌ์ฃผ๋ฅผ ๋งค์ํด ์ฃผ๊ฐ๊ด๋ฆฌ์ ๋์๊ธฐ๋ ์์ฅ ํ ์ฒ์์ด๋ค.์์ธ๋ฐ๋์ฒด๋ 15์ผ ์ด์ฌํ๋ฅผ ์ด๊ณ 100์ต์์ด์น ์์ฌ์ฃผ๋ฅผ ๋งค์ ํ๊ธฐ๋ก ๊ฒฐ์ ํ๋ค. ์ด๋ ์ข ๊ฐ 1๋ง9400์์ ๊ธฐ์ค์ผ๋ก ํ๋ฉด 51๋ง์ฌ์ฃผ๋ฅผ ์ด ์ ์๋ค. ์ ์ฒด ๋ฐํ ์ฃผ์ ์์ 0.9% ์ ๋๋ค. ์์ธ๋ฐ๋์ฒด ๊ด๊ณ์๋ โ๊ธฐ์ ๊ฐ์น์ ๋นํด ์ฃผ๊ฐ๊ฐ ๋ฎ๋ค๊ณ ํ๋จํด ์์ฌ์ฃผ๋ฅผ ๋งค์ ํ๊ธฐ๋ก ํ๋คโ๊ณ ์ค๋ช ํ๋ค. ์ง๋ํด 4์ 5๋ง์์ ์ก๋ฐํ๋ ์์ธ๋ฐ๋์ฒด ์ฃผ๊ฐ๋ ์ต๊ทผ 2๋ง์ ๋ฐ์ผ๋ก ๋ด๋ ค์๋ค. 2002๋ ์ฝ์ค๋ฅ์์ฅ์ ์์ฅํ ์์ธ๋ฐ๋์ฒด๋ ์ง๊ธ๊น์ง ํ ๋ฒ๋ ์์ฌ์ฃผ๋ฅผ ๋งค์ ํ์ง ์์๋ค. 2008๋ ๊ธ๋ก๋ฒ ๊ธ์ต์๊ธฐ ๋ ์ฃผ๊ฐ๊ฐ ํญ๋ฝํ์ด๋ ์ฃผ๊ฐ ๋ถ์์ ์ํ ๋ณ๋์ ๋์ฑ ์ ๋ด๋์ง ์์๋ค.๊ทธ๋งํผ ์ต๊ทผ ์ํฉ์ ์ฌ๊ฐํ๊ฒ ๋ฐ์๋ค์ธ๋ค๋ ์๊ธฐ๋ค. ์์ธ๋ฐ๋์ฒด์ ์ค์ ์ ์ต๊ทผ ๊ธ์ํ ๋๋น ์ก๋ค. ์ง๋ํด 6๋ ๋ง์ ์ฒ์ ์ ์๋ฅผ ๋๋ค. ํ๋ฐ๊ธฐ๋ก ๊ฐ์๋ก ์ ํ๋ผ 4๋ถ๊ธฐ ์ ์ ๊ท๋ชจ๋ง 300์ต์์ ๋์๋ค. ์ด์ ํ ์์ธ๋ฐ๋์ฒด ์ฌ์ฅ์ ์ง๋ 2์ ๊ธฐ์ ์ค๋ช ํ(IR) ์๋ฆฌ์์ โ์ค๊ตญ ์ ์ฒด๋ค์ ์ ๊ฐ LED ๊ณต์ธ๋ก ์ธ๊ณ LED์์ฅ์ ๊ฒฝ์์ด ์น์ดํ์ง๋ง ํนํ๊ฒฝ์๋ ฅ์ ๋ฐํ์ผ๋ก ์ฌ 1๋ถ๊ธฐ์๋ ์์ต๋ถ๊ธฐ์ ์์ค์ ๋ง์ถ ๊ฒโ์ด๋ผ๊ณ ํ๋ค. ํ์ง๋ง ์ฆ๊ถ๊ฐ์์๋ ์ด ๋ง์ ์๋ ๊ทธ๋๋ก ๋ฐ์๋ค์ด์ง ์๊ณ ์๋ค. ์ํฉ์ด ๋์๊ธฐ ๋๋ฌธ์ด๋ค.</code> |
{
"scale": 20.0,
"similarity_fct": "cos_sim",
"gather_across_devices": false
}
per_device_train_batch_size: 16per_device_eval_batch_size: 16num_train_epochs: 1batch_sampler: no_duplicatesmulti_dataset_batch_sampler: round_robinoverwrite_output_dir: Falsedo_predict: Falseeval_strategy: noprediction_loss_only: Trueper_device_train_batch_size: 16per_device_eval_batch_size: 16per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 1eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 5e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1num_train_epochs: 1max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: {}warmup_ratio: 0.0warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Falsefp16: Falsefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsehub_revision: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters:auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseliger_kernel_config: Noneeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: round_robinrouter_mapping: {}learning_rate_mapping: {}| Epoch | Step | Training Loss | spearman_cosine |
|---|---|---|---|
| -1 | -1 | - | 0.8159 |
| 0.4558 | 500 | 0.1604 | - |
| 0.9116 | 1000 | 0.1113 | - |
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
<!--
## Glossary
*Clearly define terms in order to be accessible across audiences.*
-->
<!--
## Model Card Authors
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->
<!--
## Model Card Contact
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->