josangho99 commited on
Commit
85d34cf
·
verified ·
1 Parent(s): f07ad94

KorFin 모델 업데이트 (2025-09-09)

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ unigram.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,525 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:203584
9
+ - loss:MultipleNegativesRankingLoss
10
+ widget:
11
+ - source_sentence: 또한 젊은 무슬림 인 구가 점차 증가함에 따라 2030년에는 전 세계 청년층(15-29세)인구 중 무슬림 이 29%를
12
+ 차지하게 되어 전 세계적으로 젊은 소비자 시장 비중이 커지는 효과 가 나타날 것으로 전망 된다.
13
+ sentences:
14
+ - 참가를 원하는 경우 대한상의 소통 플랫폼 홈페이지(sotong.korcham.net)를 통해 아이디어 제목과 내용, 제안 이유, 기대 효과
15
+ 등을 담아 제출하면 된다.
16
+ - ② 제1항의 변상금 부과ㆍ징수에 이의가 있는 점유자는 규칙에서 정하는 서식에 따라 변상금 사전 통지에 대한 의견서를 제출할 수 있다.
17
+ - 젊은 무슬림 인 구가 점차 증가함에 따라 2030년에는 전 세계 청년층인구 중 무슬림 이 29%를 차지하게 되어 전 세계적으로 젊은 소비자
18
+ 시장 비중이 커지는 효과 가 나타날 것으로 전망 된다.
19
+ - source_sentence: 13일 LG전자에 따르면 최근 아르헨티나, 콜롬비아, 페루, 칠레 등 중남미 4개국에 LG 채널 서비스가 추가로
20
+ 출시됐다.
21
+ sentences:
22
+ - ② 법 제16조 제1항에 따른 결정이나 법 제17조에 따른 경정을 하는 경우의 납세지는 그 결정 또는 경정일 현재를 기준으로 한다.
23
+ - 외국인투자의 다양한 수요를 반영할 수 있도록 유연한 공간, 기능, 유형의 외국인투자유치 구역 조성
24
+ - 13일 LG전자에 따르면 최근 아르헨티나, 콜롬비아, 페루, 칠레 등 중남미 4개국에 LG 채널 서비스가 추가로 출시됐다.
25
+ - source_sentence: '- 외부감사인이 감사종료 후 당해 법인에 제출하는 감사보고서 상의 재무제표는 당해 법인의 주주총회의 승인 절차를
26
+ 거쳐 확정된 재무제표가 아니므로 승인 과정에서 변경될 수 있습니다.'
27
+ sentences:
28
+ - 외부감사인이 감사종료 후 당해 법인에 제출하는 감사보고서 상의 재무제표는 당해 법인의 주주총회의 승인 절차를 거쳐 확정된 재무제표가 아니므로
29
+ 승인 과정에서 변경될 수 있습니다.
30
+ - 제3항에 따른 금융위원회의 요구에 따르지 아니하거나 그 이행을 게을리하는 경우.
31
+ - 은성수 금융위원장이 이날 국회 정무위원회 전체회의에서 가상화폐 투자의 위험성에 대해 경고한 데 이어 별도 자료를 낸 것이다.
32
+ - source_sentence: ③ 시장은 주민이 도시관리계획 입안을 제안한 도시관리계획안에 대하여는 반영할 것인지 여부를 결정함에 있어 필요한
33
+ 경우에는 안동시도시계획위원회의 자문을 거칠 수 있으며, 자문결과 보완사항에 대하여는 제안자의 의견을 들어 입안할 수 있다.
34
+ sentences:
35
+ - 지금 이후로도 언제든지 귀하께 더욱 봉사할 수 있다면 가능한 어떤 방법으로라도 귀하를 도와드리는 것을 무한의 영예라고 생각합니다.
36
+ - ③ 시장은 주민이 도시관리계획 입안을 제안한 도시관리계획안에 대하여는 반영할 것인지 여부를 결정함에 있어 필요한 경우에는 안동시도시계획위원회의
37
+ 자문을 거칠 수 있으며, 자문결과 보완사항에 대하여는 제안자의 의견을 들어 입안할 수 있다.
38
+ - 당사는 보고서 제출일 현재 16개의 계열회사가 있으며, 그 내역은 다음과 같습니다.
39
+ - source_sentence: 연차주주총회는 이 투자회사의 등록사무소나 총회 소집 통지서에 기재되는 룩셈부르크의 다른 장소에서 개최됩니다.
40
+ sentences:
41
+ - ② 국제거래에 대해서는 「소득세법」 제41조와 「법인세법」 제52조를 적용하지 아니한다.
42
+ - 이날 유가는 유럽연합(EU)이 전날 브뤼셀에서 회의를 열고 러시아산 원유 수입을 부분 금지하는 데 합의했다고 밝히면서 장중 120달러에 육박한
43
+ 수준까지 치솟았다.
44
+ - 연차주주총회는 이 투자회사의 등록사무소나 총회 소집 통지서에 기재되는 룩셈부르크의 다른 장소에서 개최됩니다.
45
+ pipeline_tag: sentence-similarity
46
+ library_name: sentence-transformers
47
+ metrics:
48
+ - pearson_cosine
49
+ - spearman_cosine
50
+ - pearson_euclidean
51
+ - spearman_euclidean
52
+ - pearson_manhattan
53
+ - spearman_manhattan
54
+ - pearson_dot
55
+ - spearman_dot
56
+ - pearson_max
57
+ - spearman_max
58
+ model-index:
59
+ - name: SentenceTransformer
60
+ results:
61
+ - task:
62
+ type: semantic-similarity
63
+ name: Semantic Similarity
64
+ dataset:
65
+ name: Unknown
66
+ type: unknown
67
+ metrics:
68
+ - type: pearson_cosine
69
+ value: 0.9872563890142012
70
+ name: Pearson Cosine
71
+ - type: spearman_cosine
72
+ value: 0.8670755508935585
73
+ name: Spearman Cosine
74
+ - type: pearson_euclidean
75
+ value: 0.9750324878266012
76
+ name: Pearson Euclidean
77
+ - type: spearman_euclidean
78
+ value: 0.8666548835528818
79
+ name: Spearman Euclidean
80
+ - type: pearson_manhattan
81
+ value: 0.9748722694971894
82
+ name: Pearson Manhattan
83
+ - type: spearman_manhattan
84
+ value: 0.8666535238443746
85
+ name: Spearman Manhattan
86
+ - type: pearson_dot
87
+ value: 0.9289374295855684
88
+ name: Pearson Dot
89
+ - type: spearman_dot
90
+ value: 0.8659145585242557
91
+ name: Spearman Dot
92
+ - type: pearson_max
93
+ value: 0.9872563890142012
94
+ name: Pearson Max
95
+ - type: spearman_max
96
+ value: 0.8670755508935585
97
+ name: Spearman Max
98
+ - type: pearson_cosine
99
+ value: 0.9873796600782967
100
+ name: Pearson Cosine
101
+ - type: spearman_cosine
102
+ value: 0.867217167071606
103
+ name: Spearman Cosine
104
+ - type: pearson_euclidean
105
+ value: 0.9751576084412295
106
+ name: Pearson Euclidean
107
+ - type: spearman_euclidean
108
+ value: 0.867003486040731
109
+ name: Spearman Euclidean
110
+ - type: pearson_manhattan
111
+ value: 0.9750413090458167
112
+ name: Pearson Manhattan
113
+ - type: spearman_manhattan
114
+ value: 0.8670195370208187
115
+ name: Spearman Manhattan
116
+ - type: pearson_dot
117
+ value: 0.9292959727106296
118
+ name: Pearson Dot
119
+ - type: spearman_dot
120
+ value: 0.865986213799658
121
+ name: Spearman Dot
122
+ - type: pearson_max
123
+ value: 0.9873796600782967
124
+ name: Pearson Max
125
+ - type: spearman_max
126
+ value: 0.867217167071606
127
+ name: Spearman Max
128
+ ---
129
+
130
+ # SentenceTransformer
131
+
132
+ This is a [sentence-transformers](https://www.SBERT.net) model trained. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
133
+
134
+ ## Model Details
135
+
136
+ ### Model Description
137
+ - **Model Type:** Sentence Transformer
138
+ <!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
139
+ - **Maximum Sequence Length:** 128 tokens
140
+ - **Output Dimensionality:** 384 dimensions
141
+ - **Similarity Function:** Cosine Similarity
142
+ <!-- - **Training Dataset:** Unknown -->
143
+ <!-- - **Language:** Unknown -->
144
+ <!-- - **License:** Unknown -->
145
+
146
+ ### Model Sources
147
+
148
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
149
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
150
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
151
+
152
+ ### Full Model Architecture
153
+
154
+ ```
155
+ SentenceTransformer(
156
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
157
+ (1): Pooling({'word_embedding_dimension': 384, '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})
158
+ )
159
+ ```
160
+
161
+ ## Usage
162
+
163
+ ### Direct Usage (Sentence Transformers)
164
+
165
+ First install the Sentence Transformers library:
166
+
167
+ ```bash
168
+ pip install -U sentence-transformers
169
+ ```
170
+
171
+ Then you can load this model and run inference.
172
+ ```python
173
+ from sentence_transformers import SentenceTransformer
174
+
175
+ # Download from the 🤗 Hub
176
+ model = SentenceTransformer("josangho99/ko-paraphrase-multilingual-MiniLM-L12-v2-multiTask-Fin")
177
+ # Run inference
178
+ sentences = [
179
+ '연차주주총회는 이 투자회사의 등록사무소나 총회 소집 통지서에 기재되는 룩셈부르크의 다른 장소에서 개최됩니다.',
180
+ '연차주주총회는 이 투자회사의 등록사무소나 총회 소집 통지서에 기재되는 룩셈부르크의 다른 장소에서 개최됩니다.',
181
+ '② 국제거래에 대해서는 「소득세법」 제41조와 「법인세법」 제52조를 적용하지 아니한다.',
182
+ ]
183
+ embeddings = model.encode(sentences)
184
+ print(embeddings.shape)
185
+ # [3, 384]
186
+
187
+ # Get the similarity scores for the embeddings
188
+ similarities = model.similarity(embeddings, embeddings)
189
+ print(similarities)
190
+ # tensor([[1.0000, 1.0000, 0.0730],
191
+ # [1.0000, 1.0000, 0.0730],
192
+ # [0.0730, 0.0730, 1.0000]])
193
+ ```
194
+
195
+ <!--
196
+ ### Direct Usage (Transformers)
197
+
198
+ <details><summary>Click to see the direct usage in Transformers</summary>
199
+
200
+ </details>
201
+ -->
202
+
203
+ <!--
204
+ ### Downstream Usage (Sentence Transformers)
205
+
206
+ You can finetune this model on your own dataset.
207
+
208
+ <details><summary>Click to expand</summary>
209
+
210
+ </details>
211
+ -->
212
+
213
+ <!--
214
+ ### Out-of-Scope Use
215
+
216
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
217
+ -->
218
+
219
+ ## Evaluation
220
+
221
+ ### Metrics
222
+
223
+ #### Semantic Similarity
224
+
225
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
226
+
227
+ | Metric | Value |
228
+ |:--------------------|:-----------|
229
+ | pearson_cosine | 0.9873 |
230
+ | **spearman_cosine** | **0.8671** |
231
+ | pearson_euclidean | 0.975 |
232
+ | spearman_euclidean | 0.8667 |
233
+ | pearson_manhattan | 0.9749 |
234
+ | spearman_manhattan | 0.8667 |
235
+ | pearson_dot | 0.9289 |
236
+ | spearman_dot | 0.8659 |
237
+ | pearson_max | 0.9873 |
238
+ | spearman_max | 0.8671 |
239
+
240
+ #### Semantic Similarity
241
+
242
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
243
+
244
+ | Metric | Value |
245
+ |:--------------------|:-----------|
246
+ | pearson_cosine | 0.9874 |
247
+ | **spearman_cosine** | **0.8672** |
248
+ | pearson_euclidean | 0.9752 |
249
+ | spearman_euclidean | 0.867 |
250
+ | pearson_manhattan | 0.975 |
251
+ | spearman_manhattan | 0.867 |
252
+ | pearson_dot | 0.9293 |
253
+ | spearman_dot | 0.866 |
254
+ | pearson_max | 0.9874 |
255
+ | spearman_max | 0.8672 |
256
+
257
+ <!--
258
+ ## Bias, Risks and Limitations
259
+
260
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
261
+ -->
262
+
263
+ <!--
264
+ ### Recommendations
265
+
266
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
267
+ -->
268
+
269
+ ## Training Details
270
+
271
+ ### Training Dataset
272
+
273
+ #### Unnamed Dataset
274
+
275
+ * Size: 203,584 training samples
276
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
277
+ * Approximate statistics based on the first 1000 samples:
278
+ | | sentence_0 | sentence_1 |
279
+ |:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
280
+ | type | string | string |
281
+ | details | <ul><li>min: 15 tokens</li><li>mean: 47.4 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 14 tokens</li><li>mean: 45.62 tokens</li><li>max: 128 tokens</li></ul> |
282
+ * Samples:
283
+ | sentence_0 | sentence_1 |
284
+ |:------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------|
285
+ | <code>기존 패러다임의 한계를 극복하고 새로운 도 에 응하기 해 국가발 패러다임을 성장과 복지가 함께 가는 동반성장 략으로 환할 필요가 있다.</code> | <code>기존 패러다임의 한계를 극복하고 국가발 패러다임을 성장과 복지가 함께 가는 동반성장 전략으로 환할 필요가 있다.</code> |
286
+ | <code>회사는 계속기록법에 따라 기록한 재고자산의 수량을 실지 재고조사에 의하여 확정하고, 그 금액은 개별법에 의하여 평가하고 있습니다.</code> | <code>회사는 계속기록법에 따라 기록한 재고자산의 수량을 실지 재고조사에 의하여 확정하고, 그 금액은 개별법에 의하여 평가하고 있습니다.</code> |
287
+ | <code>금융당국은 2014년 몇 차례 공청회를 개최하여 각계의 의견 수렴을 바탕으로 K-NCR 제도 개선의 방향과 의지를 강하게 표명하고 있다.</code> | <code>금융당국은 2014년 몇 차례 공청회를 개최하여 각계의 의견 수렴을 바탕으로 K-NCR 제도 개선의 방향과 의지를 강하게 표명하고 있다.</code> |
288
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
289
+ ```json
290
+ {
291
+ "scale": 20.0,
292
+ "similarity_fct": "cos_sim",
293
+ "gather_across_devices": false
294
+ }
295
+ ```
296
+
297
+ ### Training Hyperparameters
298
+ #### Non-Default Hyperparameters
299
+
300
+ - `eval_strategy`: steps
301
+ - `per_device_train_batch_size`: 64
302
+ - `per_device_eval_batch_size`: 64
303
+ - `num_train_epochs`: 2
304
+ - `batch_sampler`: no_duplicates
305
+ - `multi_dataset_batch_sampler`: round_robin
306
+
307
+ #### All Hyperparameters
308
+ <details><summary>Click to expand</summary>
309
+
310
+ - `overwrite_output_dir`: False
311
+ - `do_predict`: False
312
+ - `eval_strategy`: steps
313
+ - `prediction_loss_only`: True
314
+ - `per_device_train_batch_size`: 64
315
+ - `per_device_eval_batch_size`: 64
316
+ - `per_gpu_train_batch_size`: None
317
+ - `per_gpu_eval_batch_size`: None
318
+ - `gradient_accumulation_steps`: 1
319
+ - `eval_accumulation_steps`: None
320
+ - `torch_empty_cache_steps`: None
321
+ - `learning_rate`: 5e-05
322
+ - `weight_decay`: 0.0
323
+ - `adam_beta1`: 0.9
324
+ - `adam_beta2`: 0.999
325
+ - `adam_epsilon`: 1e-08
326
+ - `max_grad_norm`: 1
327
+ - `num_train_epochs`: 2
328
+ - `max_steps`: -1
329
+ - `lr_scheduler_type`: linear
330
+ - `lr_scheduler_kwargs`: {}
331
+ - `warmup_ratio`: 0.0
332
+ - `warmup_steps`: 0
333
+ - `log_level`: passive
334
+ - `log_level_replica`: warning
335
+ - `log_on_each_node`: True
336
+ - `logging_nan_inf_filter`: True
337
+ - `save_safetensors`: True
338
+ - `save_on_each_node`: False
339
+ - `save_only_model`: False
340
+ - `restore_callback_states_from_checkpoint`: False
341
+ - `no_cuda`: False
342
+ - `use_cpu`: False
343
+ - `use_mps_device`: False
344
+ - `seed`: 42
345
+ - `data_seed`: None
346
+ - `jit_mode_eval`: False
347
+ - `use_ipex`: False
348
+ - `bf16`: False
349
+ - `fp16`: False
350
+ - `fp16_opt_level`: O1
351
+ - `half_precision_backend`: auto
352
+ - `bf16_full_eval`: False
353
+ - `fp16_full_eval`: False
354
+ - `tf32`: None
355
+ - `local_rank`: 0
356
+ - `ddp_backend`: None
357
+ - `tpu_num_cores`: None
358
+ - `tpu_metrics_debug`: False
359
+ - `debug`: []
360
+ - `dataloader_drop_last`: False
361
+ - `dataloader_num_workers`: 0
362
+ - `dataloader_prefetch_factor`: None
363
+ - `past_index`: -1
364
+ - `disable_tqdm`: False
365
+ - `remove_unused_columns`: True
366
+ - `label_names`: None
367
+ - `load_best_model_at_end`: False
368
+ - `ignore_data_skip`: False
369
+ - `fsdp`: []
370
+ - `fsdp_min_num_params`: 0
371
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
372
+ - `fsdp_transformer_layer_cls_to_wrap`: None
373
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
374
+ - `parallelism_config`: None
375
+ - `deepspeed`: None
376
+ - `label_smoothing_factor`: 0.0
377
+ - `optim`: adamw_torch_fused
378
+ - `optim_args`: None
379
+ - `adafactor`: False
380
+ - `group_by_length`: False
381
+ - `length_column_name`: length
382
+ - `ddp_find_unused_parameters`: None
383
+ - `ddp_bucket_cap_mb`: None
384
+ - `ddp_broadcast_buffers`: False
385
+ - `dataloader_pin_memory`: True
386
+ - `dataloader_persistent_workers`: False
387
+ - `skip_memory_metrics`: True
388
+ - `use_legacy_prediction_loop`: False
389
+ - `push_to_hub`: False
390
+ - `resume_from_checkpoint`: None
391
+ - `hub_model_id`: None
392
+ - `hub_strategy`: every_save
393
+ - `hub_private_repo`: None
394
+ - `hub_always_push`: False
395
+ - `hub_revision`: None
396
+ - `gradient_checkpointing`: False
397
+ - `gradient_checkpointing_kwargs`: None
398
+ - `include_inputs_for_metrics`: False
399
+ - `include_for_metrics`: []
400
+ - `eval_do_concat_batches`: True
401
+ - `fp16_backend`: auto
402
+ - `push_to_hub_model_id`: None
403
+ - `push_to_hub_organization`: None
404
+ - `mp_parameters`:
405
+ - `auto_find_batch_size`: False
406
+ - `full_determinism`: False
407
+ - `torchdynamo`: None
408
+ - `ray_scope`: last
409
+ - `ddp_timeout`: 1800
410
+ - `torch_compile`: False
411
+ - `torch_compile_backend`: None
412
+ - `torch_compile_mode`: None
413
+ - `include_tokens_per_second`: False
414
+ - `include_num_input_tokens_seen`: False
415
+ - `neftune_noise_alpha`: None
416
+ - `optim_target_modules`: None
417
+ - `batch_eval_metrics`: False
418
+ - `eval_on_start`: False
419
+ - `use_liger_kernel`: False
420
+ - `liger_kernel_config`: None
421
+ - `eval_use_gather_object`: False
422
+ - `average_tokens_across_devices`: False
423
+ - `prompts`: None
424
+ - `batch_sampler`: no_duplicates
425
+ - `multi_dataset_batch_sampler`: round_robin
426
+ - `router_mapping`: {}
427
+ - `learning_rate_mapping`: {}
428
+
429
+ </details>
430
+
431
+ ### Training Logs
432
+ | Epoch | Step | Training Loss | spearman_cosine |
433
+ |:------:|:----:|:-------------:|:---------------:|
434
+ | 0.1000 | 318 | - | 0.8672 |
435
+ | 0.1572 | 500 | 0.0011 | - |
436
+ | 0.1999 | 636 | - | 0.8672 |
437
+ | 0.2999 | 954 | - | 0.8671 |
438
+ | 0.3144 | 1000 | 0.0015 | - |
439
+ | 0.3999 | 1272 | - | 0.8672 |
440
+ | 0.4715 | 1500 | 0.0012 | - |
441
+ | 0.4998 | 1590 | - | 0.8672 |
442
+ | 0.5998 | 1908 | - | 0.8672 |
443
+ | 0.6287 | 2000 | 0.0009 | - |
444
+ | 0.6998 | 2226 | - | 0.8671 |
445
+ | 0.7859 | 2500 | 0.0011 | - |
446
+ | 0.7997 | 2544 | - | 0.8672 |
447
+ | 0.8997 | 2862 | - | 0.8672 |
448
+ | 0.9431 | 3000 | 0.0004 | - |
449
+ | 0.9997 | 3180 | - | 0.8671 |
450
+ | 1.0 | 3181 | - | 0.8671 |
451
+ | 1.0997 | 3498 | - | 0.8672 |
452
+ | 1.1003 | 3500 | 0.0009 | - |
453
+ | 1.1996 | 3816 | - | 0.8672 |
454
+ | 1.2575 | 4000 | 0.0008 | - |
455
+ | 1.2996 | 4134 | - | 0.8671 |
456
+ | 1.3996 | 4452 | - | 0.8671 |
457
+ | 1.4146 | 4500 | 0.0007 | - |
458
+ | 1.4995 | 4770 | - | 0.8671 |
459
+ | 1.5718 | 5000 | 0.0003 | - |
460
+ | 1.5995 | 5088 | - | 0.8671 |
461
+ | 1.6995 | 5406 | - | 0.8671 |
462
+ | 1.7290 | 5500 | 0.0002 | - |
463
+ | 1.7994 | 5724 | - | 0.8671 |
464
+ | 1.8862 | 6000 | 0.0003 | - |
465
+ | 1.8994 | 6042 | - | 0.8672 |
466
+ | 1.9994 | 6360 | - | 0.8672 |
467
+ | 2.0 | 6362 | - | 0.8671 |
468
+ | -1 | -1 | - | 0.8672 |
469
+
470
+
471
+ ### Framework Versions
472
+ - Python: 3.12.11
473
+ - Sentence Transformers: 5.1.0
474
+ - Transformers: 4.56.1
475
+ - PyTorch: 2.8.0+cu126
476
+ - Accelerate: 1.10.1
477
+ - Datasets: 4.0.0
478
+ - Tokenizers: 0.22.0
479
+
480
+ ## Citation
481
+
482
+ ### BibTeX
483
+
484
+ #### Sentence Transformers
485
+ ```bibtex
486
+ @inproceedings{reimers-2019-sentence-bert,
487
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
488
+ author = "Reimers, Nils and Gurevych, Iryna",
489
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
490
+ month = "11",
491
+ year = "2019",
492
+ publisher = "Association for Computational Linguistics",
493
+ url = "https://arxiv.org/abs/1908.10084",
494
+ }
495
+ ```
496
+
497
+ #### MultipleNegativesRankingLoss
498
+ ```bibtex
499
+ @misc{henderson2017efficient,
500
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
501
+ 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},
502
+ year={2017},
503
+ eprint={1705.00652},
504
+ archivePrefix={arXiv},
505
+ primaryClass={cs.CL}
506
+ }
507
+ ```
508
+
509
+ <!--
510
+ ## Glossary
511
+
512
+ *Clearly define terms in order to be accessible across audiences.*
513
+ -->
514
+
515
+ <!--
516
+ ## Model Card Authors
517
+
518
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
519
+ -->
520
+
521
+ <!--
522
+ ## Model Card Contact
523
+
524
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
525
+ -->
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "transformers_version": "4.56.1",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 250037
25
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.1.0",
5
+ "transformers": "4.56.1",
6
+ "pytorch": "2.8.0+cu126"
7
+ },
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85d7b3b4caffa3316da3d28b0be2f0ab066cb77f9f5ed888800d6e95c4838003
3
+ size 470637416
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ }
14
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 128,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": true,
48
+ "eos_token": "</s>",
49
+ "extra_special_tokens": {},
50
+ "mask_token": "<mask>",
51
+ "max_length": 128,
52
+ "model_max_length": 128,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "<pad>",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "</s>",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "<unk>"
65
+ }
unigram.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
3
+ size 14763260