ptpedroVortal commited on
Commit
4016a41
·
verified ·
1 Parent(s): 7d80056

Add new SentenceTransformer model

Browse files
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
+ }
README.md ADDED
@@ -0,0 +1,575 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:222
8
+ - loss:MultipleNegativesRankingLoss
9
+ base_model: nomic-ai/nomic-embed-text-v1
10
+ widget:
11
+ - source_sentence: Collect the details that are associated with Lot 1 product '' 'IGE',
12
+ with quantity 7280, unit UND
13
+ sentences:
14
+ - Lote 12\nquatro euros e noventa e cinco cêntimos\n3\n3Teks/Turquia\nRef. 101.001.SE
15
+ - ' ImmunoCAP IgE Total Anti-IgE Immunocap Caneta 7280 455 18,70 dezoito euros e
16
+ setenta cêntimos 1,168750 16 14-4509-01 8.508,50\n2\n2 122060282Conforme \nalergénioImmunoCAP
17
+ Alergénio Caneta 20800 1300 30,00 trinta euros 1,875000 16 .... 39.000,00\n2\n3
18
+ 122060282Conforme \nalergénioImmunoCAP Alergénio Componente\nMolecularCaneta 2000
19
+ 200 73,49setenta e três euros e quarenta e \nnove cêntimos 7,349000 10 .... 14.698,00\n2\n4
20
+ 122060282Conforme \nalergénioImmunoCAP Alergénio Caneta 8100 810 22,05 vinte e
21
+ dois euros e cinco cêntimos 2,205000 10 .... 17.860,50'
22
+ - Solução Proposta 5 565,00 €\nhw 5 565,00 €\nTotal sem IVA 5 565,00 €\nValor do
23
+ IVA (23 %) 1 279,95 €\nTotal com IVA (23 %) 6 844,95 €MIL DUZENTOS E SETENTA E
24
+ NOVE EUROS E NOVENTA E CINCO CENTIMOS\nSEIS MIL OITOCENTOS E QUARENTA E QUATRO
25
+ EUROS E NOVENTA E CINCO\nCENTIMOSRESUMO ECONÓMICO\nDescrição Valor\nCINCO MIL
26
+ QUINHENTOS E SESSENTA E CINCO EUROS\nProposta FP-5-171.xlsxPágina 4 de 5\n30/01/2023\nLenovo
27
+ - Monitores 5 565,00 €\nT27i-10(A18270FT0)-27inch Monitor(HDMI)\nStock a data
28
+ de hoje 20 Unds + Previsão 4 \nsemanas30 185,50 € 5 565,00 €\n
29
+ - source_sentence: Collect the details that are associated with Lot 4 product 'Os
30
+ diversos equipamentos e eventos a realizar e de gestão do Município de Albufeira'
31
+ 'Vigilância e segurança humana contínua em equipamentos e eventos - VIG/ARD/ARE/COORD
32
+ - período de 3 meses, todos os dias de forma permanente e ininterrupta, total
33
+ estimado de 2250H.', with quantity 1, unit UN
34
+ sentences:
35
+ - 'Lote 3:\nPreço Unitário: 10,00€ (dez euros) /hora\nPreço Total: 27.540,00€ (vinte
36
+ sete mil quinhentos e quarenta euros)'
37
+ - 'DESCRIÇÃO DE SERVIÇOS LOTE 4
38
+
39
+ Local, Dias e Horários:
40
+
41
+ ➢ Locais, Dias e horários a indicar (prazo mínimo de 24 horas) pelos serviços
42
+ da Câmara Municipal de Albufeira ;
43
+
44
+ Efetivo e Categoria Profissional :
45
+
46
+ ➢ O número necessário de efetivo será definido por requisição a emitir pelos competentes
47
+ serviços da Câmara Municipal de Albufeira nas categorias de Vigilante, Assistente
48
+ Recinto de Espetáculos, Assistente de Recinto Desportivos e Coordenador;
49
+
50
+ Valor Hora: €15,00 ( quinze euros)
51
+
52
+ Total de Horas Previsto: 2980 horas (dois mil novecentos e oitenta horas)
53
+
54
+ Valor Total Previsto: €44 700,00 (quarenta e quatro mil e setecentos euros)'
55
+ - 2202000061 - SUTURA MONOFILAMENYO NÃO ABSORVIVEL POLIAMIDA 0 AG.CILINDRICA,30MM
56
+ (CART.) 0.78
57
+ - source_sentence: Collect the details that are associated with Lot 11 product ''
58
+ 'Mesas apoio (anestesia e circulante)', with quantity 4, unit Subcontracting Unit
59
+ sentences:
60
+ - 2202000128 - Sutura sint. absorvivel "Poliglicolico" multifilamento 5/0 ag. cilindrica
61
+ 13mm (CART.) 2.2
62
+ - 'Preço\nLote Artigo Designação Referência € Custo unitário s/ IVA % IVA Quantidade Valor
63
+ total S/IVA\n11 Mesa apoio \n(anestesia e \ncirculante) Trolley apoio TTAC 3350 690€
64
+ 23% 4 2760€\nTotal 2760€ '
65
+ - 'Trouxa Cesariana 832,00 7,950000 6\xa0614,400000 23,00\nLote 10\nsete euros e
66
+ noveta e cinco cêntimos\n3\n3Teks/Turquia\nRef. 601.002.SE\nCDM: 88869431\nDM
67
+ Classe Ie\nNPDM: T020199\nTotal Ilíquido :Descontos Comerciais :\nTOTAL EUR56\xa0642,860000P'
68
+ - source_sentence: Collect the details that are associated with product '' '2202000154
69
+ - FIO SUT. POLIPROPI. NÃO ABS. 2/0 MONOF. C/ 2 AG. RECTAS CILIND. 75 MM (CART.)',
70
+ with quantity 108, unit UN
71
+ sentences:
72
+ - '| Lote | DENOMINAÇÃO |
73
+ VALOR MENSAL | VALOR |
74
+
75
+ |--------|------------------------------------------------------------------------|--------------|-------------|
76
+
77
+ | Lote 1 | Mercados Quinzenais, no Município de Albufeira |
78
+ 567,00 € | 2 835,00 € |
79
+
80
+ | Lote 2 | Portaria Das Instalações Técnicas e Administrativas do Edifício de
81
+ Vale Pedras | 7 435,80 € | 37 179,00 € |
82
+
83
+ | Lote 3 | Portaria Parque de Estacionamento Coberto dos Olhos de Água |
84
+ 8 262,00 € | 41 310,00 € |
85
+
86
+ | Lote 4 | Compreende a Vigilância aos diversos eventos e equipamentos | |
87
+ 49 021,00 € |
88
+
89
+ | TOTAL | | |
90
+ 130 345,00 € |'
91
+ - LOTE 8\n4,0 CARROHPPBV1 SUPORTE RODADO PARA SACO RESÍDUOS GRUPO III/IV 240,000
92
+ 960,000 23,0\
93
+ - 2202000154 - FIO SUT. POLIPROPI. NÃO ABS. 2/0 MONOF. C/ 2 AG. RECTAS CILIND.
94
+ 75 MM (CART.) 2.65
95
+ - source_sentence: Collect the details that are associated with product '' 'Macbook
96
+ Air 13" com processador M1/M2 e 8 GB de RAM (Telado PT-PT)', with quantity 1,
97
+ unit UN
98
+ sentences:
99
+ - '[''A Siemens Healthineers é uma empresa líder em inovação, reconhecida pela sua
100
+ engenharia de ponta, pelo apoio a \nterapias avançadas, assim como por privilegiar
101
+ a versatilidade e funcionalidade entre questões clínicas, resultados \nlaboratoriais
102
+ precisos e serviços transformadores. Deste modo, maximizamos oportunidades e reduzimos
103
+ riscos, \ncontribuindo para a melhoria da excelência clínica, eficiência operacional
104
+ e rentabilidade.\nQueremos continuar a colocar todas estas capacidades e os nossos
105
+ conhecimentos a nível clínico e técnico ao serviço de\nparceiros e clientes, para
106
+ que sejamos o apoio que precisam para alcançar todos os seus objetivos. Sabemos
107
+ que podemos\nir cada vez mais longe, mas sabemos também que muitas vezes um caminho
108
+ percorrido em conjunto oferece todo um novo\nmundo de possibilidades.\nJuntos,
109
+ vamos continuar a construir o futuro da saúde.\nPág. 52.Proposta Financeira\n2.1.
110
+ Posições Relevantes\nLote 1\nPOSIÇÃO CÓDIGO DESIGNAÇÃO UnidadeESTIMATIVA\nANUALPreço
111
+ Teste\nS/ IVA\n1 122060265 IGE TESTE 7280 3,00 €\nPreço Líquido da Proposta para
112
+ o Lote 1 ...................................................................................................21.840,00
113
+ €\n(\n(Vinte e um mil, oitocentos e quarenta euros)\nLote 4\nPOSIÇÃO CÓDIGO DESIGNAÇÃO
114
+ UnidadeESTIMATIVA\nANUALPreço Total\nS/ IVA\n5\n1 122060125C1 INACTIVADOR FUNCIONAL'',
115
+ ''POSIÇÃO CÓDIGO DESIGNAÇÃO UnidadeESTIMATIVA\nANUALPreço Teste\nS/ IVA\n1 122060265
116
+ IGE TESTE 7280 3,00 €\nPreço Líquido da Proposta para o Lote 1 ...................................................................................................21.840,00
117
+ €\n(\n(Vinte e um mil, oitocentos e quarenta euros)\nLote 4\nPOSIÇÃO CÓDIGO DESIGNAÇÃO
118
+ UnidadeESTIMATIVA\nANUALPreço Total\nS/ IVA\n5\n1 122060125C1 INACTIVADOR FUNCIONAL\nQUANTITATIVOTESTE
119
+ 576 5,00 €\nPreço Líquido da Proposta para o Lote 4 ....................................................................................................
120
+ 2.880,00 €\n(\n(Dois mil, oitocentos e oitenta euros)\nPág. 63.Anexos\n1. Procuração\nSiemens
121
+ Healthcare, Unipessoal, Lda.\nRua Irmãos Siemens, 1-1A\n2720-093 Amadora\nPortugal\nTelf:
122
+ +351 210 601 800\[email protected]\nwww.healthcare.siemens.ptCopyright\nEsta
123
+ Proposta e seu conteúdo são propriedade intelectual da\nSiemens Healthcare, Unipessoal,
124
+ Lda, na proposta designada\npor Siemens Healthineers, protegida nos termos do
125
+ Código do\nDireito de Autor e dos Direitos Conexos.'', ''A Siemens Healthineers
126
+ é uma empresa líder em inovação, reconhecida pela sua engenharia de ponta, pelo
127
+ apoio a \nterapias avançadas, assim como por privilegiar a versatilidade e funcionalidade
128
+ entre questões clínicas, resultados \nlaboratoriais precisos e serviços transformadores.
129
+ Deste modo, maximizamos oportunidades e reduzimos riscos, \ncontribuindo para
130
+ a melhoria da excelência clínica, eficiência operacional e rentabilidade.\nQueremos
131
+ continuar a colocar todas estas capacidades e os nossos conhecimentos a nível
132
+ clínico e técnico ao serviço de\nparceiros e clientes, para que sejamos o apoio
133
+ que precisam para alcançar todos os seus objetivos. Sabemos que podemos\nir cada
134
+ vez mais longe, mas sabemos também que muitas vezes um caminho percorrido em conjunto
135
+ oferece todo um novo\nmundo de possibilidades.\nJuntos, vamos continuar a construir
136
+ o futuro da saúde.\nPág. 52.Proposta Financeira\n2.1. Posições Relevantes\nLote
137
+ 1\nPOSIÇÃO CÓDIGO DESIGNAÇÃO UnidadeESTIMATIVA\nANUALPreço Teste\nS/ IVA\n1 122060265
138
+ IGE TESTE 7280 3,00 €\nPreço Líquido da Proposta para o Lote 1 ...................................................................................................21.840,00
139
+ €'', ''A Siemens Healthineers é uma empresa líder em inovação, reconhecida pela
140
+ sua engenharia de ponta, pelo apoio a \nterapias avançadas, assim como por privilegiar
141
+ a versatilidade e funcionalidade entre questões clínicas, resultados \nlaboratoriais
142
+ precisos e serviços transformadores. Deste modo, maximizamos oportunidades e reduzimos
143
+ riscos, \ncontribuindo para a melhoria da excelência clínica, eficiência operacional
144
+ e rentabilidade.\nQueremos continuar a colocar todas estas capacidades e os nossos
145
+ conhecimentos a nível clínico e técnico ao serviço de\nparceiros e clientes, para
146
+ que sejamos o apoio que precisam para alcançar todos os seus objetivos. Sabemos
147
+ que podemos\nir cada vez mais longe, mas sabemos também que muitas vezes um caminho
148
+ percorrido em conjunto oferece todo um novo\nmundo de possibilidades.\nJuntos,
149
+ vamos continuar a construir o futuro da saúde.\nPág. 52.Proposta Financeira\n2.1.
150
+ Posições Relevantes\nLote 1\nPOSIÇÃO CÓDIGO DESIGNAÇÃO UnidadeESTIMATIVA\nANUALPreço
151
+ Teste\nS/ IVA\n1 122060265 IGE TESTE 7280 3,00 €\nPreço Líquido da Proposta para
152
+ o Lote 1 ...................................................................................................21.840,00
153
+ €\n(\n(Vinte e um mil, oitocentos e quarenta euros)\nLote 4\nPOSIÇÃO CÓDIGO DESIGNAÇÃO
154
+ UnidadeESTIMATIVA\nANUALPreço Total\nS/ IVA\n5\n1 122060125C1 INACTIVADOR FUNCIONAL\nQUANTITATIVOTESTE
155
+ 576 5,00 €\nPreço Líquido da Proposta para o Lote 4 ....................................................................................................
156
+ 2.880,00 €'', ''Queremos continuar a colocar todas estas capacidades e os nossos
157
+ conhecimentos a nível clínico e técnico ao serviço de\nparceiros e clientes, para
158
+ que sejamos o apoio que precisam para alcançar todos os seus objetivos. Sabemos
159
+ que podemos\nir cada vez mais longe, mas sabemos também que muitas vezes um caminho
160
+ percorrido em conjunto oferece todo um novo\nmundo de possibilidades.\nJuntos,
161
+ vamos continuar a construir o futuro da saúde.\nPág. 52.Proposta Financeira\n2.1.
162
+ Posições Relevantes\nLote 1\nPOSIÇÃO CÓDIGO DESIGNAÇÃO UnidadeESTIMATIVA\nANUALPreço
163
+ Teste\nS/ IVA\n1 122060265 IGE TESTE 7280 3,00 €\nPreço Líquido da Proposta para
164
+ o Lote 1 ...................................................................................................21.840,00
165
+ €\n(\n(Vinte e um mil, oitocentos e quarenta euros)\nLote 4\nPOSIÇÃO CÓDIGO DESIGNAÇÃO
166
+ UnidadeESTIMATIVA\nANUALPreço Total\nS/ IVA\n5\n1 122060125C1 INACTIVADOR FUNCIONAL\nQUANTITATIVOTESTE
167
+ 576 5,00 €\nPreço Líquido da Proposta para o Lote 4 ....................................................................................................
168
+ 2.880,00 €\n(\n(Dois mil, oitocentos e oitenta euros)\nPág. 63.Anexos'']'
169
+ - 'LOTE 5
170
+
171
+ 1 MESA APOIO MESA DE APOIO EM INOX AISI 304 2,0 279,000 23,0 558,000
172
+
173
+ Mesa com 4 rodas , 2 com travão
174
+
175
+ Tabuleiro inferior
176
+
177
+ Dimens: C 700 x L 500 x A 800mm
178
+
179
+ Prateleira inferior - profundidade 250mm
180
+
181
+ Fabrico Nacional e por medida
182
+
183
+ Total do do lote 5: 558,00€ Quinhentos e cinquenta e oito euros'
184
+ - 'Apresenta -se de seguida a configuração financeira para a fornecimento dos produtos
185
+ \nrequeridos , mediante opções por cor e diferentes características:\nNOTA: Valores
186
+ válidos até 23 de Fevereiro e mediante adjudicação de 2 ou mais \nequipamentos portáteis
187
+ (excluindo Teclado)\nPART-NUMBER QTD. DESCRIÇÃOVALOR\nUNITÁRIOVALOR\nTOTAL\nMLY03PO/A
188
+ 1Apple Macbook AIR 13,6" (Disco 512GB SSD; 10 core) 1 545,08 € 1
189
+ 545,08 €\nMLXY3PO/A 1Apple Macbook AIR 13,6" (Disco 256GB SSD, 8 core) 1 227,48
190
+ € 1 227,48 €'
191
+ pipeline_tag: sentence-similarity
192
+ library_name: sentence-transformers
193
+ metrics:
194
+ - pearson_cosine
195
+ - spearman_cosine
196
+ model-index:
197
+ - name: SentenceTransformer based on nomic-ai/nomic-embed-text-v1
198
+ results:
199
+ - task:
200
+ type: semantic-similarity
201
+ name: Semantic Similarity
202
+ dataset:
203
+ name: Unknown
204
+ type: unknown
205
+ metrics:
206
+ - type: pearson_cosine
207
+ value: .nan
208
+ name: Pearson Cosine
209
+ - type: spearman_cosine
210
+ value: .nan
211
+ name: Spearman Cosine
212
+ ---
213
+
214
+ # SentenceTransformer based on nomic-ai/nomic-embed-text-v1
215
+
216
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [nomic-ai/nomic-embed-text-v1](https://huggingface.co/nomic-ai/nomic-embed-text-v1). 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.
217
+
218
+ ## Model Details
219
+
220
+ ### Model Description
221
+ - **Model Type:** Sentence Transformer
222
+ - **Base model:** [nomic-ai/nomic-embed-text-v1](https://huggingface.co/nomic-ai/nomic-embed-text-v1) <!-- at revision 720244025c1a7e15661a174c63cce63c8218e52b -->
223
+ - **Maximum Sequence Length:** 8192 tokens
224
+ - **Output Dimensionality:** 768 dimensions
225
+ - **Similarity Function:** Cosine Similarity
226
+ <!-- - **Training Dataset:** Unknown -->
227
+ <!-- - **Language:** Unknown -->
228
+ <!-- - **License:** Unknown -->
229
+
230
+ ### Model Sources
231
+
232
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
233
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
234
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
235
+
236
+ ### Full Model Architecture
237
+
238
+ ```
239
+ SentenceTransformer(
240
+ (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: NomicBertModel
241
+ (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})
242
+ (2): Normalize()
243
+ )
244
+ ```
245
+
246
+ ## Usage
247
+
248
+ ### Direct Usage (Sentence Transformers)
249
+
250
+ First install the Sentence Transformers library:
251
+
252
+ ```bash
253
+ pip install -U sentence-transformers
254
+ ```
255
+
256
+ Then you can load this model and run inference.
257
+ ```python
258
+ from sentence_transformers import SentenceTransformer
259
+
260
+ # Download from the 🤗 Hub
261
+ model = SentenceTransformer("ptpedroVortal/nomic_vortal_v3.3")
262
+ # Run inference
263
+ sentences = [
264
+ 'Collect the details that are associated with product \'\' \'Macbook Air 13" com processador M1/M2 e 8 GB de RAM (Telado PT-PT)\', with quantity 1, unit UN',
265
+ 'Apresenta -se de seguida a configuração financeira para a fornecimento dos produtos \\nrequeridos , mediante opções por cor e diferentes características:\\nNOTA: Valores válidos até 23 de Fevereiro e mediante adjudicação de 2 ou mais \\nequipamentos portáteis (excluindo Teclado)\\nPART-NUMBER QTD. DESCRIÇÃOVALOR\\nUNITÁRIOVALOR\\nTOTAL\\nMLY03PO/A 1Apple Macbook AIR 13,6" (Disco 512GB SSD; 10 core) 1 545,08 € 1 545,08 €\\nMLXY3PO/A 1Apple Macbook AIR 13,6" (Disco 256GB SSD, 8 core) 1 227,48 € 1 227,48 €',
266
+ 'LOTE 5\n1 MESA APOIO MESA DE APOIO EM INOX AISI 304 2,0 279,000 23,0 558,000\nMesa com 4 rodas , 2 com travão\nTabuleiro inferior\nDimens: C 700 x L 500 x A 800mm\nPrateleira inferior - profundidade 250mm\nFabrico Nacional e por medida\nTotal do do lote 5: 558,00€ Quinhentos e cinquenta e oito euros',
267
+ ]
268
+ embeddings = model.encode(sentences)
269
+ print(embeddings.shape)
270
+ # [3, 768]
271
+
272
+ # Get the similarity scores for the embeddings
273
+ similarities = model.similarity(embeddings, embeddings)
274
+ print(similarities.shape)
275
+ # [3, 3]
276
+ ```
277
+
278
+ <!--
279
+ ### Direct Usage (Transformers)
280
+
281
+ <details><summary>Click to see the direct usage in Transformers</summary>
282
+
283
+ </details>
284
+ -->
285
+
286
+ <!--
287
+ ### Downstream Usage (Sentence Transformers)
288
+
289
+ You can finetune this model on your own dataset.
290
+
291
+ <details><summary>Click to expand</summary>
292
+
293
+ </details>
294
+ -->
295
+
296
+ <!--
297
+ ### Out-of-Scope Use
298
+
299
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
300
+ -->
301
+
302
+ ## Evaluation
303
+
304
+ ### Metrics
305
+
306
+ #### Semantic Similarity
307
+
308
+ * Evaluated with <code>__main__.CustomEvaluator</code>
309
+
310
+ | Metric | Value |
311
+ |:--------------------|:--------|
312
+ | pearson_cosine | nan |
313
+ | **spearman_cosine** | **nan** |
314
+
315
+ <!--
316
+ ## Bias, Risks and Limitations
317
+
318
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
319
+ -->
320
+
321
+ <!--
322
+ ### Recommendations
323
+
324
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
325
+ -->
326
+
327
+ ## Training Details
328
+
329
+ ### Training Dataset
330
+
331
+ #### Unnamed Dataset
332
+
333
+
334
+ * Size: 222 training samples
335
+ * Columns: <code>query</code> and <code>correct_node</code>
336
+ * Approximate statistics based on the first 222 samples:
337
+ | | query | correct_node |
338
+ |:--------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|
339
+ | type | string | string |
340
+ | details | <ul><li>min: 15 tokens</li><li>mean: 55.17 tokens</li><li>max: 154 tokens</li></ul> | <ul><li>min: 22 tokens</li><li>mean: 109.22 tokens</li><li>max: 2920 tokens</li></ul> |
341
+ * Samples:
342
+ | query | correct_node |
343
+ |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
344
+ | <code>Collect the details that are associated with Lot 4 product '' 'Mesas de Mayo', with quantity 2, unit Subcontracting Unit</code> | <code>LOTE 4<br>1 MESA DE MAYO 82JM 10.ME.1831 2,000 842,00000 23 1 684,00<br>oitocentos e quarenta e dois euros<br>Origem : Nacional<br>Marca : MOBIT<br>Prazo de entrega: 30 dias<br>Garantia: 2 anos<br>Transporte</code> |
345
+ | <code>Collect the details that are associated with Lot 7 product '' 'Carro transporte de roupa suja ', with quantity 1, unit US</code> | <code>Lote 7 nan nan nan nan nan\nRef. Description Qt. Un. Un. Price Total\n9856 Carros para Transporte de Roupa Suja e Limpa 1 US 16.23 16.23\</code> |
346
+ | <code>Collect the details that are associated with product '' '2202000014 - FIO SUT. SEDA NÃO ABS. 2/0 MULTIF. SEM AGULHA (CART.)', with quantity 72, unit UN</code> | <code>2202000014 - FIO SUT. SEDA NÃO ABS. 2/0 MULTIF. SEM AGULHA (CART.) 0.36</code> |
347
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
348
+ ```json
349
+ {
350
+ "scale": 20.0,
351
+ "similarity_fct": "cos_sim"
352
+ }
353
+ ```
354
+
355
+ ### Evaluation Dataset
356
+
357
+ #### Unnamed Dataset
358
+
359
+
360
+ * Size: 27 evaluation samples
361
+ * Columns: <code>query</code> and <code>correct_node</code>
362
+ * Approximate statistics based on the first 27 samples:
363
+ | | query | correct_node |
364
+ |:--------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|
365
+ | type | string | string |
366
+ | details | <ul><li>min: 17 tokens</li><li>mean: 56.85 tokens</li><li>max: 121 tokens</li></ul> | <ul><li>min: 40 tokens</li><li>mean: 228.15 tokens</li><li>max: 2963 tokens</li></ul> |
367
+ * Samples:
368
+ | query | correct_node |
369
+ |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
370
+ | <code>Collect the details that are associated with product '' '2202000055 - FIO SUT. POLIAMIDA NÃO ABS. 2/0 MONOF. AG. LANC. 39 MM 3/8 C (CART.)', with quantity 1656, unit UN</code> | <code>2202000055 - FIO SUT. POLIAMIDA NÃO ABS. 2/0 MONOF. AG. LANC. 39 MM 3/8 C (CART.) 1.28</code> |
371
+ | <code>Collect the details that are associated with Lot 3 product 'Portaria do Parque Coberto dos Olhos de Água' 'Vigilância e segurança humana contínua - Olhos de Água - período de 3 meses - todos os dias da semana, incluindo feriados, total estimado de 2754H', with quantity 1, unit UN</code> | <code>| Lote | DENOMINAÇÃO | VALOR MENSAL | VALOR |<br>|--------|------------------------------------------------------------------------|--------------|-------------|<br>| Lote 1 | Mercados Quinzenais, no Município de Albufeira | 567,00 € | 2 835,00 € |<br>| Lote 2 | Portaria Das Instalações Técnicas e Administrativas do Edifício de Vale Pedras | 7 435,80 € | 37 179,00 € |<br>| Lote 3 | Portaria Parque de Estacionamento Coberto dos Olhos de Água | 8 262,00 € | 41 310,00 € |<br>| Lote 4 | Compreende a Vigilância aos diversos eventos e equipamentos | | 49 021,00 € |<br>| TOTAL | | | 130 345,00 € |</code> |
372
+ | <code>Collect the details that are associated with Lot 3 product 'Portaria do Parque Coberto dos Olhos de Água' 'Vigilância e segurança humana contínua - Olhos de Água - período de 3 meses - todos os dias da semana, incluindo feriados, total estimado de 2754H', with quantity 1, unit UN</code> | <code>Lote 3:\nPreço Unitário: 10,00€ (dez euros) /hora\nPreço Total: 27.540,00€ (vinte sete mil quinhentos e quarenta euros)</code> |
373
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
374
+ ```json
375
+ {
376
+ "scale": 20.0,
377
+ "similarity_fct": "cos_sim"
378
+ }
379
+ ```
380
+
381
+ ### Training Hyperparameters
382
+ #### Non-Default Hyperparameters
383
+
384
+ - `eval_strategy`: steps
385
+ - `per_device_train_batch_size`: 16
386
+ - `per_device_eval_batch_size`: 16
387
+ - `num_train_epochs`: 10
388
+ - `warmup_ratio`: 0.1
389
+ - `bf16`: True
390
+ - `load_best_model_at_end`: True
391
+ - `batch_sampler`: no_duplicates
392
+
393
+ #### All Hyperparameters
394
+ <details><summary>Click to expand</summary>
395
+
396
+ - `overwrite_output_dir`: False
397
+ - `do_predict`: False
398
+ - `eval_strategy`: steps
399
+ - `prediction_loss_only`: True
400
+ - `per_device_train_batch_size`: 16
401
+ - `per_device_eval_batch_size`: 16
402
+ - `per_gpu_train_batch_size`: None
403
+ - `per_gpu_eval_batch_size`: None
404
+ - `gradient_accumulation_steps`: 1
405
+ - `eval_accumulation_steps`: None
406
+ - `torch_empty_cache_steps`: None
407
+ - `learning_rate`: 5e-05
408
+ - `weight_decay`: 0.0
409
+ - `adam_beta1`: 0.9
410
+ - `adam_beta2`: 0.999
411
+ - `adam_epsilon`: 1e-08
412
+ - `max_grad_norm`: 1.0
413
+ - `num_train_epochs`: 10
414
+ - `max_steps`: -1
415
+ - `lr_scheduler_type`: linear
416
+ - `lr_scheduler_kwargs`: {}
417
+ - `warmup_ratio`: 0.1
418
+ - `warmup_steps`: 0
419
+ - `log_level`: passive
420
+ - `log_level_replica`: warning
421
+ - `log_on_each_node`: True
422
+ - `logging_nan_inf_filter`: True
423
+ - `save_safetensors`: True
424
+ - `save_on_each_node`: False
425
+ - `save_only_model`: False
426
+ - `restore_callback_states_from_checkpoint`: False
427
+ - `no_cuda`: False
428
+ - `use_cpu`: False
429
+ - `use_mps_device`: False
430
+ - `seed`: 42
431
+ - `data_seed`: None
432
+ - `jit_mode_eval`: False
433
+ - `use_ipex`: False
434
+ - `bf16`: True
435
+ - `fp16`: False
436
+ - `fp16_opt_level`: O1
437
+ - `half_precision_backend`: auto
438
+ - `bf16_full_eval`: False
439
+ - `fp16_full_eval`: False
440
+ - `tf32`: None
441
+ - `local_rank`: 0
442
+ - `ddp_backend`: None
443
+ - `tpu_num_cores`: None
444
+ - `tpu_metrics_debug`: False
445
+ - `debug`: []
446
+ - `dataloader_drop_last`: False
447
+ - `dataloader_num_workers`: 0
448
+ - `dataloader_prefetch_factor`: None
449
+ - `past_index`: -1
450
+ - `disable_tqdm`: False
451
+ - `remove_unused_columns`: True
452
+ - `label_names`: None
453
+ - `load_best_model_at_end`: True
454
+ - `ignore_data_skip`: False
455
+ - `fsdp`: []
456
+ - `fsdp_min_num_params`: 0
457
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
458
+ - `fsdp_transformer_layer_cls_to_wrap`: None
459
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
460
+ - `deepspeed`: None
461
+ - `label_smoothing_factor`: 0.0
462
+ - `optim`: adamw_torch
463
+ - `optim_args`: None
464
+ - `adafactor`: False
465
+ - `group_by_length`: False
466
+ - `length_column_name`: length
467
+ - `ddp_find_unused_parameters`: None
468
+ - `ddp_bucket_cap_mb`: None
469
+ - `ddp_broadcast_buffers`: False
470
+ - `dataloader_pin_memory`: True
471
+ - `dataloader_persistent_workers`: False
472
+ - `skip_memory_metrics`: True
473
+ - `use_legacy_prediction_loop`: False
474
+ - `push_to_hub`: False
475
+ - `resume_from_checkpoint`: None
476
+ - `hub_model_id`: None
477
+ - `hub_strategy`: every_save
478
+ - `hub_private_repo`: False
479
+ - `hub_always_push`: False
480
+ - `gradient_checkpointing`: False
481
+ - `gradient_checkpointing_kwargs`: None
482
+ - `include_inputs_for_metrics`: False
483
+ - `include_for_metrics`: []
484
+ - `eval_do_concat_batches`: True
485
+ - `fp16_backend`: auto
486
+ - `push_to_hub_model_id`: None
487
+ - `push_to_hub_organization`: None
488
+ - `mp_parameters`:
489
+ - `auto_find_batch_size`: False
490
+ - `full_determinism`: False
491
+ - `torchdynamo`: None
492
+ - `ray_scope`: last
493
+ - `ddp_timeout`: 1800
494
+ - `torch_compile`: False
495
+ - `torch_compile_backend`: None
496
+ - `torch_compile_mode`: None
497
+ - `dispatch_batches`: None
498
+ - `split_batches`: None
499
+ - `include_tokens_per_second`: False
500
+ - `include_num_input_tokens_seen`: False
501
+ - `neftune_noise_alpha`: None
502
+ - `optim_target_modules`: None
503
+ - `batch_eval_metrics`: False
504
+ - `eval_on_start`: False
505
+ - `use_liger_kernel`: False
506
+ - `eval_use_gather_object`: False
507
+ - `average_tokens_across_devices`: False
508
+ - `prompts`: None
509
+ - `batch_sampler`: no_duplicates
510
+ - `multi_dataset_batch_sampler`: proportional
511
+
512
+ </details>
513
+
514
+ ### Training Logs
515
+ | Epoch | Step | Training Loss | Validation Loss | spearman_cosine |
516
+ |:----------:|:-------:|:-------------:|:---------------:|:---------------:|
517
+ | **7.1429** | **100** | **0.0965** | **0.2395** | **nan** |
518
+
519
+ * The bold row denotes the saved checkpoint.
520
+
521
+ ### Framework Versions
522
+ - Python: 3.10.14
523
+ - Sentence Transformers: 3.3.1
524
+ - Transformers: 4.47.0.dev0
525
+ - PyTorch: 2.5.1+cu121
526
+ - Accelerate: 1.1.1
527
+ - Datasets: 3.1.0
528
+ - Tokenizers: 0.20.4
529
+
530
+ ## Citation
531
+
532
+ ### BibTeX
533
+
534
+ #### Sentence Transformers
535
+ ```bibtex
536
+ @inproceedings{reimers-2019-sentence-bert,
537
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
538
+ author = "Reimers, Nils and Gurevych, Iryna",
539
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
540
+ month = "11",
541
+ year = "2019",
542
+ publisher = "Association for Computational Linguistics",
543
+ url = "https://arxiv.org/abs/1908.10084",
544
+ }
545
+ ```
546
+
547
+ #### MultipleNegativesRankingLoss
548
+ ```bibtex
549
+ @misc{henderson2017efficient,
550
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
551
+ 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},
552
+ year={2017},
553
+ eprint={1705.00652},
554
+ archivePrefix={arXiv},
555
+ primaryClass={cs.CL}
556
+ }
557
+ ```
558
+
559
+ <!--
560
+ ## Glossary
561
+
562
+ *Clearly define terms in order to be accessible across audiences.*
563
+ -->
564
+
565
+ <!--
566
+ ## Model Card Authors
567
+
568
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
569
+ -->
570
+
571
+ <!--
572
+ ## Model Card Contact
573
+
574
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
575
+ -->
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nomic-ai/nomic-embed-text-v1",
3
+ "activation_function": "swiglu",
4
+ "architectures": [
5
+ "NomicBertModel"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "nomic-ai/nomic-bert-2048--configuration_hf_nomic_bert.NomicBertConfig",
10
+ "AutoModel": "nomic-ai/nomic-bert-2048--modeling_hf_nomic_bert.NomicBertModel",
11
+ "AutoModelForMaskedLM": "nomic-ai/nomic-bert-2048--modeling_hf_nomic_bert.NomicBertForPreTraining"
12
+ },
13
+ "bos_token_id": null,
14
+ "causal": false,
15
+ "dense_seq_output": true,
16
+ "embd_pdrop": 0.0,
17
+ "eos_token_id": null,
18
+ "fused_bias_fc": true,
19
+ "fused_dropout_add_ln": true,
20
+ "initializer_range": 0.02,
21
+ "layer_norm_epsilon": 1e-12,
22
+ "max_trained_positions": 2048,
23
+ "mlp_fc1_bias": false,
24
+ "mlp_fc2_bias": false,
25
+ "model_type": "nomic_bert",
26
+ "n_embd": 768,
27
+ "n_head": 12,
28
+ "n_inner": 3072,
29
+ "n_layer": 12,
30
+ "n_positions": 8192,
31
+ "pad_vocab_size_multiple": 64,
32
+ "parallel_block": false,
33
+ "parallel_block_tied_norm": false,
34
+ "prenorm": false,
35
+ "qkv_proj_bias": false,
36
+ "reorder_and_upcast_attn": false,
37
+ "resid_pdrop": 0.0,
38
+ "rotary_emb_base": 1000,
39
+ "rotary_emb_fraction": 1.0,
40
+ "rotary_emb_interleaved": false,
41
+ "rotary_emb_scale_base": null,
42
+ "rotary_scaling_factor": 2,
43
+ "scale_attn_by_inverse_layer_idx": false,
44
+ "scale_attn_weights": true,
45
+ "summary_activation": null,
46
+ "summary_first_dropout": 0.1,
47
+ "summary_proj_to_labels": true,
48
+ "summary_type": "cls_index",
49
+ "summary_use_proj": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.47.0.dev0",
52
+ "type_vocab_size": 2,
53
+ "use_cache": true,
54
+ "use_flash_attn": true,
55
+ "use_rms_norm": false,
56
+ "use_xentropy": true,
57
+ "vocab_size": 30528
58
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.47.0.dev0",
5
+ "pytorch": "2.5.1+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:690bbcf71d905adf900c3b1fba2934b77f3c925b6203629f2307f7b8357f3beb
3
+ size 546938168
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,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
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 8192,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff