antonypamo commited on
Commit
ea51f10
·
1 Parent(s): 6f22f06

Subida inicial del modelo RRF-SAVANT

Browse files
model/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
+ }
model/README.md ADDED
@@ -0,0 +1,402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:363
9
+ - loss:CosineSimilarityLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: \section{5. Correspondencia con constantes físicas}
13
+ sentences:
14
+ - \section{7. Simulación Python – Malla Icosaédrica y Autovalores}
15
+ - \textbf{Interpretación:} Cada modo $n$ representa un posible estado de partícula,
16
+ resonancia o nodo cognitivo.
17
+ - rroc_V
18
+ - source_sentence: '\[
19
+
20
+ S_{\rm eff} = \int d^4x \left[ \frac{R}{16 \pi G} + \lambda \log(r) + \mathcal{L}_{\rm
21
+ matter} \right]
22
+
23
+ \]'
24
+ sentences:
25
+ - 'Sea $H$ la matriz discreta sobre la red icosaédrica. Los autovalores $\{E_n\}$
26
+ y vectores propios $\{\Psi_n\}$ cumplen:'
27
+ - '\begin{lstlisting}[language=Python]
28
+
29
+ import numpy as np
30
+
31
+ import networkx as nx
32
+
33
+ from scipy.linalg import eigh
34
+
35
+ import matplotlib.pyplot as plt'
36
+ - \section{6. Aplicaciones en resonancia y cognición}
37
+ - source_sentence: \section{6. Aplicaciones en resonancia y cognición}
38
+ sentences:
39
+ - '# Visualizar malla
40
+
41
+ pos = nx.spring_layout(G, seed=42)
42
+
43
+ nx.draw(G, pos, with_labels=True, node_color=''cyan'', edge_color=''gray'')
44
+
45
+ plt.show()
46
+
47
+ \end{lstlisting}'
48
+ - '\begin{lstlisting}[language=Python]
49
+
50
+ import numpy as np
51
+
52
+ import networkx as nx
53
+
54
+ from scipy.linalg import eigh
55
+
56
+ import matplotlib.pyplot as plt'
57
+ - \section{5. Correspondencia con constantes físicas}
58
+ - source_sentence: \textbf{Interpretación:} Cada modo $n$ representa un posible estado
59
+ de partícula, resonancia o nodo cognitivo.
60
+ sentences:
61
+ - '\begin{lstlisting}[language=Python]
62
+
63
+ import numpy as np
64
+
65
+ import networkx as nx
66
+
67
+ from scipy.linalg import eigh
68
+
69
+ import matplotlib.pyplot as plt'
70
+ - ln(phi)
71
+ - '# Visualizar malla
72
+
73
+ pos = nx.spring_layout(G, seed=42)
74
+
75
+ nx.draw(G, pos, with_labels=True, node_color=''cyan'', edge_color=''gray'')
76
+
77
+ plt.show()
78
+
79
+ \end{lstlisting}'
80
+ - source_sentence: "donde:\n\\begin{itemize}\n \\item $\\psi_i$ son espinores icosaédricos.\n\
81
+ \ \\item $r_{ij}$ es la distancia entre nodos $i$ y $j$.\n \\item $A,B,C$\
82
+ \ son acoplamientos gauge discretos.\n\\end{itemize}"
83
+ sentences:
84
+ - "\\begin{abstract}\nEsta versión extendida del \\textbf{Resonance of Reality Framework\
85
+ \ (RRF)} presenta:\n\\begin{itemize}\n \\item Hamiltoniano discreto icosaédrico\
86
+ \ con modos normales.\n \\item Corrección logarítmica gravitatoria y acoplamientos\
87
+ \ gauge explícitos.\n \\item Correspondencia con constantes físicas fundamentales.\n\
88
+ \ \\item Ejemplo de simulación Python que visualiza la malla icosaédrica y\
89
+ \ autovalores.\n\\end{itemize}\n\\end{abstract}"
90
+ - "\\begin{itemize}\n \\item Cada nodo $\\psi_i$ como \\textbf{átomo de experiencia}.\n\
91
+ \ \\item Patrones icosaédricos y $\\phi$ guían frecuencia de resonancia.\n\
92
+ \ \\item Protocolos musicales y visuales para plasticidad neuronal.\n\\end{itemize}"
93
+ - "\\begin{itemize}\n \\item Cada nodo $\\psi_i$ como \\textbf{átomo de experiencia}.\n\
94
+ \ \\item Patrones icosaédricos y $\\phi$ guían frecuencia de resonancia.\n\
95
+ \ \\item Protocolos musicales y visuales para plasticidad neuronal.\n\\end{itemize}"
96
+ pipeline_tag: sentence-similarity
97
+ library_name: sentence-transformers
98
+ ---
99
+
100
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
101
+
102
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). 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.
103
+
104
+ ## Model Details
105
+
106
+ ### Model Description
107
+ - **Model Type:** Sentence Transformer
108
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
109
+ - **Maximum Sequence Length:** 256 tokens
110
+ - **Output Dimensionality:** 384 dimensions
111
+ - **Similarity Function:** Cosine Similarity
112
+ <!-- - **Training Dataset:** Unknown -->
113
+ <!-- - **Language:** Unknown -->
114
+ <!-- - **License:** Unknown -->
115
+
116
+ ### Model Sources
117
+
118
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
119
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
120
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
121
+
122
+ ### Full Model Architecture
123
+
124
+ ```
125
+ SentenceTransformer(
126
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
127
+ (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})
128
+ (2): Normalize()
129
+ )
130
+ ```
131
+
132
+ ## Usage
133
+
134
+ ### Direct Usage (Sentence Transformers)
135
+
136
+ First install the Sentence Transformers library:
137
+
138
+ ```bash
139
+ pip install -U sentence-transformers
140
+ ```
141
+
142
+ Then you can load this model and run inference.
143
+ ```python
144
+ from sentence_transformers import SentenceTransformer
145
+
146
+ # Download from the 🤗 Hub
147
+ model = SentenceTransformer("sentence_transformers_model_id")
148
+ # Run inference
149
+ sentences = [
150
+ 'donde:\n\\begin{itemize}\n \\item $\\psi_i$ son espinores icosaédricos.\n \\item $r_{ij}$ es la distancia entre nodos $i$ y $j$.\n \\item $A,B,C$ son acoplamientos gauge discretos.\n\\end{itemize}',
151
+ '\\begin{itemize}\n \\item Cada nodo $\\psi_i$ como \\textbf{átomo de experiencia}.\n \\item Patrones icosaédricos y $\\phi$ guían frecuencia de resonancia.\n \\item Protocolos musicales y visuales para plasticidad neuronal.\n\\end{itemize}',
152
+ '\\begin{abstract}\nEsta versión extendida del \\textbf{Resonance of Reality Framework (RRF)} presenta:\n\\begin{itemize}\n \\item Hamiltoniano discreto icosaédrico con modos normales.\n \\item Corrección logarítmica gravitatoria y acoplamientos gauge explícitos.\n \\item Correspondencia con constantes físicas fundamentales.\n \\item Ejemplo de simulación Python que visualiza la malla icosaédrica y autovalores.\n\\end{itemize}\n\\end{abstract}',
153
+ ]
154
+ embeddings = model.encode(sentences)
155
+ print(embeddings.shape)
156
+ # [3, 384]
157
+
158
+ # Get the similarity scores for the embeddings
159
+ similarities = model.similarity(embeddings, embeddings)
160
+ print(similarities)
161
+ # tensor([[1.0000, 0.7950, 0.7297],
162
+ # [0.7950, 1.0000, 0.7343],
163
+ # [0.7297, 0.7343, 1.0000]])
164
+ ```
165
+
166
+ <!--
167
+ ### Direct Usage (Transformers)
168
+
169
+ <details><summary>Click to see the direct usage in Transformers</summary>
170
+
171
+ </details>
172
+ -->
173
+
174
+ <!--
175
+ ### Downstream Usage (Sentence Transformers)
176
+
177
+ You can finetune this model on your own dataset.
178
+
179
+ <details><summary>Click to expand</summary>
180
+
181
+ </details>
182
+ -->
183
+
184
+ <!--
185
+ ### Out-of-Scope Use
186
+
187
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
188
+ -->
189
+
190
+ <!--
191
+ ## Bias, Risks and Limitations
192
+
193
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
194
+ -->
195
+
196
+ <!--
197
+ ### Recommendations
198
+
199
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
200
+ -->
201
+
202
+ ## Training Details
203
+
204
+ ### Training Dataset
205
+
206
+ #### Unnamed Dataset
207
+
208
+ * Size: 363 training samples
209
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
210
+ * Approximate statistics based on the first 363 samples:
211
+ | | sentence_0 | sentence_1 | label |
212
+ |:--------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:--------------------------------------------------------------|
213
+ | type | string | string | float |
214
+ | details | <ul><li>min: 16 tokens</li><li>mean: 65.29 tokens</li><li>max: 127 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 38.02 tokens</li><li>max: 127 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.5</li><li>max: 1.0</li></ul> |
215
+ * Samples:
216
+ | sentence_0 | sentence_1 | label |
217
+ |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------|
218
+ | <code>Sea $H$ la matriz discreta sobre la red icosaédrica. Los autovalores $\{E_n\}$ y vectores propios $\{\Psi_n\}$ cumplen:</code> | <code># Crear grafo icosaédrico<br>G = nx.icosahedral_graph()<br>n = G.number_of_nodes()</code> | <code>0.4647801650468898</code> |
219
+ | <code>\[<br>i \hbar \frac{\partial \Psi}{\partial t} = H \Psi<br>\]</code> | <code>\begin{align*}<br>\alpha_{\rm fine} &\approx f(E_n, \text{geometría icosaédrica}) \\<br>m_\nu &\approx g(\text{acoplamientos SU(2)/SU(3) discretos}) \\<br>\Lambda &\approx h(\text{energía de vacío logarítmica})<br>\end{align*}</code> | <code>0.4930957329947213</code> |
220
+ | <code>\title{Resonance of Reality Framework (RRF) Extendido\\<br>Hamiltoniano Icosaédrico, Gravedad Logarítmica y Simulación}<br>\author{Antony Padilla Morales}<br>\date{\today}</code> | <code>donde:<br>\begin{itemize}<br> \item $\psi_i$ son espinores icosaédricos.<br> \item $r_{ij}$ es la distancia entre nodos $i$ y $j$.<br> \item $A,B,C$ son acoplamientos gauge discretos.<br>\end{itemize}</code> | <code>0.5762137786115148</code> |
221
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
222
+ ```json
223
+ {
224
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
225
+ }
226
+ ```
227
+
228
+ ### Training Hyperparameters
229
+ #### Non-Default Hyperparameters
230
+
231
+ - `per_device_train_batch_size`: 16
232
+ - `per_device_eval_batch_size`: 16
233
+ - `multi_dataset_batch_sampler`: round_robin
234
+
235
+ #### All Hyperparameters
236
+ <details><summary>Click to expand</summary>
237
+
238
+ - `overwrite_output_dir`: False
239
+ - `do_predict`: False
240
+ - `eval_strategy`: no
241
+ - `prediction_loss_only`: True
242
+ - `per_device_train_batch_size`: 16
243
+ - `per_device_eval_batch_size`: 16
244
+ - `per_gpu_train_batch_size`: None
245
+ - `per_gpu_eval_batch_size`: None
246
+ - `gradient_accumulation_steps`: 1
247
+ - `eval_accumulation_steps`: None
248
+ - `torch_empty_cache_steps`: None
249
+ - `learning_rate`: 5e-05
250
+ - `weight_decay`: 0.0
251
+ - `adam_beta1`: 0.9
252
+ - `adam_beta2`: 0.999
253
+ - `adam_epsilon`: 1e-08
254
+ - `max_grad_norm`: 1
255
+ - `num_train_epochs`: 3
256
+ - `max_steps`: -1
257
+ - `lr_scheduler_type`: linear
258
+ - `lr_scheduler_kwargs`: {}
259
+ - `warmup_ratio`: 0.0
260
+ - `warmup_steps`: 0
261
+ - `log_level`: passive
262
+ - `log_level_replica`: warning
263
+ - `log_on_each_node`: True
264
+ - `logging_nan_inf_filter`: True
265
+ - `save_safetensors`: True
266
+ - `save_on_each_node`: False
267
+ - `save_only_model`: False
268
+ - `restore_callback_states_from_checkpoint`: False
269
+ - `no_cuda`: False
270
+ - `use_cpu`: False
271
+ - `use_mps_device`: False
272
+ - `seed`: 42
273
+ - `data_seed`: None
274
+ - `jit_mode_eval`: False
275
+ - `bf16`: False
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
+ - `parallelism_config`: None
302
+ - `deepspeed`: None
303
+ - `label_smoothing_factor`: 0.0
304
+ - `optim`: adamw_torch_fused
305
+ - `optim_args`: None
306
+ - `adafactor`: False
307
+ - `group_by_length`: False
308
+ - `length_column_name`: length
309
+ - `project`: huggingface
310
+ - `trackio_space_id`: trackio
311
+ - `ddp_find_unused_parameters`: None
312
+ - `ddp_bucket_cap_mb`: None
313
+ - `ddp_broadcast_buffers`: False
314
+ - `dataloader_pin_memory`: True
315
+ - `dataloader_persistent_workers`: False
316
+ - `skip_memory_metrics`: True
317
+ - `use_legacy_prediction_loop`: False
318
+ - `push_to_hub`: False
319
+ - `resume_from_checkpoint`: None
320
+ - `hub_model_id`: None
321
+ - `hub_strategy`: every_save
322
+ - `hub_private_repo`: None
323
+ - `hub_always_push`: False
324
+ - `hub_revision`: None
325
+ - `gradient_checkpointing`: False
326
+ - `gradient_checkpointing_kwargs`: None
327
+ - `include_inputs_for_metrics`: False
328
+ - `include_for_metrics`: []
329
+ - `eval_do_concat_batches`: True
330
+ - `fp16_backend`: auto
331
+ - `push_to_hub_model_id`: None
332
+ - `push_to_hub_organization`: None
333
+ - `mp_parameters`:
334
+ - `auto_find_batch_size`: False
335
+ - `full_determinism`: False
336
+ - `torchdynamo`: None
337
+ - `ray_scope`: last
338
+ - `ddp_timeout`: 1800
339
+ - `torch_compile`: False
340
+ - `torch_compile_backend`: None
341
+ - `torch_compile_mode`: None
342
+ - `include_tokens_per_second`: False
343
+ - `include_num_input_tokens_seen`: no
344
+ - `neftune_noise_alpha`: None
345
+ - `optim_target_modules`: None
346
+ - `batch_eval_metrics`: False
347
+ - `eval_on_start`: False
348
+ - `use_liger_kernel`: False
349
+ - `liger_kernel_config`: None
350
+ - `eval_use_gather_object`: False
351
+ - `average_tokens_across_devices`: True
352
+ - `prompts`: None
353
+ - `batch_sampler`: batch_sampler
354
+ - `multi_dataset_batch_sampler`: round_robin
355
+ - `router_mapping`: {}
356
+ - `learning_rate_mapping`: {}
357
+
358
+ </details>
359
+
360
+ ### Framework Versions
361
+ - Python: 3.12.12
362
+ - Sentence Transformers: 5.1.1
363
+ - Transformers: 4.57.0
364
+ - PyTorch: 2.8.0+cu126
365
+ - Accelerate: 1.10.1
366
+ - Datasets: 4.0.0
367
+ - Tokenizers: 0.22.1
368
+
369
+ ## Citation
370
+
371
+ ### BibTeX
372
+
373
+ #### Sentence Transformers
374
+ ```bibtex
375
+ @inproceedings{reimers-2019-sentence-bert,
376
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
377
+ author = "Reimers, Nils and Gurevych, Iryna",
378
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
379
+ month = "11",
380
+ year = "2019",
381
+ publisher = "Association for Computational Linguistics",
382
+ url = "https://arxiv.org/abs/1908.10084",
383
+ }
384
+ ```
385
+
386
+ <!--
387
+ ## Glossary
388
+
389
+ *Clearly define terms in order to be accessible across audiences.*
390
+ -->
391
+
392
+ <!--
393
+ ## Model Card Authors
394
+
395
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
396
+ -->
397
+
398
+ <!--
399
+ ## Model Card Contact
400
+
401
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
402
+ -->
model/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": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "transformers_version": "4.57.0",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
model/config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.1",
4
+ "transformers": "4.57.0",
5
+ "pytorch": "2.8.0+cu126"
6
+ },
7
+ "model_type": "SentenceTransformer",
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25cd3046cdf2dbbf3abb8fc8189b5a327fc504a8df99b1f9e4eca148b2b84473
3
+ size 90864192
model/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
+ ]
model/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
model/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
+ }
model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
model/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
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
+ }
model/vocab.txt ADDED
The diff for this file is too large to render. See raw diff