Jazielinho commited on
Commit
060dac5
1 Parent(s): 43c8e0e

Add SetFit model

Browse files
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
+ }
README.md ADDED
@@ -0,0 +1,746 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: setfit
3
+ tags:
4
+ - setfit
5
+ - sentence-transformers
6
+ - text-classification
7
+ - generated_from_setfit_trainer
8
+ base_model: sentence-transformers/paraphrase-MiniLM-L6-v2
9
+ metrics:
10
+ - accuracy
11
+ widget:
12
+ - text: What fabric has a comfortable feel and is suitable for people with sensitive
13
+ skin?
14
+ - text: What is the most recommended fabric for making outerwear that requires a blend
15
+ of comfort and resilience?
16
+ - text: What fabric has a fluid drape and is ideal for creating lightweight summer
17
+ dresses?
18
+ - text: Which fabric is best for creating versatile clothing items like casual shirts,
19
+ blouses, and dresses in a periwinkle blue hue?
20
+ - text: What kind of fabric is suitable for making form-fitting activewear like yoga
21
+ pants and t-shirts?
22
+ pipeline_tag: text-classification
23
+ inference: true
24
+ model-index:
25
+ - name: SetFit with sentence-transformers/paraphrase-MiniLM-L6-v2
26
+ results:
27
+ - task:
28
+ type: text-classification
29
+ name: Text Classification
30
+ dataset:
31
+ name: Unknown
32
+ type: unknown
33
+ split: test
34
+ metrics:
35
+ - type: accuracy
36
+ value: 0.3462566844919786
37
+ name: Accuracy
38
+ ---
39
+
40
+ # SetFit with sentence-transformers/paraphrase-MiniLM-L6-v2
41
+
42
+ This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/paraphrase-MiniLM-L6-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.
43
+
44
+ The model has been trained using an efficient few-shot learning technique that involves:
45
+
46
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
47
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
48
+
49
+ ## Model Details
50
+
51
+ ### Model Description
52
+ - **Model Type:** SetFit
53
+ - **Sentence Transformer body:** [sentence-transformers/paraphrase-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/paraphrase-MiniLM-L6-v2)
54
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
55
+ - **Maximum Sequence Length:** 128 tokens
56
+ - **Number of Classes:** 75 classes
57
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
58
+ <!-- - **Language:** Unknown -->
59
+ <!-- - **License:** Unknown -->
60
+
61
+ ### Model Sources
62
+
63
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
64
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
65
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
66
+
67
+ ### Model Labels
68
+ | Label | Examples |
69
+ |:------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
70
+ | 9 | <ul><li>'What type of fabric is recommended for creating comfortable clothing that is resistant to wear and tear?'</li><li>'What type of fabric is best for creating garments with slight nubs and variations for a natural look?'</li><li>'Where can I buy durable cotton fabric in deep olive green for everyday wear?'</li></ul> |
71
+ | 43 | <ul><li>'What is a tightly woven fabric suitable for lightweight jackets and formal trousers?'</li><li>'What fabric is not ideal for garments requiring significant stretch or drape, such as knitwear or flowy dresses?'</li><li>'Which textile is best for garments that need a subtle texture and medium weight?'</li></ul> |
72
+ | 66 | <ul><li>'Searching for a dark gray textile with a soft texture and fine weave pattern suitable for making skirts and dresses.'</li><li>'What fabric type is recommended for making garments that need to maintain their shape while being comfortable and adaptable for different styles?'</li><li>'Which fabric is suitable for making clothes that maintain their shape but also provide comfort and flexibility?'</li></ul> |
73
+ | 22 | <ul><li>'What fabric has a raised texture and tight weave for garments that require strength and longevity?'</li><li>'What fabric is recommended for garments that require both comfort and resilience?'</li><li>'What is the best fabric for creating outerwear with a medium weight and good body?'</li></ul> |
74
+ | 5 | <ul><li>'What kind of textile is suitable for crafting lightweight summer dresses with a fluid drape and hint of elasticity?'</li><li>'What type of textile and weave is consistent with an interlocking loop structure and stretchable properties?'</li><li>'What fabric can I use to make soft loungewear that has a luxurious feel and good performance in apparel?'</li></ul> |
75
+ | 52 | <ul><li>'What fabric has moisture-wicking properties for sporty summer wear?'</li><li>'Where to find textiles suitable for people with sensitive skin for comfortable wear?'</li><li>'What are the best fabrics for moisture-wicking properties in sporty or casual summer wear?'</li></ul> |
76
+ | 67 | <ul><li>'What fabric is recommended for making durable clothing with a smooth, consistent grain?'</li><li>'Which fabric has a solid color resembling taupe and a moderate saturation?'</li><li>'What kind of textile is good for creating garments with a soft drape and gentle folds?'</li></ul> |
77
+ | 32 | <ul><li>'What fabric is best suited for creating clothing with a fine gauge knit and a smooth flow for ease of movement?'</li><li>'What fabric is ideal for making form-fitting leggings and sports tops with good stretch and flexibility?'</li><li>'What type of fabric is recommended for crafting garments with a consistent dark gray hue and a slight sheen on the surface?'</li></ul> |
78
+ | 53 | <ul><li>'Where can I find a high-quality textile ideal for making athletic wear with stretchability?'</li><li>'What textile is perfect for making garments that require both structure and elasticity?'</li><li>'Which fabric is ideal for creating athletic wear with strong saturation and even color distribution?'</li></ul> |
79
+ | 16 | <ul><li>'What fabric has a textured surface with visible loops and a cozy hand feel?'</li><li>'What fabric is best for making durable garments that have a mottled black, white, and gray appearance?'</li><li>'What type of fabric displays a mottled grayscale coloration with a melange effect?'</li></ul> |
80
+ | 4 | <ul><li>'Which fabric has a fine knit weave, smooth texture, and a slight sheen?'</li><li>'What is the most suitable fabric for creating clothing items for individuals with sensitive skin?'</li><li>'What fabric can I use for creating lightweight and breathable summer tops with a soft texture?'</li></ul> |
81
+ | 65 | <ul><li>'What type of fabric is this deep blue twill textile with a slight rough texture and medium-weight suitable for?'</li><li>'What fabric would be suitable for making comfortable and form-fitting jeans?'</li><li>'What type of fabric is ideal for making durable and form-fitting jeans?'</li></ul> |
82
+ | 55 | <ul><li>'What is the composition of the knit fabric with a fluid drape and some stretch?'</li><li>'What fabric would be best for making form-fitting dresses that require some stretch and elasticity?'</li><li>'What fabric is suitable for form-fitting clothing like t-shirts, leggings, and dresses?'</li></ul> |
83
+ | 12 | <ul><li>'Which textile is suitable for garments that need a delicate fall and a matte finish?'</li><li>'What fabric is recommended for creating linings in apparel due to its lightness and versatility?'</li><li>'What is a versatile fabric option for making shirts that are both comfortable and durable?'</li></ul> |
84
+ | 71 | <ul><li>'Which textile exhibits a striped pattern achieved through yarn dyeing for a sharp contrast?'</li><li>'What type of cotton fabric has a smooth texture and is suitable for making summer dresses?'</li><li>'Which fabric is suitable for making casual shirting with a soft hand feel and fluid drape?'</li></ul> |
85
+ | 25 | <ul><li>'What material is floppy with some flexibility but not significant stretch?'</li><li>'Which fabric is better for utility wear rather than structured silhouettes?'</li><li>'What textile has small colorful fibers and lacks a traditional woven or knitted structure?'</li></ul> |
86
+ | 6 | <ul><li>'What fabric is suitable for casual wear and layering in various climates with a subtle sheen and clean surface?'</li><li>'What fabric can I use to make moisture-wicking clothing suitable for people with sensitive skin and a versatile look?'</li><li>'What fabric can I use to create garments that have a neat finish and attention to detail in the textile processing?'</li></ul> |
87
+ | 20 | <ul><li>'What fabric is versatile for multi-seasonal use, durable, and maintains its shape over time?'</li><li>'What fabric is recommended for making leggings and casual wear with a balanced drape and consistent coloring?'</li><li>'Where can I find a fabric suitable for multi-seasonal use with a consistent hue and soft hand texture?'</li></ul> |
88
+ | 10 | <ul><li>'What type of cotton fabric is ideal for making casual shirts and trousers?'</li><li>'Which fabric has a soft drape and medium weight for making versatile garments?'</li><li>'What type of fabric is ideal for making versatile garments with good movement and flow?'</li></ul> |
89
+ | 0 | <ul><li>'Which fabric has a clean appearance with a subtle sheen from bamboo fibers?'</li><li>'Which fabric is ideal for making garments that need to maintain their shape but have some stretch?'</li><li>'What fabric is recommended for making garments with a clean and even black color without significant variations or patterns?'</li></ul> |
90
+ | 42 | <ul><li>'What fabric is suitable for making versatile dresses with a fluid drape and stretchy feel?'</li><li>'What type of knit fabric is recommended for creating garments that require a fluid drape and some degree of elasticity?'</li><li>'Where can I find a vibrant red fabric with high saturation for making eye-catching garments?'</li></ul> |
91
+ | 57 | <ul><li>'What type of fabric is light grey with a cool undertone and has a soft, fluid drape?'</li><li>'What material is best for making comfortable and durable clothing suitable for regular wear?'</li><li>'Which fabric offers a combination of comfort, durability, and stretch for versatile garment applications?'</li></ul> |
92
+ | 36 | <ul><li>'What fabric can I use to make comfortable and flexible activewear?'</li><li>'What type of fabric is best for making lightweight sweaters with a smooth texture?'</li><li>'What type of textile is best for making layering pieces for cooler climates?'</li></ul> |
93
+ | 37 | <ul><li>'What textile is smooth with fine threads and a gentle drape?'</li><li>'What is the best fabric for creating breathable and comfortable dresses for warm weather?'</li><li>'What type of fabric is best for creating lightweight blouses with a soft drape?'</li></ul> |
94
+ | 58 | <ul><li>"Which textile is lightweight and breathable, suitable for children's wear with a green and blue floral design?"</li><li>'Ideal textile for t-shirts that require a degree of stretchability'</li><li>'Which fabric is recommended for creating garments with moisture-wicking properties and a vibrant color palette?'</li></ul> |
95
+ | 56 | <ul><li>'What type of fabric is this medium grey textile with a smooth drape and slight stretch?'</li><li>'What is the best fabric for making light sweaters that are durable and long-lasting?'</li><li>'What type of fabric is ideal for making everyday wear garments with a smooth texture and solid color?'</li></ul> |
96
+ | 17 | <ul><li>'What fabric is textured with fine loops and suitable for creating garments that require some structural qualities?'</li><li>'What fabric exhibits a brushed or fleeced finish and would be perfect for crafting cozy winter clothing?'</li><li>'What fabric is recommended for fall and winter activewear due to its warmth and comfort?'</li></ul> |
97
+ | 72 | <ul><li>'What is a versatile cotton fabric with fine to medium thread count, perfect for creating breathable garments for warm climates?'</li><li>'What fabric is ideal for making blouses and dresses with a simple, unadorned aesthetic?'</li><li>'What fabric is suitable for creating durable and versatile garments without unique finishes?'</li></ul> |
98
+ | 54 | <ul><li>'Looking for a fabric suitable for making lightweight jackets with a soft drape.'</li><li>'What type of fabric is commonly used in t-shirts for a comfortable and breathable feel?'</li><li>'What kind of textile weave is ideal for crafting casual t-shirts with some stretchability?'</li></ul> |
99
+ | 59 | <ul><li>'Where can I find a knit fabric with a slightly textured surface and fine, soft feel that is comfortable for casual wear?'</li><li>'What fabric is versatile and comfortable for casual wear?'</li><li>'What knit fabric is ideal for making dresses that require a bit of stretch and versatility in styling?'</li></ul> |
100
+ | 60 | <ul><li>'What fabric would be suitable for making t-shirts that conform well to body shapes and have vibrant hues?'</li><li>'Where can I find a jersey knit fabric with a smooth texture and fine knit structure suitable for t-shirts?'</li><li>'What type of fabric is this deep purple floral patterned material made of?'</li></ul> |
101
+ | 1 | <ul><li>'What is the best fabric for making clothing with moisture-wicking properties?'</li><li>'What type of fabric would be recommended for creating structured garments that also offer stretch and flexibility?'</li><li>'What is the best fabric for making clothing with moisture-wicking properties?'</li></ul> |
102
+ | 47 | <ul><li>'What type of textile is ideal for making spring and summer leggings with a smooth texture and stretchability?'</li><li>'Which fabric is lightweight and ideal for creating leggings that maintain their shape and offer flexibility?'</li><li>'What fabric composition is suitable for creating lightweight jackets that allow for movement and breathability?'</li></ul> |
103
+ | 28 | <ul><li>'What fabric is suitable for making blouses, dresses, skirts, and lightweight jackets?'</li><li>'What fabric with a smooth surface and medium weight is suitable for structured garments?'</li><li>'What fabric is durable and likely to maintain its color and shape well?'</li></ul> |
104
+ | 13 | <ul><li>'Which fabric is recommended for casual loungewear that needs to be both comfortable and resilient?'</li><li>'What is the best fabric blend for making soft and durable lightweight sweaters?'</li><li>'What type of fabric offers a good balance between performance and aesthetics for everyday wear?'</li></ul> |
105
+ | 26 | <ul><li>'What fabric has a plain weave pattern, smooth surface, and fine thread count with a slight sheen?'</li><li>'Is there a fabric with moderate strength and a smooth finish ideal for creating garments with soft silhouettes?'</li><li>'What fabric is 100% Rayon, lightweight, and ideal for creating garments with soft silhouettes?'</li></ul> |
106
+ | 15 | <ul><li>'What knit fabric would be suitable for making cozy apparel with warmth without excessive bulk?'</li><li>'Which fabric is best for creating casual wear with an understated aesthetic and versatile appeal?'</li><li>'What type of fabric is characterized by a melange of earthy tones with a heathered effect?'</li></ul> |
107
+ | 50 | <ul><li>'Where can I find a vibrant blue fabric with consistent dye saturation for t-shirts and activewear?'</li><li>'What fabric is best for creating clothing with a consistent, even dye and some stretchability for comfort and durability?'</li><li>'Where can I find a knit fabric with vibrant blue color and a smooth, fine texture?'</li></ul> |
108
+ | 24 | <ul><li>'What type of polyester fabric offers a comfortable fit with a moderate drape for daily wear?'</li><li>'What fabric has a textured surface and slight elasticity for comfortable fit?'</li><li>'What type of textile is recommended for garments that require consistent saturation and evenness in color?'</li></ul> |
109
+ | 29 | <ul><li>'Which fabric is ideal for creating garments that can withstand regular wear and maintain their texture over time?'</li><li>'What type of fabric has a consistent grey hue with a subtle mottled appearance?'</li><li>'What polyester textile has a micro crinkle texture and fine threads?'</li></ul> |
110
+ | 44 | <ul><li>'What knit textile is suitable for creating casual dresses with a fluid drape and soft texture?'</li><li>"I'm searching for a jersey knit fabric with durable, wrinkle-resistant properties for everyday wear, do you have any options?"</li><li>'What type of knit fabric is recommended for everyday apparel due to its comfort and ease of movement?'</li></ul> |
111
+ | 38 | <ul><li>'What fabric is best for creating blouses with a clean and crisp appearance?'</li><li>'What type of fabric provides a combination of durability and practicality for everyday wear garments?'</li><li>"I'm looking for a fabric with a clean and crisp appearance that is durable and easy to care for, any suggestions?"</li></ul> |
112
+ | 23 | <ul><li>'What fabric is appropriate for garments that require a hint of texture in the surface?'</li><li>'What type of fabric is suitable for creating structured jackets and trousers with a professional look?'</li><li>'What fabric is suitable for making medium-weight garments with a hint of roughness in texture?'</li></ul> |
113
+ | 45 | <ul><li>'Interested in a fabric with stretch and recovery for making garments that require some elasticity and resilience?'</li><li>'Which fabric is recommended for creating durable clothing suitable for people with sensitive skin, featuring a smooth texture and vibrant blue color with white dots?'</li><li>'What fabric is recommended for making polka dot clothing with a smooth surface and vibrant color?'</li></ul> |
114
+ | 31 | <ul><li>'What type of knit textile is recommended for creating layering pieces in solid, dark colors?'</li><li>'What is a versatile fabric for creating garments with a matte finish and uniform color?'</li><li>'Which fabric is suitable for activewear, leggings, and fitted tops due to its stretchability?'</li></ul> |
115
+ | 19 | <ul><li>"What type of fabric is ideal for making playful children's wear with a vibrant speckled pattern?"</li><li>'Which fabric is suitable for crafting garments that can hide wear and minor soiling due to its unique speckled pattern?'</li><li>'What fabric offers good recovery and fit due to elastane content?'</li></ul> |
116
+ | 11 | <ul><li>'What is a medium weight textile with a soft drape for creating versatile garments?'</li><li>'What fabric is lightweight and breathable, perfect for making soft summer blouses?'</li><li>'Which fabric is suitable for making soft and comfortable shirts and blouses with a consistent light blue hue?'</li></ul> |
117
+ | 73 | <ul><li>'What type of fabric is suitable for apparel that requires both form and function?'</li><li>'Best fabric for creating statement pieces with a pop of color using a twill weave texture?'</li><li>'Which fabric has a slightly textured surface with medium fineness threads, ideal for structured garments?'</li></ul> |
118
+ | 64 | <ul><li>'What fabric would be best for making pants that maintain their shape while offering flexibility?'</li><li>'What fabric blend offers both comfort and durability for creating long-lasting clothing?'</li><li>'Which fabric is known for its simple yet durable qualities with no unique finishes?'</li></ul> |
119
+ | 35 | <ul><li>'What type of fabric is recommended for creating breathable and comfortable clothing for warm weather?'</li><li>'What fabric would be suitable for making lightweight sweaters with a ribbed texture and soft hand?'</li><li>'What type of fabric is best for making form-fitting t-shirts with a fluid drape?'</li></ul> |
120
+ | 21 | <ul><li>'What fabric blend offers durability and slight stretchability for structured yet comfortable dresses?'</li><li>'What fabric is durable yet versatile for various garment constructions?'</li><li>'What type of cloth is versatile for various seasons due to its weight and composition?'</li></ul> |
121
+ | 74 | <ul><li>'Need medium weight cotton fabric for creating casual shirts with a balanced color scheme?'</li><li>'Looking for plain weave cotton fabric with a fine thread count and even color distribution?'</li><li>'Which textile is versatile for various seasons like spring and summer due to its lightness?'</li></ul> |
122
+ | 3 | <ul><li>'Looking for a fabric for casual apparel applications in mild to warm climates with consistent dyeing?'</li><li>'Which fabric blend is recommended for creating apparel with both breathability and a gentle flow?'</li><li>'Where can I purchase a bamboo-spandex blend fabric suitable for all-season clothing with moisture-wicking properties?'</li></ul> |
123
+ | 8 | <ul><li>'What type of fabric is ideal for creating form-fitting tops with a fluid drape?'</li><li>'What fabric composition combines bamboo and Pret fibers for eco-friendly benefits?'</li><li>'What fabric can I use to make elegant and comfortable cardigans with stretch properties?'</li></ul> |
124
+ | 18 | <ul><li>'What fabric is recommended for making lightweight garments with a smooth flow and gentle folds?'</li><li>'What type of knit fabric is ideal for creating dresses with moderate stretchability?'</li><li>'What textile composition includes elastane and bamboo for stretchability and comfort in casual apparel?'</li></ul> |
125
+ | 49 | <ul><li>'What is the ideal textile for crafting activewear with moderate weight and stretch?'</li><li>'Where can I find a jersey knit textile with a soft texture and fine fibers for casual wear?'</li><li>'What is the recommended material for making activewear that allows for ease of movement?'</li></ul> |
126
+ | 27 | <ul><li>'What is the recommended fabric for creating spring and summer wear with a focus on breathability?'</li><li>'Which textile is recommended for creating blouses, skirts, and other apparel due to its natural sheen and uniform texture?'</li><li>'What type of fabric has a consistent coloration and high level of saturation for apparel applications?'</li></ul> |
127
+ | 63 | <ul><li>'Which fabric has a plain weave construction and a fine thread count for a smooth texture?'</li><li>'What fabric is durable and versatile for everyday wear?'</li><li>'What fabric can be used to make form-fitting clothing like dresses, thanks to its stretchability?'</li></ul> |
128
+ | 61 | <ul><li>'What fabric can I use to make casual dresses with a smooth texture and a lightweight feel?'</li><li>'What is a fabric with a tight structure and smooth drape ideal for making casual summer outfits?'</li><li>'What type of fabric is lightweight, breathable, and suitable for layering in variable climates?'</li></ul> |
129
+ | 34 | <ul><li>'What fabric is a periwinkle blue color with medium saturation and no visible defects?'</li><li>'What fabric has a soft and smooth texture with fine threads and a knit pattern?'</li><li>'Searching for a fabric that is durable, breathable, and suitable for people with sensitive skin, any options?'</li></ul> |
130
+ | 30 | <ul><li>'Are there any fabrics with a simple weave pattern that offer stretchability for semi-fitted garments?'</li><li>'What is the best fabric for creating garments with a good balance of structure and elasticity?'</li><li>'What fabric is suitable for creating garments that require good stretchability and resilience?'</li></ul> |
131
+ | 7 | <ul><li>'What type of fabric is commonly used in casual wear, loungewear, and active wear due to its durability and performance?'</li><li>'What type of fabric is suitable for creating comfortable loungewear and lightweight sweaters with a fine, smooth texture and good fabric care?'</li><li>'What is the best fabric for making active wear that offers breathability and performance?'</li></ul> |
132
+ | 14 | <ul><li>'What material provides a fluid drape and enough structure for t-shirts and lounge pants?'</li><li>'What fabric should I choose for producing clothing with good colorfastness and ease of care in a polyester composition?'</li><li>'What is the best material for creating casual dresses with a medium weight drape and a mix of darker and lighter grey tones?'</li></ul> |
133
+ | 48 | <ul><li>'What is the best fabric for making comfortable and stretchy t-shirts with a casual aesthetic?'</li><li>'Where can I buy a knit fabric that is versatile in styling and functional qualities for a range of clothing?'</li><li>'What type of fabric is durable and suitable for everyday wear with a casual aesthetic?'</li></ul> |
134
+ | 2 | <ul><li>'Which fabric contains bamboo and Spandex for creating comfortable casual dresses?'</li><li>'What fabric has a fluid drape and slight elasticity, suitable for summer dresses?'</li><li>'What is the recommended fabric for creating draped garments like dresses or tunics?'</li></ul> |
135
+ | 46 | <ul><li>'Which fabric is ideal for creating lightweight sweaters with a comfortable and breathable feel?'</li><li>'What type of fabric is ideal for making casual t-shirts with a vibrant striped pattern?'</li><li>'What is the recommended textile for making versatile garments that can be layered in cooler climates?'</li></ul> |
136
+ | 51 | <ul><li>'What knit fabric is versatile for use in various seasons and holds its shape well?'</li><li>'What type of fabric is recommended for creating casual tops with a gentle, soft drape?'</li><li>'What fabric is suitable for making lightweight and comfortable casual tops for everyday wear?'</li></ul> |
137
+ | 39 | <ul><li>'What fabric would be recommended for making moisture-wicking blouses suitable for warm climates?'</li><li>'What fabric would be apt for creating garments that require a fine, even weave structure?'</li><li>'What is a suitable fabric for creating drapery in light jackets with a slight sheen?'</li></ul> |
138
+ | 70 | <ul><li>'What type of cotton fabric is ideal for making shirts and blouses with a soft drape?'</li><li>'What textile has a slightly textured surface with a fine yet distinct weave?'</li><li>'Which cotton fabric is versatile and suitable for both menswear and womenswear?'</li></ul> |
139
+ | 68 | <ul><li>'Which fabric is breathable and soft to the touch, suitable for creating comfortable dresses?'</li><li>'Which fabric is recommended for making year-round garments with high color saturation?'</li><li>'What fabric can be used for making shirts, pants, and dresses that require a smooth drape and a hint of elasticity?'</li></ul> |
140
+ | 40 | <ul><li>'Which fabric is ideal for creating spring and summer collections with a soft touch and lightweight feel?'</li><li>'What textile is known for its easy care and durability in garment construction?'</li><li>'What type of fabric is best suited for creating blouses with a flowing drape and smooth texture?'</li></ul> |
141
+ | 69 | <ul><li>'Which fabric is durable, resilient, and has a slight give due to the Spandex content?'</li><li>'What fabric has a consistent charcoal gray hue with a matte finish and a twill weave pattern?'</li><li>'What fabric is recommended for making form-fitting jackets that are both durable and breathable?'</li></ul> |
142
+ | 33 | <ul><li>'What fabric would be suitable for creating draped skirts with a smooth surface and stretchability?'</li><li>'What is the best textile for creating draped skirts with a subtle iridescence?'</li><li>'Searching for a fabric with a smooth texture and slight shimmer effect for draped skirts?'</li></ul> |
143
+ | 41 | <ul><li>'What fabric has a soft drape and gentle folds, making it perfect for creating flowy and comfortable spring and summer dresses?'</li><li>'What type of knit fabric offers good resistance to wrinkles and shrinkage for practical everyday wear?'</li><li>'Searching for a polyester knit fabric with a consistent hue and saturation for making versatile and adaptable garments.'</li></ul> |
144
+ | 62 | <ul><li>'Which fabric is versatile and suitable for creating durable garments for everyday wear?'</li><li>'What fabric is suitable for making casual wear like t-shirts, dresses, and tops?'</li><li>'What fabric is known for its stable weave with a small percentage of elastane for comfort and durability?'</li></ul> |
145
+
146
+ ## Evaluation
147
+
148
+ ### Metrics
149
+ | Label | Accuracy |
150
+ |:--------|:---------|
151
+ | **all** | 0.3463 |
152
+
153
+ ## Uses
154
+
155
+ ### Direct Use for Inference
156
+
157
+ First install the SetFit library:
158
+
159
+ ```bash
160
+ pip install setfit
161
+ ```
162
+
163
+ Then you can load this model and run inference.
164
+
165
+ ```python
166
+ from setfit import SetFitModel
167
+
168
+ # Download from the 🤗 Hub
169
+ model = SetFitModel.from_pretrained("Jazielinho/fabric_model")
170
+ # Run inference
171
+ preds = model("What fabric has a comfortable feel and is suitable for people with sensitive skin?")
172
+ ```
173
+
174
+ <!--
175
+ ### Downstream Use
176
+
177
+ *List how someone could finetune this model on their own dataset.*
178
+ -->
179
+
180
+ <!--
181
+ ### Out-of-Scope Use
182
+
183
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
184
+ -->
185
+
186
+ <!--
187
+ ## Bias, Risks and Limitations
188
+
189
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
190
+ -->
191
+
192
+ <!--
193
+ ### Recommendations
194
+
195
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
196
+ -->
197
+
198
+ ## Training Details
199
+
200
+ ### Training Set Metrics
201
+ | Training set | Min | Median | Max |
202
+ |:-------------|:----|:--------|:----|
203
+ | Word count | 7 | 15.4858 | 30 |
204
+
205
+ | Label | Training Sample Count |
206
+ |:------|:----------------------|
207
+ | 0 | 39 |
208
+ | 1 | 40 |
209
+ | 2 | 41 |
210
+ | 3 | 32 |
211
+ | 4 | 37 |
212
+ | 5 | 33 |
213
+ | 6 | 36 |
214
+ | 7 | 40 |
215
+ | 8 | 30 |
216
+ | 9 | 36 |
217
+ | 10 | 42 |
218
+ | 11 | 38 |
219
+ | 12 | 39 |
220
+ | 13 | 43 |
221
+ | 14 | 41 |
222
+ | 15 | 41 |
223
+ | 16 | 35 |
224
+ | 17 | 42 |
225
+ | 18 | 40 |
226
+ | 19 | 43 |
227
+ | 20 | 44 |
228
+ | 21 | 36 |
229
+ | 22 | 37 |
230
+ | 23 | 40 |
231
+ | 24 | 44 |
232
+ | 25 | 42 |
233
+ | 26 | 41 |
234
+ | 27 | 38 |
235
+ | 28 | 41 |
236
+ | 29 | 46 |
237
+ | 30 | 41 |
238
+ | 31 | 38 |
239
+ | 32 | 40 |
240
+ | 33 | 39 |
241
+ | 34 | 41 |
242
+ | 35 | 44 |
243
+ | 36 | 45 |
244
+ | 37 | 40 |
245
+ | 38 | 37 |
246
+ | 39 | 44 |
247
+ | 40 | 39 |
248
+ | 41 | 42 |
249
+ | 42 | 36 |
250
+ | 43 | 43 |
251
+ | 44 | 42 |
252
+ | 45 | 37 |
253
+ | 46 | 41 |
254
+ | 47 | 44 |
255
+ | 48 | 36 |
256
+ | 49 | 40 |
257
+ | 50 | 43 |
258
+ | 51 | 44 |
259
+ | 52 | 39 |
260
+ | 53 | 38 |
261
+ | 54 | 38 |
262
+ | 55 | 43 |
263
+ | 56 | 41 |
264
+ | 57 | 44 |
265
+ | 58 | 40 |
266
+ | 59 | 41 |
267
+ | 60 | 35 |
268
+ | 61 | 43 |
269
+ | 62 | 41 |
270
+ | 63 | 43 |
271
+ | 64 | 37 |
272
+ | 65 | 41 |
273
+ | 66 | 36 |
274
+ | 67 | 38 |
275
+ | 68 | 42 |
276
+ | 69 | 41 |
277
+ | 70 | 39 |
278
+ | 71 | 43 |
279
+ | 72 | 34 |
280
+ | 73 | 40 |
281
+ | 74 | 41 |
282
+
283
+ ### Training Hyperparameters
284
+ - batch_size: (256, 256)
285
+ - num_epochs: (20, 20)
286
+ - max_steps: -1
287
+ - sampling_strategy: undersampling
288
+ - body_learning_rate: (2e-05, 1e-05)
289
+ - head_learning_rate: 0.01
290
+ - loss: CosineSimilarityLoss
291
+ - distance_metric: cosine_distance
292
+ - margin: 0.25
293
+ - end_to_end: False
294
+ - use_amp: False
295
+ - warmup_proportion: 0.1
296
+ - seed: 42
297
+ - eval_max_steps: -1
298
+ - load_best_model_at_end: True
299
+
300
+ ### Training Results
301
+ | Epoch | Step | Training Loss | Validation Loss |
302
+ |:-------:|:-------:|:-------------:|:---------------:|
303
+ | 0.0000 | 1 | 0.2732 | - |
304
+ | 0.0015 | 50 | 0.2545 | - |
305
+ | 0.0029 | 100 | 0.2538 | - |
306
+ | 0.0044 | 150 | 0.2633 | - |
307
+ | 0.0058 | 200 | 0.2598 | - |
308
+ | 0.0073 | 250 | 0.2624 | - |
309
+ | 0.0087 | 300 | 0.2537 | - |
310
+ | 0.0102 | 350 | 0.2592 | - |
311
+ | 0.0116 | 400 | 0.2475 | - |
312
+ | 0.0131 | 450 | 0.2483 | - |
313
+ | 0.0145 | 500 | 0.2418 | - |
314
+ | 0.0160 | 550 | 0.2403 | - |
315
+ | 0.0174 | 600 | 0.2386 | - |
316
+ | 0.0189 | 650 | 0.2542 | - |
317
+ | 0.0203 | 700 | 0.237 | - |
318
+ | 0.0218 | 750 | 0.2423 | - |
319
+ | 0.0232 | 800 | 0.2421 | - |
320
+ | 0.0247 | 850 | 0.2409 | - |
321
+ | 0.0261 | 900 | 0.2453 | - |
322
+ | 0.0276 | 950 | 0.2404 | - |
323
+ | 0.0290 | 1000 | 0.2418 | - |
324
+ | 0.0305 | 1050 | 0.2454 | - |
325
+ | 0.0319 | 1100 | 0.2446 | - |
326
+ | 0.0001 | 1 | 0.2471 | - |
327
+ | 0.0058 | 50 | 0.2375 | - |
328
+ | 0.0116 | 100 | 0.2351 | - |
329
+ | 0.0174 | 150 | 0.2406 | - |
330
+ | 0.0232 | 200 | 0.2382 | - |
331
+ | 0.0290 | 250 | 0.2374 | - |
332
+ | 0.0000 | 1 | 0.2515 | - |
333
+ | 0.0007 | 50 | 0.2335 | - |
334
+ | 0.0015 | 100 | 0.229 | - |
335
+ | 0.0022 | 150 | 0.2387 | - |
336
+ | 0.0029 | 200 | 0.2209 | - |
337
+ | 0.0036 | 250 | 0.2367 | - |
338
+ | 0.0044 | 300 | 0.2521 | - |
339
+ | 0.0051 | 350 | 0.239 | - |
340
+ | 0.0058 | 400 | 0.2405 | - |
341
+ | 0.0065 | 450 | 0.2541 | - |
342
+ | 0.0073 | 500 | 0.2308 | - |
343
+ | 0.0080 | 550 | 0.2381 | - |
344
+ | 0.0087 | 600 | 0.2456 | - |
345
+ | 0.0094 | 650 | 0.2301 | - |
346
+ | 0.0102 | 700 | 0.2486 | - |
347
+ | 0.0109 | 750 | 0.2243 | - |
348
+ | 0.0116 | 800 | 0.2399 | - |
349
+ | 0.0123 | 850 | 0.2341 | - |
350
+ | 0.0131 | 900 | 0.2417 | - |
351
+ | 0.0138 | 950 | 0.215 | - |
352
+ | 0.0145 | 1000 | 0.2264 | - |
353
+ | 0.0152 | 1050 | 0.2161 | - |
354
+ | 0.0160 | 1100 | 0.2273 | - |
355
+ | 0.0167 | 1150 | 0.2345 | - |
356
+ | 0.0174 | 1200 | 0.2302 | - |
357
+ | 0.0181 | 1250 | 0.2337 | - |
358
+ | 0.0189 | 1300 | 0.2278 | - |
359
+ | 0.0196 | 1350 | 0.2345 | - |
360
+ | 0.0203 | 1400 | 0.2323 | - |
361
+ | 0.0210 | 1450 | 0.2371 | - |
362
+ | 0.0218 | 1500 | 0.2217 | - |
363
+ | 0.0225 | 1550 | 0.2282 | - |
364
+ | 0.0232 | 1600 | 0.224 | - |
365
+ | 0.0239 | 1650 | 0.2346 | - |
366
+ | 0.0247 | 1700 | 0.2087 | - |
367
+ | 0.0254 | 1750 | 0.2299 | - |
368
+ | 0.0261 | 1800 | 0.2154 | - |
369
+ | 0.0268 | 1850 | 0.2108 | - |
370
+ | 0.0276 | 1900 | 0.216 | - |
371
+ | 0.0283 | 1950 | 0.2128 | - |
372
+ | 0.0290 | 2000 | 0.2083 | - |
373
+ | 0.0297 | 2050 | 0.2053 | - |
374
+ | 0.0305 | 2100 | 0.2265 | - |
375
+ | 0.0312 | 2150 | 0.2245 | - |
376
+ | 0.0319 | 2200 | 0.2036 | - |
377
+ | 0.0326 | 2250 | 0.2192 | - |
378
+ | 0.0334 | 2300 | 0.2259 | - |
379
+ | 0.0341 | 2350 | 0.2038 | - |
380
+ | 0.0348 | 2400 | 0.2129 | - |
381
+ | 0.0355 | 2450 | 0.2029 | - |
382
+ | 0.0363 | 2500 | 0.1883 | - |
383
+ | 0.0370 | 2550 | 0.187 | - |
384
+ | 0.0377 | 2600 | 0.2083 | - |
385
+ | 0.0384 | 2650 | 0.2138 | - |
386
+ | 0.0392 | 2700 | 0.2057 | - |
387
+ | 0.0399 | 2750 | 0.2134 | - |
388
+ | 0.0406 | 2800 | 0.2008 | - |
389
+ | 0.0413 | 2850 | 0.2018 | - |
390
+ | 0.0421 | 2900 | 0.2226 | - |
391
+ | 0.0428 | 2950 | 0.1815 | - |
392
+ | 0.0435 | 3000 | 0.1943 | - |
393
+ | 0.0442 | 3050 | 0.1926 | - |
394
+ | 0.0450 | 3100 | 0.1877 | - |
395
+ | 0.0457 | 3150 | 0.1764 | - |
396
+ | 0.0464 | 3200 | 0.2021 | - |
397
+ | 0.0471 | 3250 | 0.2071 | - |
398
+ | 0.0479 | 3300 | 0.1832 | - |
399
+ | 0.0486 | 3350 | 0.1714 | - |
400
+ | 0.0493 | 3400 | 0.1914 | - |
401
+ | 0.0500 | 3450 | 0.1749 | - |
402
+ | 0.0508 | 3500 | 0.1752 | - |
403
+ | 0.0515 | 3550 | 0.1829 | - |
404
+ | 0.0522 | 3600 | 0.175 | - |
405
+ | 0.0529 | 3650 | 0.1752 | - |
406
+ | 0.0537 | 3700 | 0.1973 | - |
407
+ | 0.0544 | 3750 | 0.1866 | - |
408
+ | 0.0551 | 3800 | 0.156 | - |
409
+ | 0.0558 | 3850 | 0.1923 | - |
410
+ | 0.0566 | 3900 | 0.1683 | - |
411
+ | 0.0573 | 3950 | 0.1642 | - |
412
+ | 0.0580 | 4000 | 0.1705 | - |
413
+ | 0.0587 | 4050 | 0.174 | - |
414
+ | 0.0595 | 4100 | 0.1609 | - |
415
+ | 0.0602 | 4150 | 0.17 | - |
416
+ | 0.0609 | 4200 | 0.1843 | - |
417
+ | 0.0616 | 4250 | 0.1855 | - |
418
+ | 0.0624 | 4300 | 0.1385 | - |
419
+ | 0.0631 | 4350 | 0.1765 | - |
420
+ | 0.0638 | 4400 | 0.1873 | - |
421
+ | 0.0645 | 4450 | 0.1654 | - |
422
+ | 0.0653 | 4500 | 0.1912 | - |
423
+ | 0.0660 | 4550 | 0.1533 | - |
424
+ | 0.0667 | 4600 | 0.1759 | - |
425
+ | 0.0674 | 4650 | 0.154 | - |
426
+ | 0.0682 | 4700 | 0.147 | - |
427
+ | 0.0689 | 4750 | 0.161 | - |
428
+ | 0.0696 | 4800 | 0.1603 | - |
429
+ | 0.0703 | 4850 | 0.1529 | - |
430
+ | 0.0711 | 4900 | 0.1538 | - |
431
+ | 0.0718 | 4950 | 0.1487 | - |
432
+ | 0.0725 | 5000 | 0.1593 | - |
433
+ | 0.0732 | 5050 | 0.1491 | - |
434
+ | 0.0740 | 5100 | 0.1389 | - |
435
+ | 0.0747 | 5150 | 0.1132 | - |
436
+ | 0.0754 | 5200 | 0.1622 | - |
437
+ | 0.0761 | 5250 | 0.1628 | - |
438
+ | 0.0769 | 5300 | 0.1598 | - |
439
+ | 0.0776 | 5350 | 0.1362 | - |
440
+ | 0.0783 | 5400 | 0.1637 | - |
441
+ | 0.0790 | 5450 | 0.1352 | - |
442
+ | 0.0798 | 5500 | 0.1523 | - |
443
+ | 0.0805 | 5550 | 0.1604 | - |
444
+ | 0.0812 | 5600 | 0.1534 | - |
445
+ | 0.0819 | 5650 | 0.1206 | - |
446
+ | 0.0827 | 5700 | 0.1331 | - |
447
+ | 0.0834 | 5750 | 0.1449 | - |
448
+ | 0.0841 | 5800 | 0.1376 | - |
449
+ | 0.0848 | 5850 | 0.1293 | - |
450
+ | 0.0856 | 5900 | 0.1258 | - |
451
+ | 0.0863 | 5950 | 0.1391 | - |
452
+ | 0.0870 | 6000 | 0.1678 | - |
453
+ | 0.0877 | 6050 | 0.1439 | - |
454
+ | 0.0885 | 6100 | 0.1329 | - |
455
+ | 0.0892 | 6150 | 0.1416 | - |
456
+ | 0.0899 | 6200 | 0.126 | - |
457
+ | 0.0906 | 6250 | 0.1072 | - |
458
+ | 0.0914 | 6300 | 0.1314 | - |
459
+ | 0.0921 | 6350 | 0.1282 | - |
460
+ | 0.0928 | 6400 | 0.1418 | - |
461
+ | 0.0935 | 6450 | 0.1418 | - |
462
+ | 0.0943 | 6500 | 0.1126 | - |
463
+ | 0.0950 | 6550 | 0.1118 | - |
464
+ | 0.0957 | 6600 | 0.1437 | - |
465
+ | 0.0964 | 6650 | 0.1265 | - |
466
+ | 0.0972 | 6700 | 0.1203 | - |
467
+ | 0.0979 | 6750 | 0.1267 | - |
468
+ | 0.0986 | 6800 | 0.11 | - |
469
+ | 0.0993 | 6850 | 0.1273 | - |
470
+ | 0.1001 | 6900 | 0.1253 | - |
471
+ | 0.1008 | 6950 | 0.1145 | - |
472
+ | 0.1015 | 7000 | 0.1054 | - |
473
+ | 0.1022 | 7050 | 0.1311 | - |
474
+ | 0.1030 | 7100 | 0.1238 | - |
475
+ | 0.1037 | 7150 | 0.0951 | - |
476
+ | 0.1044 | 7200 | 0.1187 | - |
477
+ | 0.1051 | 7250 | 0.1114 | - |
478
+ | 0.1059 | 7300 | 0.1038 | - |
479
+ | 0.1066 | 7350 | 0.1048 | - |
480
+ | 0.1073 | 7400 | 0.0965 | - |
481
+ | 0.1080 | 7450 | 0.1006 | - |
482
+ | 0.1088 | 7500 | 0.1273 | - |
483
+ | 0.1095 | 7550 | 0.12 | - |
484
+ | 0.1102 | 7600 | 0.1055 | - |
485
+ | 0.0001 | 1 | 0.1192 | - |
486
+ | 0.0029 | 50 | 0.1128 | - |
487
+ | 0.0057 | 100 | 0.0981 | - |
488
+ | 0.0021 | 1 | 0.1188 | - |
489
+ | 0.1040 | 50 | 0.1121 | - |
490
+ | 0.0021 | 1 | 0.1172 | - |
491
+ | 0.1040 | 50 | 0.1109 | - |
492
+ | 0.2079 | 100 | 0.0965 | - |
493
+ | 0.3119 | 150 | 0.1013 | - |
494
+ | 0.4158 | 200 | 0.1157 | - |
495
+ | 0.5198 | 250 | 0.1093 | - |
496
+ | 0.6237 | 300 | 0.1029 | - |
497
+ | 0.7277 | 350 | 0.0904 | - |
498
+ | 0.8316 | 400 | 0.1084 | - |
499
+ | 0.9356 | 450 | 0.1127 | - |
500
+ | **1.0** | **481** | **-** | **0.1883** |
501
+ | 1.0395 | 500 | 0.0853 | - |
502
+ | 1.1435 | 550 | 0.0907 | - |
503
+ | 1.2474 | 600 | 0.0814 | - |
504
+ | 1.3514 | 650 | 0.0967 | - |
505
+ | 1.4553 | 700 | 0.118 | - |
506
+ | 1.5593 | 750 | 0.0841 | - |
507
+ | 1.6632 | 800 | 0.0992 | - |
508
+ | 1.7672 | 850 | 0.0965 | - |
509
+ | 1.8711 | 900 | 0.092 | - |
510
+ | 1.9751 | 950 | 0.109 | - |
511
+ | 2.0 | 962 | - | 0.193 |
512
+ | 2.0790 | 1000 | 0.0847 | - |
513
+ | 2.1830 | 1050 | 0.0864 | - |
514
+ | 2.2869 | 1100 | 0.0843 | - |
515
+ | 2.3909 | 1150 | 0.0792 | - |
516
+ | 2.4948 | 1200 | 0.0808 | - |
517
+ | 2.5988 | 1250 | 0.0913 | - |
518
+ | 2.7027 | 1300 | 0.0848 | - |
519
+ | 2.8067 | 1350 | 0.0889 | - |
520
+ | 2.9106 | 1400 | 0.0673 | - |
521
+ | 3.0 | 1443 | - | 0.1983 |
522
+ | 3.0146 | 1450 | 0.0671 | - |
523
+ | 3.1185 | 1500 | 0.0643 | - |
524
+ | 3.2225 | 1550 | 0.0649 | - |
525
+ | 3.3264 | 1600 | 0.0827 | - |
526
+ | 3.4304 | 1650 | 0.0752 | - |
527
+ | 3.5343 | 1700 | 0.0785 | - |
528
+ | 3.6383 | 1750 | 0.0629 | - |
529
+ | 3.7422 | 1800 | 0.0726 | - |
530
+ | 3.8462 | 1850 | 0.0672 | - |
531
+ | 3.9501 | 1900 | 0.0704 | - |
532
+ | 4.0 | 1924 | - | 0.2015 |
533
+ | 4.0541 | 1950 | 0.0812 | - |
534
+ | 4.1580 | 2000 | 0.0709 | - |
535
+ | 4.2620 | 2050 | 0.0866 | - |
536
+ | 4.3659 | 2100 | 0.0747 | - |
537
+ | 4.4699 | 2150 | 0.0554 | - |
538
+ | 4.5738 | 2200 | 0.0636 | - |
539
+ | 4.6778 | 2250 | 0.0655 | - |
540
+ | 4.7817 | 2300 | 0.0562 | - |
541
+ | 4.8857 | 2350 | 0.0531 | - |
542
+ | 4.9896 | 2400 | 0.0518 | - |
543
+ | 5.0 | 2405 | - | 0.2056 |
544
+ | 5.0936 | 2450 | 0.0808 | - |
545
+ | 5.1975 | 2500 | 0.0571 | - |
546
+ | 5.3015 | 2550 | 0.066 | - |
547
+ | 5.4054 | 2600 | 0.071 | - |
548
+ | 5.5094 | 2650 | 0.0507 | - |
549
+ | 5.6133 | 2700 | 0.0603 | - |
550
+ | 5.7173 | 2750 | 0.0548 | - |
551
+ | 5.8212 | 2800 | 0.0714 | - |
552
+ | 5.9252 | 2850 | 0.0532 | - |
553
+ | 6.0 | 2886 | - | 0.208 |
554
+ | 6.0291 | 2900 | 0.0581 | - |
555
+ | 6.1331 | 2950 | 0.0663 | - |
556
+ | 6.2370 | 3000 | 0.0717 | - |
557
+ | 6.3410 | 3050 | 0.0549 | - |
558
+ | 6.4449 | 3100 | 0.0611 | - |
559
+ | 6.5489 | 3150 | 0.0515 | - |
560
+ | 6.6528 | 3200 | 0.0546 | - |
561
+ | 6.7568 | 3250 | 0.0406 | - |
562
+ | 6.8607 | 3300 | 0.0582 | - |
563
+ | 6.9647 | 3350 | 0.0565 | - |
564
+ | 7.0 | 3367 | - | 0.2176 |
565
+ | 7.0686 | 3400 | 0.0737 | - |
566
+ | 7.1726 | 3450 | 0.0554 | - |
567
+ | 7.2765 | 3500 | 0.0462 | - |
568
+ | 7.3805 | 3550 | 0.051 | - |
569
+ | 7.4844 | 3600 | 0.0441 | - |
570
+ | 7.5884 | 3650 | 0.0503 | - |
571
+ | 7.6923 | 3700 | 0.0531 | - |
572
+ | 7.7963 | 3750 | 0.0464 | - |
573
+ | 7.9002 | 3800 | 0.0443 | - |
574
+ | 8.0 | 3848 | - | 0.2234 |
575
+ | 8.0042 | 3850 | 0.0376 | - |
576
+ | 8.1081 | 3900 | 0.0542 | - |
577
+ | 8.2121 | 3950 | 0.0453 | - |
578
+ | 8.3160 | 4000 | 0.0448 | - |
579
+ | 8.4200 | 4050 | 0.0535 | - |
580
+ | 8.5239 | 4100 | 0.0645 | - |
581
+ | 8.6279 | 4150 | 0.0451 | - |
582
+ | 8.7318 | 4200 | 0.0472 | - |
583
+ | 8.8358 | 4250 | 0.0477 | - |
584
+ | 8.9397 | 4300 | 0.0327 | - |
585
+ | 9.0 | 4329 | - | 0.2272 |
586
+ | 9.0437 | 4350 | 0.0346 | - |
587
+ | 9.1476 | 4400 | 0.0435 | - |
588
+ | 9.2516 | 4450 | 0.0479 | - |
589
+ | 9.3555 | 4500 | 0.0508 | - |
590
+ | 9.4595 | 4550 | 0.0535 | - |
591
+ | 9.5634 | 4600 | 0.0631 | - |
592
+ | 9.6674 | 4650 | 0.0286 | - |
593
+ | 9.7713 | 4700 | 0.0564 | - |
594
+ | 9.8753 | 4750 | 0.0349 | - |
595
+ | 9.9792 | 4800 | 0.0487 | - |
596
+ | 10.0 | 4810 | - | 0.2288 |
597
+ | 10.0832 | 4850 | 0.0317 | - |
598
+ | 10.1871 | 4900 | 0.0546 | - |
599
+ | 10.2911 | 4950 | 0.0353 | - |
600
+ | 10.3950 | 5000 | 0.0437 | - |
601
+ | 10.4990 | 5050 | 0.056 | - |
602
+ | 10.6029 | 5100 | 0.0353 | - |
603
+ | 10.7069 | 5150 | 0.0304 | - |
604
+ | 10.8108 | 5200 | 0.0358 | - |
605
+ | 10.9148 | 5250 | 0.0481 | - |
606
+ | 11.0 | 5291 | - | 0.2282 |
607
+ | 11.0187 | 5300 | 0.0318 | - |
608
+ | 11.1227 | 5350 | 0.0373 | - |
609
+ | 11.2266 | 5400 | 0.0305 | - |
610
+ | 11.3306 | 5450 | 0.0443 | - |
611
+ | 11.4345 | 5500 | 0.0383 | - |
612
+ | 11.5385 | 5550 | 0.0425 | - |
613
+ | 11.6424 | 5600 | 0.039 | - |
614
+ | 11.7464 | 5650 | 0.0443 | - |
615
+ | 11.8503 | 5700 | 0.0503 | - |
616
+ | 11.9543 | 5750 | 0.0553 | - |
617
+ | 12.0 | 5772 | - | 0.2342 |
618
+ | 12.0582 | 5800 | 0.0362 | - |
619
+ | 12.1622 | 5850 | 0.0509 | - |
620
+ | 12.2661 | 5900 | 0.0337 | - |
621
+ | 12.3701 | 5950 | 0.0436 | - |
622
+ | 12.4740 | 6000 | 0.0462 | - |
623
+ | 12.5780 | 6050 | 0.034 | - |
624
+ | 12.6819 | 6100 | 0.0334 | - |
625
+ | 12.7859 | 6150 | 0.0365 | - |
626
+ | 12.8898 | 6200 | 0.047 | - |
627
+ | 12.9938 | 6250 | 0.0489 | - |
628
+ | 13.0 | 6253 | - | 0.2317 |
629
+ | 13.0977 | 6300 | 0.035 | - |
630
+ | 13.2017 | 6350 | 0.0412 | - |
631
+ | 13.3056 | 6400 | 0.0358 | - |
632
+ | 13.4096 | 6450 | 0.0366 | - |
633
+ | 13.5135 | 6500 | 0.0473 | - |
634
+ | 13.6175 | 6550 | 0.0481 | - |
635
+ | 13.7214 | 6600 | 0.0443 | - |
636
+ | 13.8254 | 6650 | 0.0454 | - |
637
+ | 13.9293 | 6700 | 0.0344 | - |
638
+ | 14.0 | 6734 | - | 0.2304 |
639
+ | 14.0333 | 6750 | 0.0327 | - |
640
+ | 14.1372 | 6800 | 0.0386 | - |
641
+ | 14.2412 | 6850 | 0.0503 | - |
642
+ | 14.3451 | 6900 | 0.0236 | - |
643
+ | 14.4491 | 6950 | 0.042 | - |
644
+ | 14.5530 | 7000 | 0.0405 | - |
645
+ | 14.6570 | 7050 | 0.0339 | - |
646
+ | 14.7609 | 7100 | 0.0435 | - |
647
+ | 14.8649 | 7150 | 0.0314 | - |
648
+ | 14.9688 | 7200 | 0.0263 | - |
649
+ | 15.0 | 7215 | - | 0.234 |
650
+ | 15.0728 | 7250 | 0.0369 | - |
651
+ | 15.1767 | 7300 | 0.0329 | - |
652
+ | 15.2807 | 7350 | 0.0366 | - |
653
+ | 15.3846 | 7400 | 0.0401 | - |
654
+ | 15.4886 | 7450 | 0.0321 | - |
655
+ | 15.5925 | 7500 | 0.0571 | - |
656
+ | 15.6965 | 7550 | 0.0353 | - |
657
+ | 15.8004 | 7600 | 0.0381 | - |
658
+ | 15.9044 | 7650 | 0.0347 | - |
659
+ | 16.0 | 7696 | - | 0.2334 |
660
+ | 16.0083 | 7700 | 0.0341 | - |
661
+ | 16.1123 | 7750 | 0.0276 | - |
662
+ | 16.2162 | 7800 | 0.0555 | - |
663
+ | 16.3202 | 7850 | 0.0338 | - |
664
+ | 16.4241 | 7900 | 0.0227 | - |
665
+ | 16.5281 | 7950 | 0.0256 | - |
666
+ | 16.6320 | 8000 | 0.0356 | - |
667
+ | 16.7360 | 8050 | 0.0413 | - |
668
+ | 16.8399 | 8100 | 0.032 | - |
669
+ | 16.9439 | 8150 | 0.0329 | - |
670
+ | 17.0 | 8177 | - | 0.2356 |
671
+ | 17.0478 | 8200 | 0.0382 | - |
672
+ | 17.1518 | 8250 | 0.0434 | - |
673
+ | 17.2557 | 8300 | 0.0411 | - |
674
+ | 17.3597 | 8350 | 0.0329 | - |
675
+ | 17.4636 | 8400 | 0.0388 | - |
676
+ | 17.5676 | 8450 | 0.0384 | - |
677
+ | 17.6715 | 8500 | 0.0306 | - |
678
+ | 17.7755 | 8550 | 0.0185 | - |
679
+ | 17.8794 | 8600 | 0.0357 | - |
680
+ | 17.9834 | 8650 | 0.0349 | - |
681
+ | 18.0 | 8658 | - | 0.2368 |
682
+ | 18.0873 | 8700 | 0.0515 | - |
683
+ | 18.1913 | 8750 | 0.0326 | - |
684
+ | 18.2952 | 8800 | 0.0367 | - |
685
+ | 18.3992 | 8850 | 0.0241 | - |
686
+ | 18.5031 | 8900 | 0.0313 | - |
687
+ | 18.6071 | 8950 | 0.0275 | - |
688
+ | 18.7110 | 9000 | 0.0378 | - |
689
+ | 18.8150 | 9050 | 0.0401 | - |
690
+ | 18.9189 | 9100 | 0.0285 | - |
691
+ | 19.0 | 9139 | - | 0.2347 |
692
+ | 19.0229 | 9150 | 0.0309 | - |
693
+ | 19.1268 | 9200 | 0.035 | - |
694
+ | 19.2308 | 9250 | 0.0415 | - |
695
+ | 19.3347 | 9300 | 0.0301 | - |
696
+ | 19.4387 | 9350 | 0.0293 | - |
697
+ | 19.5426 | 9400 | 0.0323 | - |
698
+ | 19.6466 | 9450 | 0.0342 | - |
699
+ | 19.7505 | 9500 | 0.0205 | - |
700
+ | 19.8545 | 9550 | 0.0331 | - |
701
+ | 19.9584 | 9600 | 0.0226 | - |
702
+ | 20.0 | 9620 | - | 0.237 |
703
+
704
+ * The bold row denotes the saved checkpoint.
705
+ ### Framework Versions
706
+ - Python: 3.10.12
707
+ - SetFit: 1.0.3
708
+ - Sentence Transformers: 2.7.0
709
+ - Transformers: 4.40.1
710
+ - PyTorch: 2.2.1+cu121
711
+ - Datasets: 2.19.0
712
+ - Tokenizers: 0.19.1
713
+
714
+ ## Citation
715
+
716
+ ### BibTeX
717
+ ```bibtex
718
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
719
+ doi = {10.48550/ARXIV.2209.11055},
720
+ url = {https://arxiv.org/abs/2209.11055},
721
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
722
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
723
+ title = {Efficient Few-Shot Learning Without Prompts},
724
+ publisher = {arXiv},
725
+ year = {2022},
726
+ copyright = {Creative Commons Attribution 4.0 International}
727
+ }
728
+ ```
729
+
730
+ <!--
731
+ ## Glossary
732
+
733
+ *Clearly define terms in order to be accessible across audiences.*
734
+ -->
735
+
736
+ <!--
737
+ ## Model Card Authors
738
+
739
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
740
+ -->
741
+
742
+ <!--
743
+ ## Model Card Contact
744
+
745
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
746
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "checkpoints/step_481",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
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
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.40.1",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "2.0.0",
4
+ "transformers": "4.7.0",
5
+ "pytorch": "1.9.0+cu102"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null
9
+ }
config_setfit.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "normalize_embeddings": false,
3
+ "labels": null
4
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82be067dfc7a32f6bb68da9be80ffc51440ac93766c0e9ac05f37a58bc797a39
3
+ size 90864192
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:101514c57ab8b3f4e2f6e8fbea195092467c04607c1f05cd94446432c2baf8c5
3
+ size 232447
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
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 128,
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,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff