NavyDevilDoc commited on
Commit
55f1b50
·
verified ·
1 Parent(s): b524cbe

Upload folder using huggingface_hub

Browse files
bge-finetuned/1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
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
+ }
bge-finetuned/README.md ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:5019
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: BAAI/bge-base-en-v1.5
11
+ widget:
12
+ - source_sentence: For the purpose of 'Keel Construction,' what 'alloy' is identified
13
+ as a primary component within the 'Shipbuilding Materials' classification?
14
+ sentences:
15
+ - 4. Roles and Responsibilities > a. Commanding Officer and Ship's Force > 2. Maintains
16
+ rudder amidship
17
+ - "2.\tKeel Construction > g.\tShipbuilding Materials > 2.\tAluminum alloy"
18
+ - "2.\tKeel Construction > g.\tShipbuilding Materials > 1.\tSteel alloy"
19
+ - source_sentence: When operating the Aegis Weapon System, what three specific data
20
+ points does the SPY-1D radar acquire to achieve its three-dimensional capability?
21
+ sentences:
22
+ - 2. Key Elements of the Aegis Combat System > a. Aegis Weapon System > 1. Radar
23
+ > a. SPY-1D > 2. Three-dimensional, so it picks up bearing, range, and altitude
24
+ - 2. Key Elements of the Aegis Combat System > a. Aegis Weapon System > 1. Radar
25
+ > a. SPY-1D > 4. High track capacity
26
+ - '7. Additional Notes: > a. CNO funds the SYSCOM which funds the warfare center'
27
+ - source_sentence: Within the Cost Estimating Methodology, what is identified as an
28
+ advantage of the parametric approach?
29
+ sentences:
30
+ - '3. Types of Contracts > c. fixed price > 5. types: > b. FP w/ economic price
31
+ adjustment'
32
+ - 2. Cost Estimating Methodology > b. parametric > 2. advantages > a. quantitative
33
+ measurement
34
+ - 2. Cost Estimating Methodology > b. parametric > 2. advantages > b. inexpensive
35
+ - source_sentence: Imagine a situation where the US Fleet Forces Command (USFFC) decides
36
+ to prioritize a different project. How would this decision potentially affect
37
+ the Operations and Maintenance (O&M) money directed to Portsmouth Naval Shipyard
38
+ through the Type Commander (TYCOM)?
39
+ sentences:
40
+ - 5. Navy Business Model > a. requirements, which maps to performance and are built
41
+ by the warfighters
42
+ - 1. Naval Shipyard Fundamentals > a. Portsmouth Naval Shipyard is funded by US
43
+ Fleet Forces Command (USFFC) through the Type Commander (TYCOM) using Operations
44
+ and Maintenance (O&M) money
45
+ - 3. US Fleet Forces Command (USFFC) > a. main, train, and equip forces for the
46
+ combatant commanders
47
+ - source_sentence: What officer community is represented by the acronym 'EDOs' in
48
+ the context, and what are the specific OPNAV N-codes where they are mentioned
49
+ to be present?
50
+ sentences:
51
+ - '1. Contract Process > a. Pre-solicitation Phase: for a requirement to enter into
52
+ a contract > 1. Determination of capability and need > b. non-material solution
53
+ can''t be identified'
54
+ - 6. Additional Notes > b. Engineering Duty Officers (EDOs) at OPNAV N9, N8, N2/N6
55
+ - "1. Naval Shipyard Fundamentals > o. \tShipyard Engineering Duty Officer (EDO)\
56
+ \ Positions > 5. Code 1200: BSPO"
57
+ pipeline_tag: sentence-similarity
58
+ library_name: sentence-transformers
59
+ ---
60
+
61
+ # SentenceTransformer based on BAAI/bge-base-en-v1.5
62
+
63
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-base-en-v1.5](https://huggingface.co/BAAI/bge-base-en-v1.5). 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.
64
+
65
+ ## Model Details
66
+
67
+ ### Model Description
68
+ - **Model Type:** Sentence Transformer
69
+ - **Base model:** [BAAI/bge-base-en-v1.5](https://huggingface.co/BAAI/bge-base-en-v1.5) <!-- at revision a5beb1e3e68b9ab74eb54cfd186867f64f240e1a -->
70
+ - **Maximum Sequence Length:** 512 tokens
71
+ - **Output Dimensionality:** 768 dimensions
72
+ - **Similarity Function:** Cosine Similarity
73
+ <!-- - **Training Dataset:** Unknown -->
74
+ <!-- - **Language:** Unknown -->
75
+ <!-- - **License:** Unknown -->
76
+
77
+ ### Model Sources
78
+
79
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
80
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
81
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
82
+
83
+ ### Full Model Architecture
84
+
85
+ ```
86
+ SentenceTransformer(
87
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'BertModel'})
88
+ (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})
89
+ )
90
+ ```
91
+
92
+ ## Usage
93
+
94
+ ### Direct Usage (Sentence Transformers)
95
+
96
+ First install the Sentence Transformers library:
97
+
98
+ ```bash
99
+ pip install -U sentence-transformers
100
+ ```
101
+
102
+ Then you can load this model and run inference.
103
+ ```python
104
+ from sentence_transformers import SentenceTransformer
105
+
106
+ # Download from the 🤗 Hub
107
+ model = SentenceTransformer("sentence_transformers_model_id")
108
+ # Run inference
109
+ sentences = [
110
+ "What officer community is represented by the acronym 'EDOs' in the context, and what are the specific OPNAV N-codes where they are mentioned to be present?",
111
+ '6. Additional Notes > b. Engineering Duty Officers (EDOs) at OPNAV N9, N8, N2/N6',
112
+ '1. Naval Shipyard Fundamentals > o. \tShipyard Engineering Duty Officer (EDO) Positions > 5. Code 1200: BSPO',
113
+ ]
114
+ embeddings = model.encode(sentences)
115
+ print(embeddings.shape)
116
+ # [3, 768]
117
+
118
+ # Get the similarity scores for the embeddings
119
+ similarities = model.similarity(embeddings, embeddings)
120
+ print(similarities)
121
+ # tensor([[1.0000, 0.6529, 0.4284],
122
+ # [0.6529, 1.0000, 0.3816],
123
+ # [0.4284, 0.3816, 1.0000]])
124
+ ```
125
+
126
+ <!--
127
+ ### Direct Usage (Transformers)
128
+
129
+ <details><summary>Click to see the direct usage in Transformers</summary>
130
+
131
+ </details>
132
+ -->
133
+
134
+ <!--
135
+ ### Downstream Usage (Sentence Transformers)
136
+
137
+ You can finetune this model on your own dataset.
138
+
139
+ <details><summary>Click to expand</summary>
140
+
141
+ </details>
142
+ -->
143
+
144
+ <!--
145
+ ### Out-of-Scope Use
146
+
147
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
148
+ -->
149
+
150
+ <!--
151
+ ## Bias, Risks and Limitations
152
+
153
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
154
+ -->
155
+
156
+ <!--
157
+ ### Recommendations
158
+
159
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
160
+ -->
161
+
162
+ ## Training Details
163
+
164
+ ### Training Dataset
165
+
166
+ #### Unnamed Dataset
167
+
168
+ * Size: 5,019 training samples
169
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
170
+ * Approximate statistics based on the first 1000 samples:
171
+ | | sentence_0 | sentence_1 | sentence_2 |
172
+ |:--------|:----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
173
+ | type | string | string | string |
174
+ | details | <ul><li>min: 9 tokens</li><li>mean: 27.82 tokens</li><li>max: 72 tokens</li></ul> | <ul><li>min: 12 tokens</li><li>mean: 34.27 tokens</li><li>max: 191 tokens</li></ul> | <ul><li>min: 12 tokens</li><li>mean: 33.94 tokens</li><li>max: 119 tokens</li></ul> |
175
+ * Samples:
176
+ | sentence_0 | sentence_1 | sentence_2 |
177
+ |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
178
+ | <code>What is a key requirement for the use of Inactive Duty Training - Travel (IDTT)?</code> | <code>1. Different Reservist Orders > b. Inactive Duty Training - Travel (IDTT) > 3. Specific Execution Requirements: > b. Used when travel is required to the training site; cannot be combined with IDT-R funding.</code> | <code>1. Different Reservist Orders > b. Inactive Duty Training - Travel (IDTT) > 1. Purpose: Allows non-local members to attend unit drill periods or training at alternate drill sites.</code> |
179
+ | <code>A US Navy Reservist participates in two distinct Readiness Management Periods (RMP) on Tuesday. Based on the specific execution requirements, how many RMPs will be credited to the Reservist for that day?</code> | <code>1. Different Reservist Orders > d. Readiness Management Periods (RMP) > 3. Specific Execution Requirements: > b. Limit Only one RMP may be credited per day.</code> | <code>1. Different Reservist Orders > d. Readiness Management Periods (RMP) > 1. Purpose: Day-to-day unit operations, administration, training preparation, and maintenance functions.</code> |
180
+ | <code>What is the full name of the office abbreviated as NRRO, which is responsible for oversight of Safety and Env Performance within Naval Nuclear Propulsion?</code> | <code>1. Naval Nuclear Propulsion > a. Naval Reactors Representative Office (NRRO) > 2. oversight: > b. Safety and Env Performance</code> | <code>1. Naval Nuclear Propulsion > a. Naval Reactors Representative Office (NRRO) > 2. oversight: > a. Nuclear Joint Test Group</code> |
181
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
182
+ ```json
183
+ {
184
+ "scale": 20.0,
185
+ "similarity_fct": "cos_sim",
186
+ "gather_across_devices": false
187
+ }
188
+ ```
189
+
190
+ ### Training Hyperparameters
191
+ #### Non-Default Hyperparameters
192
+
193
+ - `per_device_train_batch_size`: 16
194
+ - `per_device_eval_batch_size`: 16
195
+ - `fp16`: True
196
+ - `multi_dataset_batch_sampler`: round_robin
197
+
198
+ #### All Hyperparameters
199
+ <details><summary>Click to expand</summary>
200
+
201
+ - `overwrite_output_dir`: False
202
+ - `do_predict`: False
203
+ - `eval_strategy`: no
204
+ - `prediction_loss_only`: True
205
+ - `per_device_train_batch_size`: 16
206
+ - `per_device_eval_batch_size`: 16
207
+ - `per_gpu_train_batch_size`: None
208
+ - `per_gpu_eval_batch_size`: None
209
+ - `gradient_accumulation_steps`: 1
210
+ - `eval_accumulation_steps`: None
211
+ - `torch_empty_cache_steps`: None
212
+ - `learning_rate`: 5e-05
213
+ - `weight_decay`: 0.0
214
+ - `adam_beta1`: 0.9
215
+ - `adam_beta2`: 0.999
216
+ - `adam_epsilon`: 1e-08
217
+ - `max_grad_norm`: 1
218
+ - `num_train_epochs`: 3
219
+ - `max_steps`: -1
220
+ - `lr_scheduler_type`: linear
221
+ - `lr_scheduler_kwargs`: {}
222
+ - `warmup_ratio`: 0.0
223
+ - `warmup_steps`: 0
224
+ - `log_level`: passive
225
+ - `log_level_replica`: warning
226
+ - `log_on_each_node`: True
227
+ - `logging_nan_inf_filter`: True
228
+ - `save_safetensors`: True
229
+ - `save_on_each_node`: False
230
+ - `save_only_model`: False
231
+ - `restore_callback_states_from_checkpoint`: False
232
+ - `no_cuda`: False
233
+ - `use_cpu`: False
234
+ - `use_mps_device`: False
235
+ - `seed`: 42
236
+ - `data_seed`: None
237
+ - `jit_mode_eval`: False
238
+ - `bf16`: False
239
+ - `fp16`: True
240
+ - `fp16_opt_level`: O1
241
+ - `half_precision_backend`: auto
242
+ - `bf16_full_eval`: False
243
+ - `fp16_full_eval`: False
244
+ - `tf32`: None
245
+ - `local_rank`: 0
246
+ - `ddp_backend`: None
247
+ - `tpu_num_cores`: None
248
+ - `tpu_metrics_debug`: False
249
+ - `debug`: []
250
+ - `dataloader_drop_last`: False
251
+ - `dataloader_num_workers`: 0
252
+ - `dataloader_prefetch_factor`: None
253
+ - `past_index`: -1
254
+ - `disable_tqdm`: False
255
+ - `remove_unused_columns`: True
256
+ - `label_names`: None
257
+ - `load_best_model_at_end`: False
258
+ - `ignore_data_skip`: False
259
+ - `fsdp`: []
260
+ - `fsdp_min_num_params`: 0
261
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
262
+ - `fsdp_transformer_layer_cls_to_wrap`: None
263
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
264
+ - `parallelism_config`: None
265
+ - `deepspeed`: None
266
+ - `label_smoothing_factor`: 0.0
267
+ - `optim`: adamw_torch
268
+ - `optim_args`: None
269
+ - `adafactor`: False
270
+ - `group_by_length`: False
271
+ - `length_column_name`: length
272
+ - `project`: huggingface
273
+ - `trackio_space_id`: trackio
274
+ - `ddp_find_unused_parameters`: None
275
+ - `ddp_bucket_cap_mb`: None
276
+ - `ddp_broadcast_buffers`: False
277
+ - `dataloader_pin_memory`: True
278
+ - `dataloader_persistent_workers`: False
279
+ - `skip_memory_metrics`: True
280
+ - `use_legacy_prediction_loop`: False
281
+ - `push_to_hub`: False
282
+ - `resume_from_checkpoint`: None
283
+ - `hub_model_id`: None
284
+ - `hub_strategy`: every_save
285
+ - `hub_private_repo`: None
286
+ - `hub_always_push`: False
287
+ - `hub_revision`: None
288
+ - `gradient_checkpointing`: False
289
+ - `gradient_checkpointing_kwargs`: None
290
+ - `include_inputs_for_metrics`: False
291
+ - `include_for_metrics`: []
292
+ - `eval_do_concat_batches`: True
293
+ - `fp16_backend`: auto
294
+ - `push_to_hub_model_id`: None
295
+ - `push_to_hub_organization`: None
296
+ - `mp_parameters`:
297
+ - `auto_find_batch_size`: False
298
+ - `full_determinism`: False
299
+ - `torchdynamo`: None
300
+ - `ray_scope`: last
301
+ - `ddp_timeout`: 1800
302
+ - `torch_compile`: False
303
+ - `torch_compile_backend`: None
304
+ - `torch_compile_mode`: None
305
+ - `include_tokens_per_second`: False
306
+ - `include_num_input_tokens_seen`: no
307
+ - `neftune_noise_alpha`: None
308
+ - `optim_target_modules`: None
309
+ - `batch_eval_metrics`: False
310
+ - `eval_on_start`: False
311
+ - `use_liger_kernel`: False
312
+ - `liger_kernel_config`: None
313
+ - `eval_use_gather_object`: False
314
+ - `average_tokens_across_devices`: True
315
+ - `prompts`: None
316
+ - `batch_sampler`: batch_sampler
317
+ - `multi_dataset_batch_sampler`: round_robin
318
+ - `router_mapping`: {}
319
+ - `learning_rate_mapping`: {}
320
+
321
+ </details>
322
+
323
+ ### Training Logs
324
+ | Epoch | Step | Training Loss |
325
+ |:------:|:----:|:-------------:|
326
+ | 1.5924 | 500 | 0.2523 |
327
+
328
+
329
+ ### Framework Versions
330
+ - Python: 3.12.10
331
+ - Sentence Transformers: 5.2.0
332
+ - Transformers: 4.57.3
333
+ - PyTorch: 2.5.1+cu121
334
+ - Accelerate: 1.12.0
335
+ - Datasets: 4.4.2
336
+ - Tokenizers: 0.22.1
337
+
338
+ ## Citation
339
+
340
+ ### BibTeX
341
+
342
+ #### Sentence Transformers
343
+ ```bibtex
344
+ @inproceedings{reimers-2019-sentence-bert,
345
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
346
+ author = "Reimers, Nils and Gurevych, Iryna",
347
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
348
+ month = "11",
349
+ year = "2019",
350
+ publisher = "Association for Computational Linguistics",
351
+ url = "https://arxiv.org/abs/1908.10084",
352
+ }
353
+ ```
354
+
355
+ #### MultipleNegativesRankingLoss
356
+ ```bibtex
357
+ @misc{henderson2017efficient,
358
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
359
+ 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},
360
+ year={2017},
361
+ eprint={1705.00652},
362
+ archivePrefix={arXiv},
363
+ primaryClass={cs.CL}
364
+ }
365
+ ```
366
+
367
+ <!--
368
+ ## Glossary
369
+
370
+ *Clearly define terms in order to be accessible across audiences.*
371
+ -->
372
+
373
+ <!--
374
+ ## Model Card Authors
375
+
376
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
377
+ -->
378
+
379
+ <!--
380
+ ## Model Card Contact
381
+
382
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
383
+ -->
bge-finetuned/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "LABEL_0": 0
19
+ },
20
+ "layer_norm_eps": 1e-12,
21
+ "max_position_embeddings": 512,
22
+ "model_type": "bert",
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "pad_token_id": 0,
26
+ "position_embedding_type": "absolute",
27
+ "transformers_version": "4.57.3",
28
+ "type_vocab_size": 2,
29
+ "use_cache": true,
30
+ "vocab_size": 30522
31
+ }
bge-finetuned/config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.2.0",
5
+ "transformers": "4.57.3",
6
+ "pytorch": "2.5.1+cu121"
7
+ },
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
bge-finetuned/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f9f69cdfa3e0e1fa33d4af7bfcc8ed44468c20587a124d3a6272618f34b6d0a
3
+ size 437951328
bge-finetuned/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
+ ]
bge-finetuned/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
3
+ "do_lower_case": false
4
+ }
bge-finetuned/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
bge-finetuned/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
bge-finetuned/tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
bge-finetuned/vocab.txt ADDED
The diff for this file is too large to render. See raw diff