wwydmanski
commited on
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +10 -0
- README.md +730 -0
- config.json +28 -0
- config_sentence_transformers.json +12 -0
- model.safetensors +3 -0
- modules.json +20 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +3 -0
- tokenizer_config.json +61 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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
|
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 1024,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
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,730 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- sentence-transformers
|
4 |
+
- sentence-similarity
|
5 |
+
- feature-extraction
|
6 |
+
- generated_from_trainer
|
7 |
+
- dataset_size:10053
|
8 |
+
- loss:MultipleNegativesRankingLoss
|
9 |
+
base_model: Snowflake/snowflake-arctic-embed-l-v2.0
|
10 |
+
widget:
|
11 |
+
- source_sentence: Fluorescence quenching of tryptophan residues
|
12 |
+
sentences:
|
13 |
+
- 'Fluorescence of buried tyrosine residues in proteins. '
|
14 |
+
- 'A fluorescence quenching study of tryptophanyl residues of (Ca2+ + Mg2+)-ATPase
|
15 |
+
from sarcoplasmic reticulum. '
|
16 |
+
- 'Some hormonal influences on the acetylation of sulfanilamide in vivo. '
|
17 |
+
- source_sentence: Human migration to the Americas
|
18 |
+
sentences:
|
19 |
+
- 'Homo sapiens in the Americas. Overview of the earliest human expansion in the
|
20 |
+
New World. '
|
21 |
+
- 'Profiles of College Drinkers Defined by Alcohol Behaviors at the Week Level:
|
22 |
+
Replication Across Semesters and Prospective Associations With Hazardous Drinking
|
23 |
+
and Dependence-Related Symptoms. '
|
24 |
+
- 'Human migration. '
|
25 |
+
- source_sentence: Human Mobility Prediction
|
26 |
+
sentences:
|
27 |
+
- 'Human mobility prediction from region functions with taxi trajectories. '
|
28 |
+
- 'Understanding Human Mobility from Twitter. '
|
29 |
+
- 'Ovarian cancer gene therapy using HPV-16 pseudovirion carrying the HSV-tk gene. '
|
30 |
+
- source_sentence: Nevirapine Resistance
|
31 |
+
sentences:
|
32 |
+
- 'Nevirapine toxicity. '
|
33 |
+
- 'Recognizing rhenium. '
|
34 |
+
- 'Update on nevirapine: quest for a niche. '
|
35 |
+
- source_sentence: EHL tendon reconstruction
|
36 |
+
sentences:
|
37 |
+
- 'A Combined Surgical Approach for Extensor Hallucis Longus Reconstruction: Two
|
38 |
+
Case Reports. '
|
39 |
+
- 'Flexor tendon reconstruction. '
|
40 |
+
- 'Noble gases and neuroprotection: summary of current evidence. '
|
41 |
+
pipeline_tag: sentence-similarity
|
42 |
+
library_name: sentence-transformers
|
43 |
+
metrics:
|
44 |
+
- cosine_accuracy
|
45 |
+
- dot_accuracy
|
46 |
+
- manhattan_accuracy
|
47 |
+
- euclidean_accuracy
|
48 |
+
- max_accuracy
|
49 |
+
model-index:
|
50 |
+
- name: SentenceTransformer based on Snowflake/snowflake-arctic-embed-l-v2.0
|
51 |
+
results:
|
52 |
+
- task:
|
53 |
+
type: triplet
|
54 |
+
name: Triplet
|
55 |
+
dataset:
|
56 |
+
name: triplet dev
|
57 |
+
type: triplet-dev
|
58 |
+
metrics:
|
59 |
+
- type: cosine_accuracy
|
60 |
+
value: 0.932
|
61 |
+
name: Cosine Accuracy
|
62 |
+
- type: dot_accuracy
|
63 |
+
value: 0.066
|
64 |
+
name: Dot Accuracy
|
65 |
+
- type: manhattan_accuracy
|
66 |
+
value: 0.933
|
67 |
+
name: Manhattan Accuracy
|
68 |
+
- type: euclidean_accuracy
|
69 |
+
value: 0.932
|
70 |
+
name: Euclidean Accuracy
|
71 |
+
- type: max_accuracy
|
72 |
+
value: 0.933
|
73 |
+
name: Max Accuracy
|
74 |
+
---
|
75 |
+
|
76 |
+
# SentenceTransformer based on Snowflake/snowflake-arctic-embed-l-v2.0
|
77 |
+
|
78 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Snowflake/snowflake-arctic-embed-l-v2.0](https://huggingface.co/Snowflake/snowflake-arctic-embed-l-v2.0) on the json dataset. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
79 |
+
|
80 |
+
## Model Details
|
81 |
+
|
82 |
+
### Model Description
|
83 |
+
- **Model Type:** Sentence Transformer
|
84 |
+
- **Base model:** [Snowflake/snowflake-arctic-embed-l-v2.0](https://huggingface.co/Snowflake/snowflake-arctic-embed-l-v2.0) <!-- at revision 7f311bb640ad3babc0a4e3a8873240dcba44c9d2 -->
|
85 |
+
- **Maximum Sequence Length:** 8192 tokens
|
86 |
+
- **Output Dimensionality:** 1024 tokens
|
87 |
+
- **Similarity Function:** Cosine Similarity
|
88 |
+
- **Training Dataset:**
|
89 |
+
- json
|
90 |
+
<!-- - **Language:** Unknown -->
|
91 |
+
<!-- - **License:** Unknown -->
|
92 |
+
|
93 |
+
### Model Sources
|
94 |
+
|
95 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
96 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
97 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
98 |
+
|
99 |
+
### Full Model Architecture
|
100 |
+
|
101 |
+
```
|
102 |
+
SentenceTransformer(
|
103 |
+
(0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: PeftModelForFeatureExtraction
|
104 |
+
(1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
105 |
+
(2): Normalize()
|
106 |
+
)
|
107 |
+
```
|
108 |
+
|
109 |
+
## Usage
|
110 |
+
|
111 |
+
### Direct Usage (Sentence Transformers)
|
112 |
+
|
113 |
+
First install the Sentence Transformers library:
|
114 |
+
|
115 |
+
```bash
|
116 |
+
pip install -U sentence-transformers
|
117 |
+
```
|
118 |
+
|
119 |
+
Then you can load this model and run inference.
|
120 |
+
```python
|
121 |
+
from sentence_transformers import SentenceTransformer
|
122 |
+
|
123 |
+
# Download from the 🤗 Hub
|
124 |
+
model = SentenceTransformer("sentence_transformers_model_id")
|
125 |
+
# Run inference
|
126 |
+
sentences = [
|
127 |
+
'EHL tendon reconstruction',
|
128 |
+
'A Combined Surgical Approach for Extensor Hallucis Longus Reconstruction: Two Case Reports. ',
|
129 |
+
'Flexor tendon reconstruction. ',
|
130 |
+
]
|
131 |
+
embeddings = model.encode(sentences)
|
132 |
+
print(embeddings.shape)
|
133 |
+
# [3, 1024]
|
134 |
+
|
135 |
+
# Get the similarity scores for the embeddings
|
136 |
+
similarities = model.similarity(embeddings, embeddings)
|
137 |
+
print(similarities.shape)
|
138 |
+
# [3, 3]
|
139 |
+
```
|
140 |
+
|
141 |
+
<!--
|
142 |
+
### Direct Usage (Transformers)
|
143 |
+
|
144 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
145 |
+
|
146 |
+
</details>
|
147 |
+
-->
|
148 |
+
|
149 |
+
<!--
|
150 |
+
### Downstream Usage (Sentence Transformers)
|
151 |
+
|
152 |
+
You can finetune this model on your own dataset.
|
153 |
+
|
154 |
+
<details><summary>Click to expand</summary>
|
155 |
+
|
156 |
+
</details>
|
157 |
+
-->
|
158 |
+
|
159 |
+
<!--
|
160 |
+
### Out-of-Scope Use
|
161 |
+
|
162 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
163 |
+
-->
|
164 |
+
|
165 |
+
## Evaluation
|
166 |
+
|
167 |
+
### Metrics
|
168 |
+
|
169 |
+
#### Triplet
|
170 |
+
* Dataset: `triplet-dev`
|
171 |
+
* Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
|
172 |
+
|
173 |
+
| Metric | Value |
|
174 |
+
|:--------------------|:----------|
|
175 |
+
| **cosine_accuracy** | **0.932** |
|
176 |
+
| dot_accuracy | 0.066 |
|
177 |
+
| manhattan_accuracy | 0.933 |
|
178 |
+
| euclidean_accuracy | 0.932 |
|
179 |
+
| max_accuracy | 0.933 |
|
180 |
+
|
181 |
+
<!--
|
182 |
+
## Bias, Risks and Limitations
|
183 |
+
|
184 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
185 |
+
-->
|
186 |
+
|
187 |
+
<!--
|
188 |
+
### Recommendations
|
189 |
+
|
190 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
191 |
+
-->
|
192 |
+
|
193 |
+
## Training Details
|
194 |
+
|
195 |
+
### Training Dataset
|
196 |
+
|
197 |
+
#### json
|
198 |
+
|
199 |
+
* Dataset: json
|
200 |
+
* Size: 10,053 training samples
|
201 |
+
* Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
|
202 |
+
* Approximate statistics based on the first 1000 samples:
|
203 |
+
| | anchor | positive | negative |
|
204 |
+
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
|
205 |
+
| type | string | string | string |
|
206 |
+
| details | <ul><li>min: 4 tokens</li><li>mean: 10.55 tokens</li><li>max: 37 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 26.45 tokens</li><li>max: 66 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 16.1 tokens</li><li>max: 55 tokens</li></ul> |
|
207 |
+
* Samples:
|
208 |
+
| anchor | positive | negative |
|
209 |
+
|:-------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------|
|
210 |
+
| <code>COM-induced secretome changes in U937 monocytes</code> | <code>Characterization of calcium oxalate crystal-induced changes in the secretome of U937 human monocytes. </code> | <code>Monocytes. </code> |
|
211 |
+
| <code>Metamaterials</code> | <code>Sound attenuation optimization using metaporous materials tuned on exceptional points. </code> | <code>Metamaterials: A cat's eye for all directions. </code> |
|
212 |
+
| <code>Pediatric Parasitology</code> | <code>Parasitic infections among school age children 6 to 11-years-of-age in the Eastern province. </code> | <code>[DIALOGUE ON PEDIATRIC PARASITOLOGY]. </code> |
|
213 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
214 |
+
```json
|
215 |
+
{
|
216 |
+
"scale": 20.0,
|
217 |
+
"similarity_fct": "cos_sim"
|
218 |
+
}
|
219 |
+
```
|
220 |
+
|
221 |
+
### Training Hyperparameters
|
222 |
+
#### Non-Default Hyperparameters
|
223 |
+
|
224 |
+
- `eval_strategy`: steps
|
225 |
+
- `per_device_train_batch_size`: 32
|
226 |
+
- `per_device_eval_batch_size`: 32
|
227 |
+
- `learning_rate`: 0.001
|
228 |
+
- `num_train_epochs`: 1
|
229 |
+
- `lr_scheduler_type`: cosine_with_restarts
|
230 |
+
- `warmup_ratio`: 0.1
|
231 |
+
- `bf16`: True
|
232 |
+
- `batch_sampler`: no_duplicates
|
233 |
+
|
234 |
+
#### All Hyperparameters
|
235 |
+
<details><summary>Click to expand</summary>
|
236 |
+
|
237 |
+
- `overwrite_output_dir`: False
|
238 |
+
- `do_predict`: False
|
239 |
+
- `eval_strategy`: steps
|
240 |
+
- `prediction_loss_only`: True
|
241 |
+
- `per_device_train_batch_size`: 32
|
242 |
+
- `per_device_eval_batch_size`: 32
|
243 |
+
- `per_gpu_train_batch_size`: None
|
244 |
+
- `per_gpu_eval_batch_size`: None
|
245 |
+
- `gradient_accumulation_steps`: 1
|
246 |
+
- `eval_accumulation_steps`: None
|
247 |
+
- `torch_empty_cache_steps`: None
|
248 |
+
- `learning_rate`: 0.001
|
249 |
+
- `weight_decay`: 0.0
|
250 |
+
- `adam_beta1`: 0.9
|
251 |
+
- `adam_beta2`: 0.999
|
252 |
+
- `adam_epsilon`: 1e-08
|
253 |
+
- `max_grad_norm`: 1.0
|
254 |
+
- `num_train_epochs`: 1
|
255 |
+
- `max_steps`: -1
|
256 |
+
- `lr_scheduler_type`: cosine_with_restarts
|
257 |
+
- `lr_scheduler_kwargs`: {}
|
258 |
+
- `warmup_ratio`: 0.1
|
259 |
+
- `warmup_steps`: 0
|
260 |
+
- `log_level`: passive
|
261 |
+
- `log_level_replica`: warning
|
262 |
+
- `log_on_each_node`: True
|
263 |
+
- `logging_nan_inf_filter`: True
|
264 |
+
- `save_safetensors`: True
|
265 |
+
- `save_on_each_node`: False
|
266 |
+
- `save_only_model`: False
|
267 |
+
- `restore_callback_states_from_checkpoint`: False
|
268 |
+
- `no_cuda`: False
|
269 |
+
- `use_cpu`: False
|
270 |
+
- `use_mps_device`: False
|
271 |
+
- `seed`: 42
|
272 |
+
- `data_seed`: None
|
273 |
+
- `jit_mode_eval`: False
|
274 |
+
- `use_ipex`: False
|
275 |
+
- `bf16`: True
|
276 |
+
- `fp16`: False
|
277 |
+
- `fp16_opt_level`: O1
|
278 |
+
- `half_precision_backend`: auto
|
279 |
+
- `bf16_full_eval`: False
|
280 |
+
- `fp16_full_eval`: False
|
281 |
+
- `tf32`: None
|
282 |
+
- `local_rank`: 0
|
283 |
+
- `ddp_backend`: None
|
284 |
+
- `tpu_num_cores`: None
|
285 |
+
- `tpu_metrics_debug`: False
|
286 |
+
- `debug`: []
|
287 |
+
- `dataloader_drop_last`: False
|
288 |
+
- `dataloader_num_workers`: 0
|
289 |
+
- `dataloader_prefetch_factor`: None
|
290 |
+
- `past_index`: -1
|
291 |
+
- `disable_tqdm`: False
|
292 |
+
- `remove_unused_columns`: True
|
293 |
+
- `label_names`: None
|
294 |
+
- `load_best_model_at_end`: False
|
295 |
+
- `ignore_data_skip`: False
|
296 |
+
- `fsdp`: []
|
297 |
+
- `fsdp_min_num_params`: 0
|
298 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
299 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
300 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
301 |
+
- `deepspeed`: None
|
302 |
+
- `label_smoothing_factor`: 0.0
|
303 |
+
- `optim`: adamw_torch
|
304 |
+
- `optim_args`: None
|
305 |
+
- `adafactor`: False
|
306 |
+
- `group_by_length`: False
|
307 |
+
- `length_column_name`: length
|
308 |
+
- `ddp_find_unused_parameters`: None
|
309 |
+
- `ddp_bucket_cap_mb`: None
|
310 |
+
- `ddp_broadcast_buffers`: False
|
311 |
+
- `dataloader_pin_memory`: True
|
312 |
+
- `dataloader_persistent_workers`: False
|
313 |
+
- `skip_memory_metrics`: True
|
314 |
+
- `use_legacy_prediction_loop`: False
|
315 |
+
- `push_to_hub`: False
|
316 |
+
- `resume_from_checkpoint`: None
|
317 |
+
- `hub_model_id`: None
|
318 |
+
- `hub_strategy`: every_save
|
319 |
+
- `hub_private_repo`: False
|
320 |
+
- `hub_always_push`: False
|
321 |
+
- `gradient_checkpointing`: False
|
322 |
+
- `gradient_checkpointing_kwargs`: None
|
323 |
+
- `include_inputs_for_metrics`: False
|
324 |
+
- `eval_do_concat_batches`: True
|
325 |
+
- `fp16_backend`: auto
|
326 |
+
- `push_to_hub_model_id`: None
|
327 |
+
- `push_to_hub_organization`: None
|
328 |
+
- `mp_parameters`:
|
329 |
+
- `auto_find_batch_size`: False
|
330 |
+
- `full_determinism`: False
|
331 |
+
- `torchdynamo`: None
|
332 |
+
- `ray_scope`: last
|
333 |
+
- `ddp_timeout`: 1800
|
334 |
+
- `torch_compile`: False
|
335 |
+
- `torch_compile_backend`: None
|
336 |
+
- `torch_compile_mode`: None
|
337 |
+
- `dispatch_batches`: None
|
338 |
+
- `split_batches`: None
|
339 |
+
- `include_tokens_per_second`: False
|
340 |
+
- `include_num_input_tokens_seen`: False
|
341 |
+
- `neftune_noise_alpha`: None
|
342 |
+
- `optim_target_modules`: None
|
343 |
+
- `batch_eval_metrics`: False
|
344 |
+
- `eval_on_start`: False
|
345 |
+
- `use_liger_kernel`: False
|
346 |
+
- `eval_use_gather_object`: False
|
347 |
+
- `batch_sampler`: no_duplicates
|
348 |
+
- `multi_dataset_batch_sampler`: proportional
|
349 |
+
|
350 |
+
</details>
|
351 |
+
|
352 |
+
### Training Logs
|
353 |
+
<details><summary>Click to expand</summary>
|
354 |
+
|
355 |
+
| Epoch | Step | Training Loss | triplet-dev_cosine_accuracy |
|
356 |
+
|:------:|:----:|:-------------:|:---------------------------:|
|
357 |
+
| 0 | 0 | - | 0.58 |
|
358 |
+
| 0.0032 | 1 | 1.3744 | - |
|
359 |
+
| 0.0063 | 2 | 1.2294 | - |
|
360 |
+
| 0.0095 | 3 | 1.2058 | - |
|
361 |
+
| 0.0127 | 4 | 1.2122 | - |
|
362 |
+
| 0.0159 | 5 | 1.5614 | - |
|
363 |
+
| 0.0190 | 6 | 1.2478 | - |
|
364 |
+
| 0.0222 | 7 | 0.7569 | - |
|
365 |
+
| 0.0254 | 8 | 0.734 | - |
|
366 |
+
| 0.0286 | 9 | 1.16 | - |
|
367 |
+
| 0.0317 | 10 | 0.5651 | 0.711 |
|
368 |
+
| 0.0349 | 11 | 1.1555 | - |
|
369 |
+
| 0.0381 | 12 | 0.7146 | - |
|
370 |
+
| 0.0413 | 13 | 0.5214 | - |
|
371 |
+
| 0.0444 | 14 | 0.6155 | - |
|
372 |
+
| 0.0476 | 15 | 0.6998 | - |
|
373 |
+
| 0.0508 | 16 | 1.3517 | - |
|
374 |
+
| 0.0540 | 17 | 0.6028 | - |
|
375 |
+
| 0.0571 | 18 | 0.7165 | - |
|
376 |
+
| 0.0603 | 19 | 0.712 | - |
|
377 |
+
| 0.0635 | 20 | 0.6988 | 0.86 |
|
378 |
+
| 0.0667 | 21 | 0.6056 | - |
|
379 |
+
| 0.0698 | 22 | 0.6244 | - |
|
380 |
+
| 0.0730 | 23 | 0.8347 | - |
|
381 |
+
| 0.0762 | 24 | 0.5033 | - |
|
382 |
+
| 0.0794 | 25 | 0.9254 | - |
|
383 |
+
| 0.0825 | 26 | 0.3873 | - |
|
384 |
+
| 0.0857 | 27 | 0.5664 | - |
|
385 |
+
| 0.0889 | 28 | 0.6109 | - |
|
386 |
+
| 0.0921 | 29 | 0.4903 | - |
|
387 |
+
| 0.0952 | 30 | 0.696 | 0.874 |
|
388 |
+
| 0.0984 | 31 | 1.1626 | - |
|
389 |
+
| 0.1016 | 32 | 0.3114 | - |
|
390 |
+
| 0.1048 | 33 | 0.8082 | - |
|
391 |
+
| 0.1079 | 34 | 0.9072 | - |
|
392 |
+
| 0.1111 | 35 | 0.3157 | - |
|
393 |
+
| 0.1143 | 36 | 0.8342 | - |
|
394 |
+
| 0.1175 | 37 | 0.3941 | - |
|
395 |
+
| 0.1206 | 38 | 0.4069 | - |
|
396 |
+
| 0.1238 | 39 | 0.4186 | - |
|
397 |
+
| 0.1270 | 40 | 0.4617 | 0.902 |
|
398 |
+
| 0.1302 | 41 | 0.5417 | - |
|
399 |
+
| 0.1333 | 42 | 0.4168 | - |
|
400 |
+
| 0.1365 | 43 | 0.702 | - |
|
401 |
+
| 0.1397 | 44 | 0.7394 | - |
|
402 |
+
| 0.1429 | 45 | 0.4674 | - |
|
403 |
+
| 0.1460 | 46 | 0.6938 | - |
|
404 |
+
| 0.1492 | 47 | 0.5182 | - |
|
405 |
+
| 0.1524 | 48 | 0.3144 | - |
|
406 |
+
| 0.1556 | 49 | 0.3902 | - |
|
407 |
+
| 0.1587 | 50 | 0.4609 | 0.906 |
|
408 |
+
| 0.1619 | 51 | 0.5452 | - |
|
409 |
+
| 0.1651 | 52 | 0.2095 | - |
|
410 |
+
| 0.1683 | 53 | 0.4914 | - |
|
411 |
+
| 0.1714 | 54 | 0.2427 | - |
|
412 |
+
| 0.1746 | 55 | 0.5135 | - |
|
413 |
+
| 0.1778 | 56 | 0.3787 | - |
|
414 |
+
| 0.1810 | 57 | 0.5147 | - |
|
415 |
+
| 0.1841 | 58 | 0.7125 | - |
|
416 |
+
| 0.1873 | 59 | 0.4769 | - |
|
417 |
+
| 0.1905 | 60 | 0.7483 | 0.893 |
|
418 |
+
| 0.1937 | 61 | 0.1751 | - |
|
419 |
+
| 0.1968 | 62 | 0.2693 | - |
|
420 |
+
| 0.2 | 63 | 0.3711 | - |
|
421 |
+
| 0.2032 | 64 | 0.2972 | - |
|
422 |
+
| 0.2063 | 65 | 0.2336 | - |
|
423 |
+
| 0.2095 | 66 | 0.2769 | - |
|
424 |
+
| 0.2127 | 67 | 0.3912 | - |
|
425 |
+
| 0.2159 | 68 | 0.8191 | - |
|
426 |
+
| 0.2190 | 69 | 0.6568 | - |
|
427 |
+
| 0.2222 | 70 | 0.3074 | 0.923 |
|
428 |
+
| 0.2254 | 71 | 0.3406 | - |
|
429 |
+
| 0.2286 | 72 | 0.4384 | - |
|
430 |
+
| 0.2317 | 73 | 0.3491 | - |
|
431 |
+
| 0.2349 | 74 | 0.3305 | - |
|
432 |
+
| 0.2381 | 75 | 0.599 | - |
|
433 |
+
| 0.2413 | 76 | 0.2404 | - |
|
434 |
+
| 0.2444 | 77 | 0.3085 | - |
|
435 |
+
| 0.2476 | 78 | 0.3822 | - |
|
436 |
+
| 0.2508 | 79 | 0.2815 | - |
|
437 |
+
| 0.2540 | 80 | 0.6003 | 0.909 |
|
438 |
+
| 0.2571 | 81 | 0.4779 | - |
|
439 |
+
| 0.2603 | 82 | 0.8126 | - |
|
440 |
+
| 0.2635 | 83 | 0.381 | - |
|
441 |
+
| 0.2667 | 84 | 0.2567 | - |
|
442 |
+
| 0.2698 | 85 | 0.4422 | - |
|
443 |
+
| 0.2730 | 86 | 0.592 | - |
|
444 |
+
| 0.2762 | 87 | 0.5947 | - |
|
445 |
+
| 0.2794 | 88 | 0.3042 | - |
|
446 |
+
| 0.2825 | 89 | 0.5894 | - |
|
447 |
+
| 0.2857 | 90 | 0.3807 | 0.904 |
|
448 |
+
| 0.2889 | 91 | 0.4121 | - |
|
449 |
+
| 0.2921 | 92 | 0.4026 | - |
|
450 |
+
| 0.2952 | 93 | 0.5424 | - |
|
451 |
+
| 0.2984 | 94 | 0.359 | - |
|
452 |
+
| 0.3016 | 95 | 0.3766 | - |
|
453 |
+
| 0.3048 | 96 | 0.9112 | - |
|
454 |
+
| 0.3079 | 97 | 0.5143 | - |
|
455 |
+
| 0.3111 | 98 | 0.2945 | - |
|
456 |
+
| 0.3143 | 99 | 0.7727 | - |
|
457 |
+
| 0.3175 | 100 | 0.375 | 0.91 |
|
458 |
+
| 0.3206 | 101 | 0.6702 | - |
|
459 |
+
| 0.3238 | 102 | 0.8303 | - |
|
460 |
+
| 0.3270 | 103 | 0.4229 | - |
|
461 |
+
| 0.3302 | 104 | 0.4837 | - |
|
462 |
+
| 0.3333 | 105 | 0.4012 | - |
|
463 |
+
| 0.3365 | 106 | 0.4679 | - |
|
464 |
+
| 0.3397 | 107 | 0.2605 | - |
|
465 |
+
| 0.3429 | 108 | 0.292 | - |
|
466 |
+
| 0.3460 | 109 | 0.2689 | - |
|
467 |
+
| 0.3492 | 110 | 0.5062 | 0.899 |
|
468 |
+
| 0.3524 | 111 | 0.9799 | - |
|
469 |
+
| 0.3556 | 112 | 0.2778 | - |
|
470 |
+
| 0.3587 | 113 | 0.6223 | - |
|
471 |
+
| 0.3619 | 114 | 0.4111 | - |
|
472 |
+
| 0.3651 | 115 | 0.4589 | - |
|
473 |
+
| 0.3683 | 116 | 0.4762 | - |
|
474 |
+
| 0.3714 | 117 | 0.5911 | - |
|
475 |
+
| 0.3746 | 118 | 0.4893 | - |
|
476 |
+
| 0.3778 | 119 | 0.2245 | - |
|
477 |
+
| 0.3810 | 120 | 0.5912 | 0.923 |
|
478 |
+
| 0.3841 | 121 | 0.4241 | - |
|
479 |
+
| 0.3873 | 122 | 0.7066 | - |
|
480 |
+
| 0.3905 | 123 | 0.4916 | - |
|
481 |
+
| 0.3937 | 124 | 0.5478 | - |
|
482 |
+
| 0.3968 | 125 | 0.401 | - |
|
483 |
+
| 0.4 | 126 | 0.3737 | - |
|
484 |
+
| 0.4032 | 127 | 0.4901 | - |
|
485 |
+
| 0.4063 | 128 | 0.7427 | - |
|
486 |
+
| 0.4095 | 129 | 0.6794 | - |
|
487 |
+
| 0.4127 | 130 | 0.3169 | 0.921 |
|
488 |
+
| 0.4159 | 131 | 0.3946 | - |
|
489 |
+
| 0.4190 | 132 | 0.2456 | - |
|
490 |
+
| 0.4222 | 133 | 0.5542 | - |
|
491 |
+
| 0.4254 | 134 | 0.2707 | - |
|
492 |
+
| 0.4286 | 135 | 0.6747 | - |
|
493 |
+
| 0.4317 | 136 | 0.336 | - |
|
494 |
+
| 0.4349 | 137 | 0.5647 | - |
|
495 |
+
| 0.4381 | 138 | 0.2744 | - |
|
496 |
+
| 0.4413 | 139 | 0.4579 | - |
|
497 |
+
| 0.4444 | 140 | 0.2718 | 0.899 |
|
498 |
+
| 0.4476 | 141 | 0.7238 | - |
|
499 |
+
| 0.4508 | 142 | 0.2833 | - |
|
500 |
+
| 0.4540 | 143 | 0.6608 | - |
|
501 |
+
| 0.4571 | 144 | 0.4052 | - |
|
502 |
+
| 0.4603 | 145 | 0.3781 | - |
|
503 |
+
| 0.4635 | 146 | 0.2905 | - |
|
504 |
+
| 0.4667 | 147 | 0.4854 | - |
|
505 |
+
| 0.4698 | 148 | 0.3493 | - |
|
506 |
+
| 0.4730 | 149 | 0.4885 | - |
|
507 |
+
| 0.4762 | 150 | 0.3831 | 0.921 |
|
508 |
+
| 0.4794 | 151 | 0.4424 | - |
|
509 |
+
| 0.4825 | 152 | 0.4305 | - |
|
510 |
+
| 0.4857 | 153 | 0.5456 | - |
|
511 |
+
| 0.4889 | 154 | 0.4577 | - |
|
512 |
+
| 0.4921 | 155 | 0.2772 | - |
|
513 |
+
| 0.4952 | 156 | 0.5053 | - |
|
514 |
+
| 0.4984 | 157 | 0.2823 | - |
|
515 |
+
| 0.5016 | 158 | 0.4512 | - |
|
516 |
+
| 0.5048 | 159 | 0.3884 | - |
|
517 |
+
| 0.5079 | 160 | 0.6302 | 0.922 |
|
518 |
+
| 0.5111 | 161 | 0.5108 | - |
|
519 |
+
| 0.5143 | 162 | 0.3148 | - |
|
520 |
+
| 0.5175 | 163 | 0.3471 | - |
|
521 |
+
| 0.5206 | 164 | 0.3473 | - |
|
522 |
+
| 0.5238 | 165 | 0.8119 | - |
|
523 |
+
| 0.5270 | 166 | 0.5589 | - |
|
524 |
+
| 0.5302 | 167 | 0.6691 | - |
|
525 |
+
| 0.5333 | 168 | 0.5297 | - |
|
526 |
+
| 0.5365 | 169 | 0.4171 | - |
|
527 |
+
| 0.5397 | 170 | 0.3299 | 0.92 |
|
528 |
+
| 0.5429 | 171 | 0.3409 | - |
|
529 |
+
| 0.5460 | 172 | 0.4409 | - |
|
530 |
+
| 0.5492 | 173 | 0.2566 | - |
|
531 |
+
| 0.5524 | 174 | 0.2815 | - |
|
532 |
+
| 0.5556 | 175 | 0.401 | - |
|
533 |
+
| 0.5587 | 176 | 0.346 | - |
|
534 |
+
| 0.5619 | 177 | 0.285 | - |
|
535 |
+
| 0.5651 | 178 | 0.3536 | - |
|
536 |
+
| 0.5683 | 179 | 0.3927 | - |
|
537 |
+
| 0.5714 | 180 | 0.5802 | 0.92 |
|
538 |
+
| 0.5746 | 181 | 0.17 | - |
|
539 |
+
| 0.5778 | 182 | 0.679 | - |
|
540 |
+
| 0.5810 | 183 | 0.3586 | - |
|
541 |
+
| 0.5841 | 184 | 0.4641 | - |
|
542 |
+
| 0.5873 | 185 | 0.7828 | - |
|
543 |
+
| 0.5905 | 186 | 0.6755 | - |
|
544 |
+
| 0.5937 | 187 | 0.1829 | - |
|
545 |
+
| 0.5968 | 188 | 0.4509 | - |
|
546 |
+
| 0.6 | 189 | 0.5535 | - |
|
547 |
+
| 0.6032 | 190 | 0.28 | 0.93 |
|
548 |
+
| 0.6063 | 191 | 0.5103 | - |
|
549 |
+
| 0.6095 | 192 | 0.5829 | - |
|
550 |
+
| 0.6127 | 193 | 0.6395 | - |
|
551 |
+
| 0.6159 | 194 | 0.3645 | - |
|
552 |
+
| 0.6190 | 195 | 0.6134 | - |
|
553 |
+
| 0.6222 | 196 | 0.3655 | - |
|
554 |
+
| 0.6254 | 197 | 0.3102 | - |
|
555 |
+
| 0.6286 | 198 | 0.6075 | - |
|
556 |
+
| 0.6317 | 199 | 0.2264 | - |
|
557 |
+
| 0.6349 | 200 | 0.5285 | 0.92 |
|
558 |
+
| 0.6381 | 201 | 0.5746 | - |
|
559 |
+
| 0.6413 | 202 | 0.5452 | - |
|
560 |
+
| 0.6444 | 203 | 0.3349 | - |
|
561 |
+
| 0.6476 | 204 | 0.3771 | - |
|
562 |
+
| 0.6508 | 205 | 0.5956 | - |
|
563 |
+
| 0.6540 | 206 | 0.3077 | - |
|
564 |
+
| 0.6571 | 207 | 0.5275 | - |
|
565 |
+
| 0.6603 | 208 | 0.3552 | - |
|
566 |
+
| 0.6635 | 209 | 0.385 | - |
|
567 |
+
| 0.6667 | 210 | 0.2846 | 0.933 |
|
568 |
+
| 0.6698 | 211 | 0.3865 | - |
|
569 |
+
| 0.6730 | 212 | 0.4522 | - |
|
570 |
+
| 0.6762 | 213 | 0.0635 | - |
|
571 |
+
| 0.6794 | 214 | 0.5131 | - |
|
572 |
+
| 0.6825 | 215 | 0.6883 | - |
|
573 |
+
| 0.6857 | 216 | 0.464 | - |
|
574 |
+
| 0.6889 | 217 | 0.666 | - |
|
575 |
+
| 0.6921 | 218 | 0.7519 | - |
|
576 |
+
| 0.6952 | 219 | 0.5231 | - |
|
577 |
+
| 0.6984 | 220 | 0.1605 | 0.927 |
|
578 |
+
| 0.7016 | 221 | 0.2982 | - |
|
579 |
+
| 0.7048 | 222 | 0.47 | - |
|
580 |
+
| 0.7079 | 223 | 0.3701 | - |
|
581 |
+
| 0.7111 | 224 | 0.4694 | - |
|
582 |
+
| 0.7143 | 225 | 0.1195 | - |
|
583 |
+
| 0.7175 | 226 | 0.3682 | - |
|
584 |
+
| 0.7206 | 227 | 0.311 | - |
|
585 |
+
| 0.7238 | 228 | 0.5959 | - |
|
586 |
+
| 0.7270 | 229 | 0.4565 | - |
|
587 |
+
| 0.7302 | 230 | 0.1803 | 0.926 |
|
588 |
+
| 0.7333 | 231 | 0.4599 | - |
|
589 |
+
| 0.7365 | 232 | 0.2979 | - |
|
590 |
+
| 0.7397 | 233 | 0.433 | - |
|
591 |
+
| 0.7429 | 234 | 0.3443 | - |
|
592 |
+
| 0.7460 | 235 | 0.524 | - |
|
593 |
+
| 0.7492 | 236 | 0.4083 | - |
|
594 |
+
| 0.7524 | 237 | 0.3159 | - |
|
595 |
+
| 0.7556 | 238 | 0.4017 | - |
|
596 |
+
| 0.7587 | 239 | 0.3955 | - |
|
597 |
+
| 0.7619 | 240 | 0.2405 | 0.928 |
|
598 |
+
| 0.7651 | 241 | 0.3249 | - |
|
599 |
+
| 0.7683 | 242 | 0.2882 | - |
|
600 |
+
| 0.7714 | 243 | 0.6232 | - |
|
601 |
+
| 0.7746 | 244 | 0.5724 | - |
|
602 |
+
| 0.7778 | 245 | 0.4484 | - |
|
603 |
+
| 0.7810 | 246 | 0.4394 | - |
|
604 |
+
| 0.7841 | 247 | 0.4487 | - |
|
605 |
+
| 0.7873 | 248 | 0.1622 | - |
|
606 |
+
| 0.7905 | 249 | 0.2732 | - |
|
607 |
+
| 0.7937 | 250 | 0.4144 | 0.93 |
|
608 |
+
| 0.7968 | 251 | 0.3666 | - |
|
609 |
+
| 0.8 | 252 | 0.8073 | - |
|
610 |
+
| 0.8032 | 253 | 0.1864 | - |
|
611 |
+
| 0.8063 | 254 | 0.7214 | - |
|
612 |
+
| 0.8095 | 255 | 0.3487 | - |
|
613 |
+
| 0.8127 | 256 | 0.1865 | - |
|
614 |
+
| 0.8159 | 257 | 0.4027 | - |
|
615 |
+
| 0.8190 | 258 | 0.8281 | - |
|
616 |
+
| 0.8222 | 259 | 0.5036 | - |
|
617 |
+
| 0.8254 | 260 | 0.2968 | 0.922 |
|
618 |
+
| 0.8286 | 261 | 0.4473 | - |
|
619 |
+
| 0.8317 | 262 | 0.2062 | - |
|
620 |
+
| 0.8349 | 263 | 0.4047 | - |
|
621 |
+
| 0.8381 | 264 | 0.1914 | - |
|
622 |
+
| 0.8413 | 265 | 0.3805 | - |
|
623 |
+
| 0.8444 | 266 | 0.1199 | - |
|
624 |
+
| 0.8476 | 267 | 0.2759 | - |
|
625 |
+
| 0.8508 | 268 | 0.2259 | - |
|
626 |
+
| 0.8540 | 269 | 0.2683 | - |
|
627 |
+
| 0.8571 | 270 | 0.6274 | 0.935 |
|
628 |
+
| 0.8603 | 271 | 0.4319 | - |
|
629 |
+
| 0.8635 | 272 | 0.5258 | - |
|
630 |
+
| 0.8667 | 273 | 0.2761 | - |
|
631 |
+
| 0.8698 | 274 | 0.5513 | - |
|
632 |
+
| 0.8730 | 275 | 0.1808 | - |
|
633 |
+
| 0.8762 | 276 | 0.495 | - |
|
634 |
+
| 0.8794 | 277 | 0.2988 | - |
|
635 |
+
| 0.8825 | 278 | 0.5273 | - |
|
636 |
+
| 0.8857 | 279 | 0.7676 | - |
|
637 |
+
| 0.8889 | 280 | 0.5209 | 0.933 |
|
638 |
+
| 0.8921 | 281 | 0.4381 | - |
|
639 |
+
| 0.8952 | 282 | 0.5668 | - |
|
640 |
+
| 0.8984 | 283 | 0.5858 | - |
|
641 |
+
| 0.9016 | 284 | 0.7875 | - |
|
642 |
+
| 0.9048 | 285 | 0.2061 | - |
|
643 |
+
| 0.9079 | 286 | 0.268 | - |
|
644 |
+
| 0.9111 | 287 | 0.2322 | - |
|
645 |
+
| 0.9143 | 288 | 0.233 | - |
|
646 |
+
| 0.9175 | 289 | 0.3316 | - |
|
647 |
+
| 0.9206 | 290 | 0.5176 | 0.932 |
|
648 |
+
| 0.9238 | 291 | 0.3647 | - |
|
649 |
+
| 0.9270 | 292 | 0.5906 | - |
|
650 |
+
| 0.9302 | 293 | 0.5098 | - |
|
651 |
+
| 0.9333 | 294 | 0.3505 | - |
|
652 |
+
| 0.9365 | 295 | 0.379 | - |
|
653 |
+
| 0.9397 | 296 | 0.5529 | - |
|
654 |
+
| 0.9429 | 297 | 0.4044 | - |
|
655 |
+
| 0.9460 | 298 | 0.4637 | - |
|
656 |
+
| 0.9492 | 299 | 0.4014 | - |
|
657 |
+
| 0.9524 | 300 | 0.692 | 0.932 |
|
658 |
+
| 0.9556 | 301 | 0.6072 | - |
|
659 |
+
| 0.9587 | 302 | 0.2852 | - |
|
660 |
+
| 0.9619 | 303 | 0.3548 | - |
|
661 |
+
| 0.9651 | 304 | 0.7898 | - |
|
662 |
+
| 0.9683 | 305 | 0.4211 | - |
|
663 |
+
| 0.9714 | 306 | 0.2773 | - |
|
664 |
+
| 0.9746 | 307 | 0.4182 | - |
|
665 |
+
| 0.9778 | 308 | 0.2633 | - |
|
666 |
+
| 0.9810 | 309 | 0.6833 | - |
|
667 |
+
| 0.9841 | 310 | 0.2619 | 0.932 |
|
668 |
+
| 0.9873 | 311 | 0.3085 | - |
|
669 |
+
| 0.9905 | 312 | 0.3142 | - |
|
670 |
+
| 0.9937 | 313 | 0.221 | - |
|
671 |
+
| 0.9968 | 314 | 0.348 | - |
|
672 |
+
| 1.0 | 315 | 0.0322 | 0.932 |
|
673 |
+
|
674 |
+
</details>
|
675 |
+
|
676 |
+
### Framework Versions
|
677 |
+
- Python: 3.9.19
|
678 |
+
- Sentence Transformers: 3.1.1
|
679 |
+
- Transformers: 4.45.2
|
680 |
+
- PyTorch: 2.5.0
|
681 |
+
- Accelerate: 1.0.1
|
682 |
+
- Datasets: 2.19.0
|
683 |
+
- Tokenizers: 0.20.3
|
684 |
+
|
685 |
+
## Citation
|
686 |
+
|
687 |
+
### BibTeX
|
688 |
+
|
689 |
+
#### Sentence Transformers
|
690 |
+
```bibtex
|
691 |
+
@inproceedings{reimers-2019-sentence-bert,
|
692 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
693 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
694 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
695 |
+
month = "11",
|
696 |
+
year = "2019",
|
697 |
+
publisher = "Association for Computational Linguistics",
|
698 |
+
url = "https://arxiv.org/abs/1908.10084",
|
699 |
+
}
|
700 |
+
```
|
701 |
+
|
702 |
+
#### MultipleNegativesRankingLoss
|
703 |
+
```bibtex
|
704 |
+
@misc{henderson2017efficient,
|
705 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
706 |
+
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},
|
707 |
+
year={2017},
|
708 |
+
eprint={1705.00652},
|
709 |
+
archivePrefix={arXiv},
|
710 |
+
primaryClass={cs.CL}
|
711 |
+
}
|
712 |
+
```
|
713 |
+
|
714 |
+
<!--
|
715 |
+
## Glossary
|
716 |
+
|
717 |
+
*Clearly define terms in order to be accessible across audiences.*
|
718 |
+
-->
|
719 |
+
|
720 |
+
<!--
|
721 |
+
## Model Card Authors
|
722 |
+
|
723 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
724 |
+
-->
|
725 |
+
|
726 |
+
<!--
|
727 |
+
## Model Card Contact
|
728 |
+
|
729 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
730 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Snowflake/snowflake-arctic-embed-l-v2.0",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 8194,
|
17 |
+
"model_type": "xlm-roberta",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 24,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.45.2",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 250002
|
28 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.1.1",
|
4 |
+
"transformers": "4.45.2",
|
5 |
+
"pytorch": "2.5.0"
|
6 |
+
},
|
7 |
+
"prompts": {
|
8 |
+
"query": "query: "
|
9 |
+
},
|
10 |
+
"default_prompt_name": null,
|
11 |
+
"similarity_fn_name": null
|
12 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53b2f2fdb09b12ee82a6a0e90ab7d94e1f9f91e39d9f1522566d89548e46da80
|
3 |
+
size 2271064456
|
modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
{
|
15 |
+
"idx": 2,
|
16 |
+
"name": "2",
|
17 |
+
"path": "2_Normalize",
|
18 |
+
"type": "sentence_transformers.models.Normalize"
|
19 |
+
}
|
20 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 8192,
|
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:e4f7e21bec3fb0044ca0bb2d50eb5d4d8c596273c422baef84466d2c73748b9c
|
3 |
+
size 17083053
|
tokenizer_config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"max_length": 512,
|
50 |
+
"model_max_length": 8192,
|
51 |
+
"pad_to_multiple_of": null,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"pad_token_type_id": 0,
|
54 |
+
"padding_side": "right",
|
55 |
+
"sep_token": "</s>",
|
56 |
+
"stride": 0,
|
57 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
58 |
+
"truncation_side": "right",
|
59 |
+
"truncation_strategy": "longest_first",
|
60 |
+
"unk_token": "<unk>"
|
61 |
+
}
|