|
--- |
|
base_model: google-bert/bert-base-multilingual-cased |
|
datasets: [] |
|
language: [] |
|
library_name: sentence-transformers |
|
pipeline_tag: sentence-similarity |
|
tags: |
|
- sentence-transformers |
|
- sentence-similarity |
|
- feature-extraction |
|
- generated_from_trainer |
|
- dataset_size:1890 |
|
- loss:MultipleNegativesRankingLoss |
|
widget: |
|
- source_sentence: 32์ธ ์ฌ์๊ฐ ๋ชฉ์ ๋งค๋ค๊ฐ ๊ฐ์กฑ์๊ฒ ๋ฐ๊ฒฌ๋์ด ๋ณ์์ ์๋ค. ์์ 16์ฃผ์์ผ๋ฉฐ 1๊ฐ์ ์ ๋ถํฐ ์์ฌ๋ฅผ ํ์ง ์๊ณ ๋์๋ง |
|
์ง๋๋ค๊ณ ํ๋ค. ๊ธฐ๋ถ์ด ์ฐ์ธํ๊ณ ์๋ฌด๊ฒ๋ ํ๊ธฐ๊ฐ ์ซ๋ค๊ณ ํ๋ค. ์์ด๋ฅผ ์ ํค์ธ ์์ ๋ ์๊ณ ์ด๊ณ ์ถ์ง ์์ผ๋ ์ฃฝ๊ฒ ๋ด๋ฒ๋ ค ๋๋ผ๊ณ ํ๋ค. ์น๋ฃ๋? |
|
sentences: |
|
- ์ ๊ธฐ๊ฒฝ๋ จ์๋ฒ |
|
- ํญ์๊ณ ์ |
|
- ๊ด์ฐฎ๋ค๊ณ ์์ฌ์ํด |
|
- source_sentence: 59์ธ ์ฌ์๊ฐ ์ง๋ถ๋น๋ฌผ์ด ์๊ณ ์ธ์๋ถ๊ฐ ๊ฑด์กฐํ๊ณ ๋ฐ๊ฐ์ ๋ณ์์ ์๋ค. ๋ณด์ต์ ๋ฅผ ์ฌ์ฉํ์ฌ๋ ์ฆ์์ด ์ง์๋์๋ค. 40์ธ์ |
|
์๊ถ๊ทผ์ข
์ผ๋ก ์๊ถ์ ์ ์ ์ ๋ฐ์๊ณ ์ผ์ชฝ ๋ค๋ฆฌ์ ๊น์์ ๋งฅํ์ ์ฆ์ผ๋ก ์ฝ๋ฌผ์ ๋ณต์ฉ ์ค์ด๋ค. ์๋ฉดํ์กฐ์ ๋ถ๋ฉด์ฆ์ด 50๋ ์ด๋ฐ์ ์์๋ค๊ฐ ํ์ฌ๋ ์๊ณ |
|
์ฑ๊ตํต์ด ์๋ค. ๊ณจ๋ฐ๊ฒ์ฌ์์ ์ธ์๋ถ ์์ถ์ด ๊ด์ฐฐ๋์๊ณ ์ง๋ถ๋น๋ฌผ์ ์ ์ํด๋ฐ๋ฅธํ๋ณธ๊ฒ์ฌ์์๋ ์ด์์ด ์๋ค. ์ฒ์น๋? |
|
sentences: |
|
- ์์ํ๋ถ๊ธฐ๋ฅ์ด์ |
|
- ๊ฒฝ์ง ์์คํธ๋ก๊ฒ |
|
- ๋ฉดํ ์ทจ์์ผ๋ถํฐ 3๋
๊ฒฝ๊ณผ |
|
- source_sentence: '15์ธ ์ฌ์๊ฐ 5์ผ ์ ๋ถํฐ ์ด์ด ๋๊ณ ์คํ์ด ๋ ๋ค๋ฉฐ ๋ณ์์ ์๋ค. ์์์ ์ผํฌ ๋ ๋ชฉ์ด ์ํ๋ค๊ณ ํ๋ค. ํ์ 100/60 |
|
mmHg, ๋งฅ๋ฐ 75ํ/๋ถ, ํธํก 18ํ/๋ถ, ์ฒด์จ 38.0โ์ด๋ค. ๋ชฉ์ ์์ชฝ ์ฌ๋ฌ ๊ตฐ๋ฐ์์ 1 cm ์ดํ ํฌ๊ธฐ์ ๋ฆผํ์ ์ด ๋ง์ ธ์ง๋ค. ๋ฆผํ์ ์ |
|
์ํต์ด ์์ผ๋ ์ฃผ์ ์กฐ์ง์ ๊ณ ์ ๋์ด ์์ง ์๋ค. ๋ชธ์์ ๋ฐ์ง์ ๋ณด์ด์ง ์๋๋ค. ํ์ก๊ฒ์ฌ ๊ฒฐ๊ณผ๋ ๋ค์๊ณผ ๊ฐ๋ค. ๋ค์ ๊ฒ์ฌ๋?๋ฐฑํ๊ตฌ 13,780/mm^3 |
|
(์ค์ฑ๊ตฌ 25%, ๋ฆผํ๊ตฌ 64%) ํ์์ 13.3 g/dL, ํ์ํ 209,000/mm^3 ํ์ก์์์ง์ 7 mg/dL, ํฌ๋ ์ํฐ๋ 0.5 |
|
mg/dL, ์์คํ๋ฅดํ
์ดํธ์๋ฏธ๋
ธ์ ๋ฌํจ์ 266 U/L ์๋ผ๋์๋ฏธ๋
ธ์ ๋ฌํจ์ 298 U/L ์ด๋น๋ฆฌ๋ฃจ๋น 0.7 mg/dL, ์์นผ๋ฆฌ์ธ์ฐ๋ถํดํจ์ 146 |
|
U/L (์ฐธ๊ณ ์น, 33๏ฝ96) C-๋ฐ์๋จ๋ฐฑ์ง 13 mg/L (์ฐธ๊ณ ์น, <10) ' |
|
sentences: |
|
- ํ์ฒญ ๋ฐ์ด๋ฌ์ค์บก์๋ํญ์(VCA) IgM ํญ์ฒด |
|
- ์ธก์ ๋ฐ์ด์ด์ค |
|
- ๋ ํธ๋ ์ |
|
- source_sentence: ์์ ๋์ด 27์ฃผ, ์ถ์์ฒด์ค 750 g์ผ๋ก ํ์ด๋ ์ ์์๊ฐ ์ํ 5์ผ์งธ ๊ฐ์๊ธฐ ์ฒญ์์ฆ์ด ๋ฐ์ํ์๋ค. ์ถ์ ์งํ ํํ๋ฉดํ์ฑ์ ๋ฅผ |
|
ํฌ์ฌ๋ฐ์๊ณ , ์ดํ ๊ธฐ๊ณํ๊ธฐ์น๋ฃ ์ค์ด๋ค. ์ฌ๋ฐ 170ํ/๋ถ, ํธํก 80ํ/๋ถ, ๊ฒฝํผ์ฐ์ํฌํ๋๋ ์ค๋ฅธ์๊ณผ ์ผ๋ฐ์์ ๋ชจ๋ 60% ์ด๋ค. ์๊ฐ์ด์ด |
|
ํฝ์ฐฝ๋๊ณ , ์ค๋ฅธ์ชฝ ๊ฐ์ด ์ฒญ์ง์์ ํธํก์์ด ์ ๋ค๋ฆฌ์ง ์๋๋ค. ๊ฒ์ฌ๋? |
|
sentences: |
|
- ์์ฒญ์ ์ํจ |
|
- ๋น์ ํ์ ์์ ๋๋ฐ ์ฃผ์์ฐ์ธ์ฅ์ |
|
- ๊ฐ์ด X์ ์ฌ์ง |
|
- source_sentence: '58์ธ ๋จ์๊ฐ 7์๊ฐ ์ ๋ถํฐ ์๋ฐฐ๊ฐ ์ํ์ ๋ณ์์ ์๋ค. ํ์์ ์์ฝ์ฌ๊ฐ๊ฒฝํ๋ก ์น๋ฃ๋ฅผ ๋ฐ๊ณ ์์ผ๋ฉฐ ์ํ๊ถค์์ ์ํ |
|
์ฒ๊ณต์ผ๋ก ์์ ์ ๋ฐ์ ์์ ์ด๋ค. ํ์ 130/90 mmHg, ๋งฅ๋ฐ 95ํ/๋ถ, ํธํก 22ํ/๋ถ, ์ฒด์จ 37.5โ์ด๋ค. ๋ฐฐ ์ ์ฒด๊ฐ ๋ฑ๋ฑํ๊ณ ๋ฐฐ์ |
|
์ํต๊ณผ ๋ฐ๋์ํต์ด ์๋ค. ํ์ก๊ฒ์ฌ ๊ฒฐ๊ณผ๋ ๋ค์๊ณผ ๊ฐ๋ค. ์์ ์ ํฌ์ฌํด์ผ ํ ์ ์ ๋?ํ์์ 10.3 g/dL, ๋ฐฑํ๊ตฌ 22,000/mm^3, |
|
ํ์ํ 120,000/mm^3 ํ๋กํธ๋กฌ๋น์๊ฐ 20์ด(์ฐธ๊ณ ์น, 12.7๏ฝ15.4) ํ์ฑํ๋ถ๋ถํธ๋กฌ๋ณดํ๋ผ์คํด์๊ฐ 30์ด(์ฐธ๊ณ ์น, 26.3๏ฝ39.4) |
|
์ด๋จ๋ฐฑ์ง 6.5 g/dL, ์๋ถ๋ฏผ 3.0 g/dL,์ด๋น๋ฆฌ๋ฃจ๋น 3.5 mg/dL, ' |
|
sentences: |
|
- โ์ ํ ๊ฐ๋ฅ์ฑ์ด ์ด๋ ๊ฒ ๋์๋ฐ๋ ๋ค๋ฅธ ์ฌ๋์๊ฒ ์ ํ๋ฅผ ๋งค๊ฐํ๋ ํ์๋ฅผ ํ๋ฉด ํ์ฌ์ฒ๋ฒ์ ๋ฐ์ ์๋ ์์ต๋๋ค.โ |
|
- ์ ์ ๋๊ฒฐํ์ฅ |
|
- ๋ฉดํ์๊ฒฉ ์ ์ง |
|
--- |
|
|
|
# SentenceTransformer based on google-bert/bert-base-multilingual-cased |
|
|
|
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased). 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. |
|
|
|
## Model Details |
|
|
|
### Model Description |
|
- **Model Type:** Sentence Transformer |
|
- **Base model:** [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) <!-- at revision 3f076fdb1ab68d5b2880cb87a0886f315b8146f8 --> |
|
- **Maximum Sequence Length:** 512 tokens |
|
- **Output Dimensionality:** 768 tokens |
|
- **Similarity Function:** Cosine Similarity |
|
<!-- - **Training Dataset:** Unknown --> |
|
<!-- - **Language:** Unknown --> |
|
<!-- - **License:** Unknown --> |
|
|
|
### Model Sources |
|
|
|
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net) |
|
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers) |
|
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers) |
|
|
|
### Full Model Architecture |
|
|
|
``` |
|
SentenceTransformer( |
|
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel |
|
(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}) |
|
) |
|
``` |
|
|
|
## Usage |
|
|
|
### Direct Usage (Sentence Transformers) |
|
|
|
First install the Sentence Transformers library: |
|
|
|
```bash |
|
pip install -U sentence-transformers |
|
``` |
|
|
|
Then you can load this model and run inference. |
|
```python |
|
from sentence_transformers import SentenceTransformer |
|
|
|
# Download from the ๐ค Hub |
|
model = SentenceTransformer("sentence_transformers_model_id") |
|
# Run inference |
|
sentences = [ |
|
'58์ธ ๋จ์๊ฐ 7์๊ฐ ์ ๋ถํฐ ์๋ฐฐ๊ฐ ์ํ์ ๋ณ์์ ์๋ค. ํ์์ ์์ฝ์ฌ๊ฐ๊ฒฝํ๋ก ์น๋ฃ๋ฅผ ๋ฐ๊ณ ์์ผ๋ฉฐ ์ํ๊ถค์์ ์ํ ์ฒ๊ณต์ผ๋ก ์์ ์ ๋ฐ์ ์์ ์ด๋ค. ํ์ 130/90 mmHg, ๋งฅ๋ฐ 95ํ/๋ถ, ํธํก 22ํ/๋ถ, ์ฒด์จ 37.5โ์ด๋ค. ๋ฐฐ ์ ์ฒด๊ฐ ๋ฑ๋ฑํ๊ณ ๋ฐฐ์ ์ํต๊ณผ ๋ฐ๋์ํต์ด ์๋ค. ํ์ก๊ฒ์ฌ ๊ฒฐ๊ณผ๋ ๋ค์๊ณผ ๊ฐ๋ค. ์์ ์ ํฌ์ฌํด์ผ ํ ์ ์ ๋?ํ์์ 10.3 g/dL, ๋ฐฑํ๊ตฌ 22,000/mm^3, ํ์ํ 120,000/mm^3 ํ๋กํธ๋กฌ๋น์๊ฐ 20์ด(์ฐธ๊ณ ์น, 12.7๏ฝ15.4) ํ์ฑํ๋ถ๋ถํธ๋กฌ๋ณดํ๋ผ์คํด์๊ฐ 30์ด(์ฐธ๊ณ ์น, 26.3๏ฝ39.4) ์ด๋จ๋ฐฑ์ง 6.5 g/dL, ์๋ถ๋ฏผ 3.0 g/dL,์ด๋น๋ฆฌ๋ฃจ๋น 3.5 mg/dL, ', |
|
'์ ์ ๋๊ฒฐํ์ฅ', |
|
'๋ฉดํ์๊ฒฉ ์ ์ง', |
|
] |
|
embeddings = model.encode(sentences) |
|
print(embeddings.shape) |
|
# [3, 768] |
|
|
|
# Get the similarity scores for the embeddings |
|
similarities = model.similarity(embeddings, embeddings) |
|
print(similarities.shape) |
|
# [3, 3] |
|
``` |
|
|
|
<!-- |
|
### 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.* |
|
--> |
|
|
|
<!-- |
|
## Bias, Risks and Limitations |
|
|
|
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.* |
|
--> |
|
|
|
<!-- |
|
### Recommendations |
|
|
|
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.* |
|
--> |
|
|
|
## Training Details |
|
|
|
### Training Dataset |
|
|
|
#### Unnamed Dataset |
|
|
|
|
|
* Size: 1,890 training samples |
|
* Columns: <code>query</code> and <code>answer</code> |
|
* Approximate statistics based on the first 1000 samples: |
|
| | query | answer | |
|
|:--------|:-------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------| |
|
| type | string | string | |
|
| details | <ul><li>min: 11 tokens</li><li>mean: 112.75 tokens</li><li>max: 316 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 8.62 tokens</li><li>max: 33 tokens</li></ul> | |
|
* Samples: |
|
| query | answer | |
|
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------| |
|
| <code>ํญ๋ฌธ์ ์ธก์ ๊ฒ์ฌ์์ ํญ๋ฌธ ์๋ ฅ์ด ์ฆ๊ฐํ๋ ๊ฒฝ์ฐ๋?</code> | <code>ํญ๋ฌธ์ด์ฐฝ(anal fissure)</code> | |
|
| <code>๋ณต๋ถ๋๋๋งฅ(abdominal aorta) ์์ ์ฒ์ ๋ถ์ง(first branch) ๋๋ ๋๋งฅ์?</code> | <code>๋์๋ก์ฐฝ์๋๋งฅ(ileocolic artery)</code> | |
|
| <code>58์ธ ๋จ์๊ฐ ๋๋ ์ฅ์ ์ ํ ์งง์์ฐฝ์์ฆํ๊ตฐ(short bowel syndrome) ์ผ๋ก 4๊ฐ์ ๊ฐ ์์ ๋น๊ฒฝ๊ตฌ<br>์์์๋ฒ์ ๋ฐ๊ณ ์๋ ์ค์ด๋ค. ์ฑํ ํ ํผ๊ฐ ์ ๋ฉ์ง ์์๋ค. ํ์ก๊ฒ์ฌ ๊ฒฐ๊ณผ๋ ๋ค์๊ณผ ๊ฐ๋ค.<br>๊ฒฐํ์ด ์์ฌ๋๋ ๊ฒ์?<br>ํ์์ 13.5 g/dL, ๋ฐฑํ๊ตฌ 4,500/mm^3, ํ์ํ 220,000/mm^3 <br>์๋ถ๋ฏผ 3.7 g/dL, ์ด ๋น๋ฆฌ๋ฃจ๋น 1.0 mg/dL, ์์นผ๋ฆฌ ์ธ์ฐ๋ถํดํจ์(ALP) 90 U/L,<br>์์คํ๋ฅดํ
์ดํธ ์๋ฏธ๋
ธ์ ๋ฌํจ์(AST) 22 U/L, ์๋ผ๋ ์๋ฏธ๋
ธ์ ๋ฌํจ์(ALT) 16 U/L,<br>ํ๋กํธ๋กฌ๋น์๊ฐ 30.5์ด (์ฐธ๊ณ ์น, 12.7~15.4),<br>ํ์ฑํ๋ถ๋ถํธ๋กฌ๋ณดํ๋ผ์คํด์๊ฐ 34.5์ด (์ฐธ๊ณ ์น, 26.3~39.4) </code> | <code>ํธ๋กฌ๋น</code> | |
|
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters: |
|
```json |
|
{ |
|
"scale": 20.0, |
|
"similarity_fct": "cos_sim" |
|
} |
|
``` |
|
|
|
### Evaluation Dataset |
|
|
|
#### Unnamed Dataset |
|
|
|
|
|
* Size: 164 evaluation samples |
|
* Columns: <code>query</code> and <code>answer</code> |
|
* Approximate statistics based on the first 1000 samples: |
|
| | query | answer | |
|
|:--------|:-------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------| |
|
| type | string | string | |
|
| details | <ul><li>min: 18 tokens</li><li>mean: 153.24 tokens</li><li>max: 369 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.71 tokens</li><li>max: 40 tokens</li></ul> | |
|
* Samples: |
|
| query | answer | |
|
|:-----------------------------------------------------------------------------------------------------------|:----------------------| |
|
| <code>๊ด์ญ์ ์์ฌ ๋ํ๋ณ์์ ์์๋ ๋ด๊ณผ ์ ๋ฌธ์ A๊ฐ ์ฝ๋ ๋ผ ํ์๋ฅผ ์ง๋จํ๋ค. A๊ฐ ํ ์กฐ์น๋?</code> | <code>๋ณ์์ฅ์๊ฒ ๋ณด๊ณ </code> | |
|
| <code>A๋ ์ 1๊ธ ๊ฐ์ผ๋ณ์ผ๋ก ์ง๋จ์ ๋ฐ์๋ค. B๋ ๋ง์คํฌ๋ฅผ ์ฐฉ์ฉํ์ง ์์ ์ฑ A์ ๋ฐ์ ํ๊ฒ ์ ์ดํ๋ค. B๋ ์ฆ์์ด ์๋ค. ์ญํ์กฐ์ฌ๊ด์ ์ด ๋จ๊ณ์์ B๋ฅผ ๋ฌด์์ผ๋ก ๋ถ๋ฅํ๋๊ฐ?</code> | <code>๊ฐ์ผ๋ณ ์์ฌ์</code> | |
|
| <code>๊ฒ์ญ์ ๋ด ๊ฒฉ๋ฆฌ๋ณ๋์ ๊ฒฉ๋ฆฌ๋์ด ์๋ ์ฝ๋ ๋ผ ํ์ A์ ๊ฐ์ผ๋ ฅ์ด ์์ด์ง ๊ฒ์ด ํ์ธ๋์๋ค. A์ ๋ํ ์กฐ์น๋?</code> | <code>๊ฒฉ๋ฆฌ ํด์ </code> | |
|
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters: |
|
```json |
|
{ |
|
"scale": 20.0, |
|
"similarity_fct": "cos_sim" |
|
} |
|
``` |
|
|
|
### Training Hyperparameters |
|
#### Non-Default Hyperparameters |
|
|
|
- `eval_strategy`: epoch |
|
- `per_device_eval_batch_size`: 16 |
|
- `learning_rate`: 3e-05 |
|
- `warmup_ratio`: 0.1 |
|
- `fp16`: True |
|
- `load_best_model_at_end`: True |
|
- `ddp_find_unused_parameters`: False |
|
|
|
#### All Hyperparameters |
|
<details><summary>Click to expand</summary> |
|
|
|
- `overwrite_output_dir`: False |
|
- `do_predict`: False |
|
- `eval_strategy`: epoch |
|
- `prediction_loss_only`: True |
|
- `per_device_train_batch_size`: 8 |
|
- `per_device_eval_batch_size`: 16 |
|
- `per_gpu_train_batch_size`: None |
|
- `per_gpu_eval_batch_size`: None |
|
- `gradient_accumulation_steps`: 1 |
|
- `eval_accumulation_steps`: None |
|
- `learning_rate`: 3e-05 |
|
- `weight_decay`: 0.0 |
|
- `adam_beta1`: 0.9 |
|
- `adam_beta2`: 0.999 |
|
- `adam_epsilon`: 1e-08 |
|
- `max_grad_norm`: 1.0 |
|
- `num_train_epochs`: 3 |
|
- `max_steps`: -1 |
|
- `lr_scheduler_type`: linear |
|
- `lr_scheduler_kwargs`: {} |
|
- `warmup_ratio`: 0.1 |
|
- `warmup_steps`: 0 |
|
- `log_level`: passive |
|
- `log_level_replica`: warning |
|
- `log_on_each_node`: True |
|
- `logging_nan_inf_filter`: True |
|
- `save_safetensors`: True |
|
- `save_on_each_node`: False |
|
- `save_only_model`: False |
|
- `restore_callback_states_from_checkpoint`: False |
|
- `no_cuda`: False |
|
- `use_cpu`: False |
|
- `use_mps_device`: False |
|
- `seed`: 42 |
|
- `data_seed`: None |
|
- `jit_mode_eval`: False |
|
- `use_ipex`: False |
|
- `bf16`: False |
|
- `fp16`: True |
|
- `fp16_opt_level`: O1 |
|
- `half_precision_backend`: auto |
|
- `bf16_full_eval`: False |
|
- `fp16_full_eval`: False |
|
- `tf32`: None |
|
- `local_rank`: 0 |
|
- `ddp_backend`: None |
|
- `tpu_num_cores`: None |
|
- `tpu_metrics_debug`: False |
|
- `debug`: [] |
|
- `dataloader_drop_last`: False |
|
- `dataloader_num_workers`: 0 |
|
- `dataloader_prefetch_factor`: None |
|
- `past_index`: -1 |
|
- `disable_tqdm`: False |
|
- `remove_unused_columns`: True |
|
- `label_names`: None |
|
- `load_best_model_at_end`: True |
|
- `ignore_data_skip`: False |
|
- `fsdp`: [] |
|
- `fsdp_min_num_params`: 0 |
|
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False} |
|
- `fsdp_transformer_layer_cls_to_wrap`: None |
|
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None} |
|
- `deepspeed`: None |
|
- `label_smoothing_factor`: 0.0 |
|
- `optim`: adamw_torch |
|
- `optim_args`: None |
|
- `adafactor`: False |
|
- `group_by_length`: False |
|
- `length_column_name`: length |
|
- `ddp_find_unused_parameters`: False |
|
- `ddp_bucket_cap_mb`: None |
|
- `ddp_broadcast_buffers`: False |
|
- `dataloader_pin_memory`: True |
|
- `dataloader_persistent_workers`: False |
|
- `skip_memory_metrics`: True |
|
- `use_legacy_prediction_loop`: False |
|
- `push_to_hub`: False |
|
- `resume_from_checkpoint`: None |
|
- `hub_model_id`: None |
|
- `hub_strategy`: every_save |
|
- `hub_private_repo`: False |
|
- `hub_always_push`: False |
|
- `gradient_checkpointing`: False |
|
- `gradient_checkpointing_kwargs`: None |
|
- `include_inputs_for_metrics`: False |
|
- `eval_do_concat_batches`: True |
|
- `fp16_backend`: auto |
|
- `push_to_hub_model_id`: None |
|
- `push_to_hub_organization`: None |
|
- `mp_parameters`: |
|
- `auto_find_batch_size`: False |
|
- `full_determinism`: False |
|
- `torchdynamo`: None |
|
- `ray_scope`: last |
|
- `ddp_timeout`: 1800 |
|
- `torch_compile`: False |
|
- `torch_compile_backend`: None |
|
- `torch_compile_mode`: None |
|
- `dispatch_batches`: None |
|
- `split_batches`: None |
|
- `include_tokens_per_second`: False |
|
- `include_num_input_tokens_seen`: False |
|
- `neftune_noise_alpha`: None |
|
- `optim_target_modules`: None |
|
- `batch_eval_metrics`: False |
|
- `eval_on_start`: False |
|
- `batch_sampler`: batch_sampler |
|
- `multi_dataset_batch_sampler`: proportional |
|
|
|
</details> |
|
|
|
### Training Logs |
|
| Epoch | Step | Training Loss | loss | |
|
|:------:|:----:|:-------------:|:------:| |
|
| 0.1055 | 25 | 2.4397 | - | |
|
| 0.2110 | 50 | 1.986 | - | |
|
| 0.3165 | 75 | 1.881 | - | |
|
| 0.4219 | 100 | 1.8105 | - | |
|
| 0.5274 | 125 | 1.7378 | - | |
|
| 0.6329 | 150 | 1.5942 | - | |
|
| 0.7384 | 175 | 1.4586 | - | |
|
| 0.8439 | 200 | 1.3904 | - | |
|
| 0.9494 | 225 | 1.4707 | - | |
|
| 1.0 | 237 | - | 1.3109 | |
|
| 1.0549 | 250 | 1.234 | - | |
|
| 1.1603 | 275 | 1.1867 | - | |
|
| 1.2658 | 300 | 1.0103 | - | |
|
| 1.3713 | 325 | 1.088 | - | |
|
| 1.4768 | 350 | 1.1066 | - | |
|
| 1.5823 | 375 | 1.049 | - | |
|
| 1.6878 | 400 | 1.0639 | - | |
|
| 1.7932 | 425 | 1.1133 | - | |
|
| 1.8987 | 450 | 0.9188 | - | |
|
| 2.0 | 474 | - | 1.0434 | |
|
|
|
|
|
### Framework Versions |
|
- Python: 3.10.14 |
|
- Sentence Transformers: 3.0.1 |
|
- Transformers: 4.42.2 |
|
- PyTorch: 2.3.0 |
|
- Accelerate: 0.31.0 |
|
- Datasets: 2.19.1 |
|
- Tokenizers: 0.19.1 |
|
|
|
## Citation |
|
|
|
### BibTeX |
|
|
|
#### Sentence Transformers |
|
```bibtex |
|
@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", |
|
} |
|
``` |
|
|
|
#### MultipleNegativesRankingLoss |
|
```bibtex |
|
@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.* |
|
--> |