Technologic101 commited on
Commit
9811848
·
verified ·
1 Parent(s): 8d701f1

Add fine-tuned embeddings

Browse files
fine_tuned_design_embeddings_20250225_161918/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
+ }
fine_tuned_design_embeddings_20250225_161918/README.md ADDED
@@ -0,0 +1,533 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:95
8
+ - loss:CosineSimilarityLoss
9
+ base_model: sentence-transformers/distilbert-base-nli-stsb-mean-tokens
10
+ widget:
11
+ - source_sentence: "Design 115:\n Description: The design utilizes a dramatic\
12
+ \ red and black color palette, creating a high contrast and visually striking\
13
+ \ interface that emphasizes boldness and clarity. The layout is structured with\
14
+ \ a central column for main content and a sidebar for navigation, enhancing usability.\
15
+ \ Typography is classic and easy to read, using white text for legibility against\
16
+ \ dark backgrounds. The design features subtle gradient backgrounds and occasional\
17
+ \ fiery imagery, contributing to a dynamic and modern aesthetic.\n \
18
+ \ Categories: Web Design, Minimalist, Modern, Typography\n Visual Characteristics:\
19
+ \ High Contrast, Central Column Layout, Bold Typography, Red and Black Palette,\
20
+ \ Gradient Background"
21
+ sentences:
22
+ - "Design 185:\n Description: The design features a bold contrast between\
23
+ \ a bright blue header and a predominantly black background, creating a modern\
24
+ \ and striking visual impact. The use of crisp typography in white enhances readability\
25
+ \ against the dark backdrop, while an accent of orange in a sidebar provides additional\
26
+ \ contrast and attention-grabbing potential. The layout follows a structured and\
27
+ \ logical arrangement, guiding the viewer's eye through a series of selectable\
28
+ \ design options and resource links, creating a user-friendly and engaging experience.\n\
29
+ \ Categories: Modern, Typography, Web Design, Classic, User Friendly\n\
30
+ \ Visual Characteristics: High Contrast, Bold Colors, Structured Layout,\
31
+ \ Readable Typography, Accent Highlights"
32
+ - "Design 002:\n Description: The design embodies a serene and focused\
33
+ \ aesthetic with a soft, warm color scheme and straightforward typography. A prominent\
34
+ \ header creates an inviting entry point, while the balanced layout effectively\
35
+ \ organizes the content. Subtle shadows and borders provide depth, enhancing visual\
36
+ \ appeal without overwhelming the viewer.\n Categories: Web Design,\
37
+ \ Minimalism, Typography, Navigation\n Visual Characteristics: Warm\
38
+ \ color palette, Minimalistic layout, Simplicity, Balanced whitespace"
39
+ - "Design 200:\n Description: The design features a vibrant blue color\
40
+ \ scheme complemented by white and black typography, creating a striking contrast.\
41
+ \ The use of textured borders and background effects adds depth and visual interest.\
42
+ \ The layout is organized, with distinct sections for text content that enhance\
43
+ \ readability. The design reflects a modern and clean aesthetic, offering a sense\
44
+ \ of technological advancement and innovation.\n Categories: Modern,\
45
+ \ Typography, Web Design, Colorful\n Visual Characteristics: Vibrant\
46
+ \ Color, Textured Background, High Contrast, Organized Layout"
47
+ - source_sentence: "Design 142:\n Description: The design effortlessly\
48
+ \ combines a dark, textured background with bold, contrasting typography, creating\
49
+ \ a visually striking and modern aesthetic. The use of minimalist elements and\
50
+ \ a focused color palette emphasizes the central text, while the overall layout\
51
+ \ feels balanced and sophisticated.\n Categories: Modern, Minimalist,\
52
+ \ Typography-focused, Dark theme\n Visual Characteristics: Textured\
53
+ \ background, Contrasting colors, Bold typography, Sophisticated layout"
54
+ sentences:
55
+ - "Design 106:\n Description: This design features a minimalist and retro\
56
+ \ aesthetic with a muted color palette predominantly composed of olive green and\
57
+ \ subtle contrasts. The layout utilizes clean, sans-serif typography and a straightforward\
58
+ \ column format to present information in a clear and organized manner. The overall\
59
+ \ style evokes a calm and contemplative mood, reminiscent of classic web designs,\
60
+ \ with an emphasis on simplicity and readability.\n Categories: Minimalism,\
61
+ \ Retro, Web Design, Typography, Information Design\n Visual Characteristics:\
62
+ \ Muted color palette, Clean typography, Column layout, Simple navigation, Classic\
63
+ \ aesthetic"
64
+ - "Design 009:\n Description: This design features a clean and organized\
65
+ \ layout with a classic monochrome color palette, emphasizing the elegance of\
66
+ \ CSS design. It uses serif typography for a traditional feel, with strong visual\
67
+ \ separation of sections, enhancing readability. The design incorporates ornamental\
68
+ \ graphics at the top and bottom, adding a touch of sophistication. The ample\
69
+ \ use of whitespace contributes to a serene and uncluttered experience, inviting\
70
+ \ users to engage with the content.\n Categories: Web Design, Typography,\
71
+ \ Minimalism, Ornamental Design, Monochrome\n Visual Characteristics:\
72
+ \ Serif Typography, Monochromatic Palette, Ornamental Graphics, Whitespace Usage,\
73
+ \ Classic Layout"
74
+ - "Design 184:\n Description: The design features a subtle and harmonious\
75
+ \ aesthetic using a pastel green color scheme that evokes tranquility and balance.\
76
+ \ The layout is clean and structured, with a mix of serif and sans-serif typography\
77
+ \ that enhances readability. Decorative elements like the zen-like symbol and\
78
+ \ soft imagery provide an abstract, soothing quality, contributing to the theme\
79
+ \ of enlightenment and calm. This design is suited for audiences interested in\
80
+ \ modern CSS design principles and invites exploration and participation.\n \
81
+ \ Categories: Minimalist, Modern, Educational, Web-focused\n \
82
+ \ Visual Characteristics: Subtle color palette, Sophisticated typography, Clean\
83
+ \ layout, Zen imagery, Textured background"
84
+ - source_sentence: "Design 122:\n Description: The design features a minimalist\
85
+ \ aesthetic with a dominant white space, paired with subtle green accents and\
86
+ \ a hint of red, creating a clean and sophisticated look. The layout is vertical\
87
+ \ and structured, highlighting content purposefully with ample spacing, making\
88
+ \ it easy to read and navigate. The typography is elegant, using a serif font\
89
+ \ for headings to contrast with a simpler body text, supporting a Zen-like theme\
90
+ \ that embodies simplicity and clarity.\n Categories: minimalist, sophisticated,\
91
+ \ text-focused, zen-inspired\n Visual Characteristics: vertical layout,\
92
+ \ white space, green and red accents, serif typography"
93
+ sentences:
94
+ - "Design 195:\n Description: The design exemplifies a clean and minimalistic\
95
+ \ style, highlighting simplicity and readability through a dominance of white\
96
+ \ space and light, pastel background textures. It integrates a single-column layout\
97
+ \ with a sidebar for easy navigation, using a consistent and harmonious color\
98
+ \ palette composed mainly of soft greens, oranges, and muted text colors to ensure\
99
+ \ a smooth visual experience.\n Categories: Minimalist, Web Design,\
100
+ \ Modern, Typography\n Visual Characteristics: Simple Layout, Light\
101
+ \ Color Palette, Ample White Space, Readable Typography"
102
+ - "Design 187:\n Description: The design features a mystical, nature-inspired\
103
+ \ theme with a rustic color palette of dark greens and earthy reds. Intricate\
104
+ \ textures and foliage imagery offer a sense of depth, complemented by elegant\
105
+ \ serif typography that conveys a classic and sophisticated mood. The layout uses\
106
+ \ clear sections for content, enhancing readability and user engagement.\n \
107
+ \ Categories: Nature, Mystical, Classic, Rustic, Elegant\n \
108
+ \ Visual Characteristics: Dark Green Palette, Earthy Red Accents, Serif Typography,\
109
+ \ Textured Background, Nature Imagery"
110
+ - "Design 162:\n Description: The design embodies a classic, elegant\
111
+ \ style with a warm color palette dominated by earthy tones, enhanced by an ornate\
112
+ \ decorative header image. It uses a narrow column layout that focuses attention\
113
+ \ on the textual content, which is complemented by a textured background, adding\
114
+ \ depth and sophistication. The typography combines bold headings with a serif\
115
+ \ font, lending an old-world charm that aligns with the historical and sophisticated\
116
+ \ mood.\n Categories: classic, elegant, historical, sophisticated,\
117
+ \ text-focused\n Visual Characteristics: earthy color palette, ornate\
118
+ \ header, textured background, serif typography, narrow column layout"
119
+ - source_sentence: "Design 137:\n Description: The design presents a sleek,\
120
+ \ unified aesthetic utilizing a blue monochromatic color palette, giving it a\
121
+ \ modern and tech-centric appeal. Clean, crisp typography paired with visually\
122
+ \ engaging graphics contribute to its overall appeal, while the structured layout\
123
+ \ effectively organizes content for easy navigation and readability.\n \
124
+ \ Categories: Modern, Tech, Minimalist, Corporate, Professional\n \
125
+ \ Visual Characteristics: Monochromatic color scheme, Structured layout, Modern\
126
+ \ typography, High contrast, Tech-inspired graphics"
127
+ sentences:
128
+ - "Design 184:\n Description: The design features a subtle and harmonious\
129
+ \ aesthetic using a pastel green color scheme that evokes tranquility and balance.\
130
+ \ The layout is clean and structured, with a mix of serif and sans-serif typography\
131
+ \ that enhances readability. Decorative elements like the zen-like symbol and\
132
+ \ soft imagery provide an abstract, soothing quality, contributing to the theme\
133
+ \ of enlightenment and calm. This design is suited for audiences interested in\
134
+ \ modern CSS design principles and invites exploration and participation.\n \
135
+ \ Categories: Minimalist, Modern, Educational, Web-focused\n \
136
+ \ Visual Characteristics: Subtle color palette, Sophisticated typography, Clean\
137
+ \ layout, Zen imagery, Textured background"
138
+ - "Design 175:\n Description: The design showcases a balanced layout\
139
+ \ with a minimalist aesthetic, focused on demonstrating the power of CSS-based\
140
+ \ design. It features a clean and organized structure with a dominant use of blues\
141
+ \ and whites, complemented by modern, sans-serif typography. Silhouetted figures\
142
+ \ add a visual interest while maintaining a professional tone, making the page\
143
+ \ feel sophisticated and informative. The layout is well-suited for showcasing\
144
+ \ text content effectively, facilitating easy navigation through clear hierarchy.\n\
145
+ \ Categories: Minimalist, Technology, Informational, Professional,\
146
+ \ Modern\n Visual Characteristics: Clean layout, Balanced color palette,\
147
+ \ Silhouette imagery, Sans-serif typography, Organized structure"
148
+ - "Design 009:\n Description: This design features a clean and organized\
149
+ \ layout with a classic monochrome color palette, emphasizing the elegance of\
150
+ \ CSS design. It uses serif typography for a traditional feel, with strong visual\
151
+ \ separation of sections, enhancing readability. The design incorporates ornamental\
152
+ \ graphics at the top and bottom, adding a touch of sophistication. The ample\
153
+ \ use of whitespace contributes to a serene and uncluttered experience, inviting\
154
+ \ users to engage with the content.\n Categories: Web Design, Typography,\
155
+ \ Minimalism, Ornamental Design, Monochrome\n Visual Characteristics:\
156
+ \ Serif Typography, Monochromatic Palette, Ornamental Graphics, Whitespace Usage,\
157
+ \ Classic Layout"
158
+ - source_sentence: "Design 170:\n Description: The design of the CSS Zen\
159
+ \ Garden is exemplary with its soothing blue tones, providing a calm and professional\
160
+ \ aesthetic. The heart icons add a touch of creativity and warmth. The layout\
161
+ \ is clean and well-structured with clear navigation on the right-hand side, providing\
162
+ \ users easy access to additional information and style sheets. The typography\
163
+ \ varies, highlighting key sections and maintaining readability throughout.\n\
164
+ \ Categories: Web Design, CSS Showcase, Typography, User Interface,\
165
+ \ Aesthetic\n Visual Characteristics: Soothing Color Palette, Structured\
166
+ \ Layout, Iconography, Hierarchical Typography, Calming Aesthetic"
167
+ sentences:
168
+ - "Design 122:\n Description: The design features a minimalist aesthetic\
169
+ \ with a dominant white space, paired with subtle green accents and a hint of\
170
+ \ red, creating a clean and sophisticated look. The layout is vertical and structured,\
171
+ \ highlighting content purposefully with ample spacing, making it easy to read\
172
+ \ and navigate. The typography is elegant, using a serif font for headings to\
173
+ \ contrast with a simpler body text, supporting a Zen-like theme that embodies\
174
+ \ simplicity and clarity.\n Categories: minimalist, sophisticated,\
175
+ \ text-focused, zen-inspired\n Visual Characteristics: vertical layout,\
176
+ \ white space, green and red accents, serif typography"
177
+ - "Design 194:\n Description: This design exudes a minimalist elegance\
178
+ \ with a muted, earthy color palette and a clean layout, embodying a sense of\
179
+ \ calm and sophistication. The subtle use of textures and classic serif typography\
180
+ \ enhances the refined aesthetic, while the centered alignment and generous spacing\
181
+ \ contribute to a relaxed readability. The incorporation of a delicate floral\
182
+ \ illustration adds a touch of organic charm, making the design feel both timeless\
183
+ \ and inviting.\n Categories: Minimalism, Elegant, Organic, Sophisticated,\
184
+ \ Classic\n Visual Characteristics: Muted Color Palette, Serif Typography,\
185
+ \ Centered Layout, Generous Spacing, Floral Illustration"
186
+ - "Design 143:\n Description: This design features a clean and structured\
187
+ \ layout with a monochromatic color scheme, highlighting text content with clear\
188
+ \ typographic hierarchy. A combination of minimalist aesthetic and functional\
189
+ \ design elements ensures readability and visual interest, while the central image\
190
+ \ adds a focal point. The use of borders and shadow effects provide depth to the\
191
+ \ overall design.\n Categories: Minimalism, Monochrome, Typography,\
192
+ \ Web Design, User Interface\n Visual Characteristics: Clear typographic\
193
+ \ hierarchy, Grid alignment, Monochromatic color scheme, Minimalist style, Use\
194
+ \ of borders, Shadow effects"
195
+ pipeline_tag: sentence-similarity
196
+ library_name: sentence-transformers
197
+ metrics:
198
+ - pearson_cosine
199
+ - spearman_cosine
200
+ model-index:
201
+ - name: SentenceTransformer based on sentence-transformers/distilbert-base-nli-stsb-mean-tokens
202
+ results:
203
+ - task:
204
+ type: semantic-similarity
205
+ name: Semantic Similarity
206
+ dataset:
207
+ name: Unknown
208
+ type: unknown
209
+ metrics:
210
+ - type: pearson_cosine
211
+ value: -0.13960523700017818
212
+ name: Pearson Cosine
213
+ - type: spearman_cosine
214
+ value: -0.06863870136546027
215
+ name: Spearman Cosine
216
+ ---
217
+
218
+ # SentenceTransformer based on sentence-transformers/distilbert-base-nli-stsb-mean-tokens
219
+
220
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/distilbert-base-nli-stsb-mean-tokens](https://huggingface.co/sentence-transformers/distilbert-base-nli-stsb-mean-tokens). 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.
221
+
222
+ ## Model Details
223
+
224
+ ### Model Description
225
+ - **Model Type:** Sentence Transformer
226
+ - **Base model:** [sentence-transformers/distilbert-base-nli-stsb-mean-tokens](https://huggingface.co/sentence-transformers/distilbert-base-nli-stsb-mean-tokens) <!-- at revision cb8a28f4e13e28fde6137942584fc8a4ec701060 -->
227
+ - **Maximum Sequence Length:** 128 tokens
228
+ - **Output Dimensionality:** 768 dimensions
229
+ - **Similarity Function:** Cosine Similarity
230
+ <!-- - **Training Dataset:** Unknown -->
231
+ <!-- - **Language:** Unknown -->
232
+ <!-- - **License:** Unknown -->
233
+
234
+ ### Model Sources
235
+
236
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
237
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
238
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
239
+
240
+ ### Full Model Architecture
241
+
242
+ ```
243
+ SentenceTransformer(
244
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: DistilBertModel
245
+ (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})
246
+ )
247
+ ```
248
+
249
+ ## Usage
250
+
251
+ ### Direct Usage (Sentence Transformers)
252
+
253
+ First install the Sentence Transformers library:
254
+
255
+ ```bash
256
+ pip install -U sentence-transformers
257
+ ```
258
+
259
+ Then you can load this model and run inference.
260
+ ```python
261
+ from sentence_transformers import SentenceTransformer
262
+
263
+ # Download from the 🤗 Hub
264
+ model = SentenceTransformer("sentence_transformers_model_id")
265
+ # Run inference
266
+ sentences = [
267
+ 'Design 170:\n Description: The design of the CSS Zen Garden is exemplary with its soothing blue tones, providing a calm and professional aesthetic. The heart icons add a touch of creativity and warmth. The layout is clean and well-structured with clear navigation on the right-hand side, providing users easy access to additional information and style sheets. The typography varies, highlighting key sections and maintaining readability throughout.\n Categories: Web Design, CSS Showcase, Typography, User Interface, Aesthetic\n Visual Characteristics: Soothing Color Palette, Structured Layout, Iconography, Hierarchical Typography, Calming Aesthetic',
268
+ 'Design 143:\n Description: This design features a clean and structured layout with a monochromatic color scheme, highlighting text content with clear typographic hierarchy. A combination of minimalist aesthetic and functional design elements ensures readability and visual interest, while the central image adds a focal point. The use of borders and shadow effects provide depth to the overall design.\n Categories: Minimalism, Monochrome, Typography, Web Design, User Interface\n Visual Characteristics: Clear typographic hierarchy, Grid alignment, Monochromatic color scheme, Minimalist style, Use of borders, Shadow effects',
269
+ 'Design 194:\n Description: This design exudes a minimalist elegance with a muted, earthy color palette and a clean layout, embodying a sense of calm and sophistication. The subtle use of textures and classic serif typography enhances the refined aesthetic, while the centered alignment and generous spacing contribute to a relaxed readability. The incorporation of a delicate floral illustration adds a touch of organic charm, making the design feel both timeless and inviting.\n Categories: Minimalism, Elegant, Organic, Sophisticated, Classic\n Visual Characteristics: Muted Color Palette, Serif Typography, Centered Layout, Generous Spacing, Floral Illustration',
270
+ ]
271
+ embeddings = model.encode(sentences)
272
+ print(embeddings.shape)
273
+ # [3, 768]
274
+
275
+ # Get the similarity scores for the embeddings
276
+ similarities = model.similarity(embeddings, embeddings)
277
+ print(similarities.shape)
278
+ # [3, 3]
279
+ ```
280
+
281
+ <!--
282
+ ### Direct Usage (Transformers)
283
+
284
+ <details><summary>Click to see the direct usage in Transformers</summary>
285
+
286
+ </details>
287
+ -->
288
+
289
+ <!--
290
+ ### Downstream Usage (Sentence Transformers)
291
+
292
+ You can finetune this model on your own dataset.
293
+
294
+ <details><summary>Click to expand</summary>
295
+
296
+ </details>
297
+ -->
298
+
299
+ <!--
300
+ ### Out-of-Scope Use
301
+
302
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
303
+ -->
304
+
305
+ ## Evaluation
306
+
307
+ ### Metrics
308
+
309
+ #### Semantic Similarity
310
+
311
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
312
+
313
+ | Metric | Value |
314
+ |:--------------------|:------------|
315
+ | pearson_cosine | -0.1396 |
316
+ | **spearman_cosine** | **-0.0686** |
317
+
318
+ <!--
319
+ ## Bias, Risks and Limitations
320
+
321
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
322
+ -->
323
+
324
+ <!--
325
+ ### Recommendations
326
+
327
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
328
+ -->
329
+
330
+ ## Training Details
331
+
332
+ ### Training Dataset
333
+
334
+ #### Unnamed Dataset
335
+
336
+ * Size: 95 training samples
337
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
338
+ * Approximate statistics based on the first 95 samples:
339
+ | | sentence_0 | sentence_1 | label |
340
+ |:--------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:----------------------------------------------------------------|
341
+ | type | string | string | float |
342
+ | details | <ul><li>min: 90 tokens</li><li>mean: 116.28 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 90 tokens</li><li>mean: 115.79 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 0.21</li><li>mean: 0.26</li><li>max: 0.5</li></ul> |
343
+ * Samples:
344
+ | sentence_0 | sentence_1 | label |
345
+ |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------|
346
+ | <code>Design 148:<br> Description: This visual design features a clean and minimalistic layout with an emphasis on typography and balanced spacing. The dark gray background contrasts with the white text elements, providing a modern and sophisticated look. The design also includes vertical lines and a sidebar to separate different sections, adding structure without cluttering the visual flow.<br> Categories: minimalism, typography, contrast, layout design, modern aesthetics<br> Visual Characteristics: high contrast, monochromatic palette, well-defined spacing, balanced composition, structured layout</code> | <code>Design 156:<br> Description: The design uses a bold, contrasting color palette dominated by red, black, and white, highlighting a silhouetted figure against a background with traditional Japanese elements. The typography is clear and has a balance between serif and sans-serif fonts, adding to the mix of modern and traditional aesthetics. The layout is clean, with sections distinctly separated by subtle gradients, providing a sense of order and cohesiveness. The overall tone is a blend of contemporary design with cultural nuances, making it both engaging and visually striking.<br> Categories: modern design, cultural elements, typography, minimalism, contrast<br> Visual Characteristics: bold color palette, silhouette, gradients, clean layout, traditional motifs</code> | <code>0.21428571428571427</code> |
347
+ | <code>Design 135:<br> Description: This design uses an elegant and traditional aesthetic, with a muted color palette featuring cream and terracotta tones. The use of a patterned background adds texture, while the vertical layout and serif typography provide a classic and sophisticated feel. The design balances text-heavy content with organized sections, making information easily accessible, and its ornate flourishes add a touch of refinement.<br> Categories: Traditional, Elegant, Text-Heavy, Classic<br> Visual Characteristics: Muted Color Palette, Vertical Layout, Serif Typography, Textured Background, Ornate Flourishes</code> | <code>Design 194:<br> Description: This design exudes a minimalist elegance with a muted, earthy color palette and a clean layout, embodying a sense of calm and sophistication. The subtle use of textures and classic serif typography enhances the refined aesthetic, while the centered alignment and generous spacing contribute to a relaxed readability. The incorporation of a delicate floral illustration adds a touch of organic charm, making the design feel both timeless and inviting.<br> Categories: Minimalism, Elegant, Organic, Sophisticated, Classic<br> Visual Characteristics: Muted Color Palette, Serif Typography, Centered Layout, Generous Spacing, Floral Illustration</code> | <code>0.26785714285714285</code> |
348
+ | <code>Design 130:<br> Description: The visual design features a clean and structured layout with a calming color palette of beige and blue, enhancing readability and ease of navigation. The use of different font styles for headings and body text provides a clear hierarchy, while the sidebar offers easy access to additional resources and options. This design exudes professionalism, making it suitable for educational or informational purposes.<br> Categories: Informational, Educational, Professional, Web Design, User Interface<br> Visual Characteristics: Calming color palette, Structured layout, Clear typography, Sidebar navigation, Minimalist design</code> | <code>Design 215:<br> Description: The CSS Zen Garden design showcases a clean, structured layout aimed at demonstrating the possibilities of CSS styling. It uses a primarily blue and white color palette with red accents to draw attention to headings and separators. The design incorporates a formal serif and a modern sans-serif typography, creating an elegant and readable interface. The use of graphical illustrations adds visual interest and helps convey the collaborative and creative theme. The overall aesthetic balance, combined with functional elements like navigation, ensures a clear and engaging user experience.<br> Categories: Typography, User Interface, Minimalist Design, Educational, Professional, Web Design<br> Visual Characteristics: Blue and White Palette, Elegant Typography, Illustrative Graphics, Clean Layout, Contrasting Accents, Symmetry</code> | <code>0.2857142857142857</code> |
349
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
350
+ ```json
351
+ {
352
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
353
+ }
354
+ ```
355
+
356
+ ### Training Hyperparameters
357
+ #### Non-Default Hyperparameters
358
+
359
+ - `per_device_train_batch_size`: 16
360
+ - `per_device_eval_batch_size`: 16
361
+ - `num_train_epochs`: 1
362
+ - `multi_dataset_batch_sampler`: round_robin
363
+
364
+ #### All Hyperparameters
365
+ <details><summary>Click to expand</summary>
366
+
367
+ - `overwrite_output_dir`: False
368
+ - `do_predict`: False
369
+ - `eval_strategy`: no
370
+ - `prediction_loss_only`: True
371
+ - `per_device_train_batch_size`: 16
372
+ - `per_device_eval_batch_size`: 16
373
+ - `per_gpu_train_batch_size`: None
374
+ - `per_gpu_eval_batch_size`: None
375
+ - `gradient_accumulation_steps`: 1
376
+ - `eval_accumulation_steps`: None
377
+ - `torch_empty_cache_steps`: None
378
+ - `learning_rate`: 5e-05
379
+ - `weight_decay`: 0.0
380
+ - `adam_beta1`: 0.9
381
+ - `adam_beta2`: 0.999
382
+ - `adam_epsilon`: 1e-08
383
+ - `max_grad_norm`: 1
384
+ - `num_train_epochs`: 1
385
+ - `max_steps`: -1
386
+ - `lr_scheduler_type`: linear
387
+ - `lr_scheduler_kwargs`: {}
388
+ - `warmup_ratio`: 0.0
389
+ - `warmup_steps`: 0
390
+ - `log_level`: passive
391
+ - `log_level_replica`: warning
392
+ - `log_on_each_node`: True
393
+ - `logging_nan_inf_filter`: True
394
+ - `save_safetensors`: True
395
+ - `save_on_each_node`: False
396
+ - `save_only_model`: False
397
+ - `restore_callback_states_from_checkpoint`: False
398
+ - `no_cuda`: False
399
+ - `use_cpu`: False
400
+ - `use_mps_device`: False
401
+ - `seed`: 42
402
+ - `data_seed`: None
403
+ - `jit_mode_eval`: False
404
+ - `use_ipex`: False
405
+ - `bf16`: False
406
+ - `fp16`: False
407
+ - `fp16_opt_level`: O1
408
+ - `half_precision_backend`: auto
409
+ - `bf16_full_eval`: False
410
+ - `fp16_full_eval`: False
411
+ - `tf32`: None
412
+ - `local_rank`: 0
413
+ - `ddp_backend`: None
414
+ - `tpu_num_cores`: None
415
+ - `tpu_metrics_debug`: False
416
+ - `debug`: []
417
+ - `dataloader_drop_last`: False
418
+ - `dataloader_num_workers`: 0
419
+ - `dataloader_prefetch_factor`: None
420
+ - `past_index`: -1
421
+ - `disable_tqdm`: False
422
+ - `remove_unused_columns`: True
423
+ - `label_names`: None
424
+ - `load_best_model_at_end`: False
425
+ - `ignore_data_skip`: False
426
+ - `fsdp`: []
427
+ - `fsdp_min_num_params`: 0
428
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
429
+ - `fsdp_transformer_layer_cls_to_wrap`: None
430
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
431
+ - `deepspeed`: None
432
+ - `label_smoothing_factor`: 0.0
433
+ - `optim`: adamw_torch
434
+ - `optim_args`: None
435
+ - `adafactor`: False
436
+ - `group_by_length`: False
437
+ - `length_column_name`: length
438
+ - `ddp_find_unused_parameters`: None
439
+ - `ddp_bucket_cap_mb`: None
440
+ - `ddp_broadcast_buffers`: False
441
+ - `dataloader_pin_memory`: True
442
+ - `dataloader_persistent_workers`: False
443
+ - `skip_memory_metrics`: True
444
+ - `use_legacy_prediction_loop`: False
445
+ - `push_to_hub`: False
446
+ - `resume_from_checkpoint`: None
447
+ - `hub_model_id`: None
448
+ - `hub_strategy`: every_save
449
+ - `hub_private_repo`: None
450
+ - `hub_always_push`: False
451
+ - `gradient_checkpointing`: False
452
+ - `gradient_checkpointing_kwargs`: None
453
+ - `include_inputs_for_metrics`: False
454
+ - `include_for_metrics`: []
455
+ - `eval_do_concat_batches`: True
456
+ - `fp16_backend`: auto
457
+ - `push_to_hub_model_id`: None
458
+ - `push_to_hub_organization`: None
459
+ - `mp_parameters`:
460
+ - `auto_find_batch_size`: False
461
+ - `full_determinism`: False
462
+ - `torchdynamo`: None
463
+ - `ray_scope`: last
464
+ - `ddp_timeout`: 1800
465
+ - `torch_compile`: False
466
+ - `torch_compile_backend`: None
467
+ - `torch_compile_mode`: None
468
+ - `dispatch_batches`: None
469
+ - `split_batches`: None
470
+ - `include_tokens_per_second`: False
471
+ - `include_num_input_tokens_seen`: False
472
+ - `neftune_noise_alpha`: None
473
+ - `optim_target_modules`: None
474
+ - `batch_eval_metrics`: False
475
+ - `eval_on_start`: False
476
+ - `use_liger_kernel`: False
477
+ - `eval_use_gather_object`: False
478
+ - `average_tokens_across_devices`: False
479
+ - `prompts`: None
480
+ - `batch_sampler`: batch_sampler
481
+ - `multi_dataset_batch_sampler`: round_robin
482
+
483
+ </details>
484
+
485
+ ### Training Logs
486
+ | Epoch | Step | spearman_cosine |
487
+ |:-----:|:----:|:---------------:|
488
+ | 1.0 | 6 | -0.0686 |
489
+
490
+
491
+ ### Framework Versions
492
+ - Python: 3.11.11
493
+ - Sentence Transformers: 3.4.1
494
+ - Transformers: 4.49.0
495
+ - PyTorch: 2.1.2
496
+ - Accelerate: 1.4.0
497
+ - Datasets: 3.3.2
498
+ - Tokenizers: 0.21.0
499
+
500
+ ## Citation
501
+
502
+ ### BibTeX
503
+
504
+ #### Sentence Transformers
505
+ ```bibtex
506
+ @inproceedings{reimers-2019-sentence-bert,
507
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
508
+ author = "Reimers, Nils and Gurevych, Iryna",
509
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
510
+ month = "11",
511
+ year = "2019",
512
+ publisher = "Association for Computational Linguistics",
513
+ url = "https://arxiv.org/abs/1908.10084",
514
+ }
515
+ ```
516
+
517
+ <!--
518
+ ## Glossary
519
+
520
+ *Clearly define terms in order to be accessible across audiences.*
521
+ -->
522
+
523
+ <!--
524
+ ## Model Card Authors
525
+
526
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
527
+ -->
528
+
529
+ <!--
530
+ ## Model Card Contact
531
+
532
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
533
+ -->
fine_tuned_design_embeddings_20250225_161918/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/distilbert-base-nli-stsb-mean-tokens",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertModel"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "initializer_range": 0.02,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
+ "pad_token_id": 0,
17
+ "qa_dropout": 0.1,
18
+ "seq_classif_dropout": 0.2,
19
+ "sinusoidal_pos_embds": false,
20
+ "tie_weights_": true,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.49.0",
23
+ "vocab_size": 30522
24
+ }
fine_tuned_design_embeddings_20250225_161918/config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.4.1",
4
+ "transformers": "4.49.0",
5
+ "pytorch": "2.1.2"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
fine_tuned_design_embeddings_20250225_161918/eval/similarity_evaluation_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine_pearson,cosine_spearman
2
+ 1.0,6,-0.13960523700017818,-0.06863870136546027
fine_tuned_design_embeddings_20250225_161918/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39ec682a5c7cb12b5c53b912275034e63b07e8bb785b3ec3eb0ea11e084542a9
3
+ size 265462608
fine_tuned_design_embeddings_20250225_161918/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
+ ]
fine_tuned_design_embeddings_20250225_161918/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 128,
3
+ "do_lower_case": false
4
+ }
fine_tuned_design_embeddings_20250225_161918/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
+ }
fine_tuned_design_embeddings_20250225_161918/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
fine_tuned_design_embeddings_20250225_161918/tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "full_tokenizer_file": null,
50
+ "mask_token": "[MASK]",
51
+ "model_max_length": 128,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "DistilBertTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
fine_tuned_design_embeddings_20250225_161918/vocab.txt ADDED
The diff for this file is too large to render. See raw diff