QuantaSparkLabs commited on
Commit
341608c
ยท
verified ยท
1 Parent(s): 907a01c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +243 -143
README.md CHANGED
@@ -10,7 +10,7 @@ tags:
10
  - email-classification
11
  - few-shot-learning
12
  - efficient
13
- - quanta-sparklabs
14
  pipeline_tag: text-classification
15
  library_name: setfit
16
  base_model: BAAI/bge-small-en-v1.5
@@ -20,59 +20,92 @@ datasets:
20
 
21
  <div align="center">
22
 
23
- <h1>โšก SetFit Banking Spam</h1>
24
 
25
- <p>
26
- <b>Small model. Fast training. Practical spam detection.</b>
27
- </p>
28
 
29
- <img src="https://img.shields.io/badge/Task-Spam%20Classification-ff0080?style=for-the-badge">
30
- <img src="https://img.shields.io/badge/Architecture-SetFit-7928CA?style=for-the-badge">
31
- <img src="https://img.shields.io/badge/Classes-2-ff0080?style=for-the-badge">
32
- <img src="https://img.shields.io/badge/License-Apache%202.0-7928CA?style=for-the-badge">
 
33
 
34
  <br><br>
35
 
36
- <sub>
37
- A lightweight few-shot spam classifier built with SetFit and BGE-small.
38
- </sub>
 
39
 
40
  </div>
41
 
42
  ---
43
 
44
- # ๐Ÿง  What Is This?
 
 
45
 
46
- **SetFit Banking Spam** is a lightweight text-classification model trained to distinguish between:
47
 
48
- * โœ‰๏ธ **Ham** โ€” legitimate messages
49
- * ๐Ÿšจ **Spam** โ€” unwanted or suspicious messages
50
 
51
- The model uses **SetFit** with `BAAI/bge-small-en-v1.5` as its sentence-transformer backbone.
52
 
53
- Instead of requiring a large supervised training set, the model was trained using a small number of examples from each class.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
  ---
56
 
57
- # โšก Model Overview
58
 
59
  <div align="center">
60
 
61
- | Property | Value |
62
- | :------------------ | :------------------------: |
63
- | Task | Spam Classification |
64
- | Classes | **2** |
65
- | Base Model | **BAAI/bge-small-en-v1.5** |
66
- | Framework | **SetFit** |
67
- | Dataset | **SetFit/enron_spam** |
68
- | Training Samples | **16** |
69
- | Samples / Class | **8** |
70
- | Epochs | **1** |
71
- | Iterations | **20** |
72
- | Batch Size | **16** |
73
- | Classification Head | Logistic Regression |
74
- | Training Style | Few-shot |
75
- | Language | English |
76
 
77
  </div>
78
 
@@ -80,82 +113,100 @@ Instead of requiring a large supervised training set, the model was trained usin
80
 
81
  # ๐Ÿ“Š Results
82
 
83
- The model achieved the following evaluation results in the training run:
84
 
85
- | Metric | Score |
86
- | :------- | --------: |
87
- | Accuracy | **91.4%** |
88
- | Macro F1 | **91.4%** |
89
 
90
- These results come from a small few-shot training setup and should not be interpreted as a benchmark against large spam-filtering systems.
91
 
92
- ---
93
 
94
- # ๐Ÿ”ฌ Training Recipe
 
 
 
95
 
96
- The model uses the SetFit approach:
 
 
 
 
 
 
97
 
98
  ```text
99
- Training Data
100
- โ”‚
101
- โ–ผ
102
- 16 labeled examples
103
- 8 spam + 8 ham
104
- โ”‚
105
- โ–ผ
106
- BAAI/bge-small-en-v1.5
107
- โ”‚
108
- โ–ผ
109
- SetFit contrastive training
110
- โ”‚
111
- โ–ผ
112
- Logistic Regression
113
- โ”‚
114
- โ–ผ
115
- Spam / Ham prediction
 
 
 
 
 
 
 
 
 
 
 
 
116
  ```
117
 
118
  ### Training configuration
119
 
120
- ```text
121
- Model: BAAI/bge-small-en-v1.5
122
- Dataset: SetFit/enron_spam
123
- Examples/class: 8
124
- Total examples: 16
125
- Epochs: 1
126
- Iterations: 20
127
- Batch size: 16
128
- Loss: CosineSimilarityLoss
129
- Head: Logistic Regression
130
- Seed: 42
 
 
 
 
 
 
 
 
131
  ```
132
 
133
  ---
134
 
135
- # ๐Ÿš€ Quick Start
136
-
137
- Install SetFit:
138
 
139
  ```bash
140
- pip install setfit
141
  ```
142
 
143
- Load the model:
144
-
145
  ```python
146
  from setfit import SetFitModel
147
 
148
  model = SetFitModel.from_pretrained(
149
- "QuantaSparkLabs/setfit-banking-spam"
150
  )
151
- ```
152
-
153
- Run classification:
154
 
155
- ```python
156
  text = """
157
  Congratulations! You have won $1,000,000.
158
- Click here to claim your prize.
159
  """
160
 
161
  prediction = model(text)
@@ -163,117 +214,166 @@ prediction = model(text)
163
  print(prediction)
164
  ```
165
 
166
- The model returns a class prediction corresponding to spam or legitimate mail.
 
 
 
 
167
 
168
  ---
169
 
170
- # ๐Ÿงช Example
171
 
172
- ### Input
173
 
174
  ```text
175
- Congratulations! You have won a $1.5 million
176
- lottery prize. Contact our international claims
177
- agent immediately to receive your money.
178
- ```
179
 
180
- ### Expected classification
 
 
 
181
 
182
  ```text
183
- SPAM
184
  ```
185
 
186
- Another example:
 
 
187
 
188
  ```text
189
- Please find attached the global markets monitor
190
- for the week ending 12 January 2001.
191
  ```
192
 
193
- This type of ordinary business correspondence is intended to be classified as legitimate mail.
 
 
194
 
195
  ---
196
 
197
- # ๐Ÿ› ๏ธ Why SetFit?
198
 
199
- SetFit is designed for **efficient few-shot text classification**.
200
 
201
- Instead of requiring thousands of manually labeled examples, this model demonstrates a much smaller training setup:
202
 
203
  ```text
204
- 16 labeled examples
205
- โ†“
206
- SetFit
207
- โ†“
208
- Spam classifier
 
 
 
 
 
 
 
 
209
  ```
210
 
211
- This makes the project useful as a compact experiment in:
212
 
213
- * Few-shot learning
214
- * Sentence embeddings
215
- * Text classification
216
- * Spam detection
217
- * Efficient model training
 
218
 
219
  ---
220
 
221
- # ๐Ÿ“ฆ Model Architecture
 
 
222
 
223
  ```text
224
- Input Text
225
- โ”‚
226
- โ–ผ
227
- BGE-small Sentence Transformer
228
- โ”‚
229
- โ–ผ
230
- Dense Embedding
231
- โ”‚
232
- โ–ผ
233
- Logistic Regression
234
- โ”‚
235
- โ”œโ”€โ”€ 0 โ†’ Ham
236
- โ””โ”€โ”€ 1 โ†’ Spam
 
 
 
 
 
 
 
 
237
  ```
238
 
239
- The sentence-transformer produces an embedding for the input text, while the classification head maps that representation to one of the two classes.
240
 
241
  ---
242
 
243
  # โš ๏ธ Limitations
244
 
245
- This is a **small experimental few-shot classifier**, not a production-grade email security system.
246
 
247
- Potential limitations include:
248
 
249
- * Limited training examples
250
- * Possible domain shift
251
- * Unusual or adversarial spam may be misclassified
252
- * Performance may differ significantly on datasets outside the Enron spam distribution
253
- * The reported evaluation result comes from a lightweight few-shot setup
254
 
255
- Do not use the model as the sole mechanism for security-critical email filtering.
256
 
257
  ---
258
 
259
- # ๐Ÿ“œ License
 
 
260
 
261
- Apache 2.0.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
 
263
- The model is released for research, experimentation, and practical text-classification projects.
264
 
265
  ---
266
 
267
  <div align="center">
268
 
269
- <h2>โšก Small Training. Real Model.</h2>
 
 
 
 
270
 
271
- <p>
272
- Built by <b>QuantaSparkLabs</b> as a compact experiment in efficient few-shot classification.
273
- </p>
 
 
 
274
 
275
- <sub>
276
- 16 examples โ†’ SetFit โ†’ Spam classifier
277
- </sub>
278
 
279
  </div>
 
10
  - email-classification
11
  - few-shot-learning
12
  - efficient
13
+ - tinymodels
14
  pipeline_tag: text-classification
15
  library_name: setfit
16
  base_model: BAAI/bge-small-en-v1.5
 
20
 
21
  <div align="center">
22
 
23
+ <img src="https://readme-typing-svg.demolab.com?font=JetBrains+Mono&size=30&duration=2500&pause=700&color=FF0080&center=true&vCenter=true&width=650&lines=%E2%9A%A1+TinyModels;SetFit+%C2%B7+Spam+Detection;16+Examples+%E2%86%92+Classifier;Small+Model.+Real+Task." alt="TinyModels animated header">
24
 
25
+ <br>
 
 
26
 
27
+ <img src="https://img.shields.io/badge/TinyModels-FF0080?style=for-the-badge&logoColor=white">
28
+ <img src="https://img.shields.io/badge/SetFit-7928CA?style=for-the-badge">
29
+ <img src="https://img.shields.io/badge/2--Class-Text%20Classification-FF0080?style=for-the-badge">
30
+ <img src="https://img.shields.io/badge/Few--Shot-Training-7928CA?style=for-the-badge">
31
+ <img src="https://img.shields.io/badge/Apache%202.0-000000?style=for-the-badge">
32
 
33
  <br><br>
34
 
35
+ ### ๐Ÿง  Tiny model. Tiny dataset. Real classification.
36
+
37
+ A compact **few-shot spam classifier** built with
38
+ **SetFit + BAAI/bge-small-en-v1.5**.
39
 
40
  </div>
41
 
42
  ---
43
 
44
+ <div align="center">
45
+
46
+ ## โšก `TINY โ†’ FAST โ†’ USEFUL`
47
 
48
+ </div>
49
 
50
+ This model is a small experiment in **few-shot text classification**.
 
51
 
52
+ It learns to separate:
53
 
54
+ > โœ‰๏ธ **HAM** โ€” legitimate email
55
+ > ๐Ÿšจ **SPAM** โ€” unwanted / suspicious email
56
+
57
+ The interesting part?
58
+
59
+ **Only 16 labeled training examples.**
60
+
61
+ ```text
62
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
63
+ โ”‚ 16 EXAMPLES โ”‚
64
+ โ”‚ โ”‚
65
+ โ”‚ 8 HAM + 8 SPAM โ”‚
66
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
67
+ โ”‚
68
+ โ–ผ
69
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
70
+ โ”‚ BAAI/bge-small-en-v1.5โ”‚
71
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
72
+ โ”‚
73
+ โ–ผ
74
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
75
+ โ”‚ SetFit โ”‚
76
+ โ”‚ Few-shot NLP โ”‚
77
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
78
+ โ”‚
79
+ โ–ผ
80
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
81
+ โ”‚ Logistic Regression โ”‚
82
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
83
+ โ”‚
84
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”
85
+ โ–ผ โ–ผ
86
+ HAM SPAM
87
+ ```
88
 
89
  ---
90
 
91
+ # ๐Ÿ“ก Model Status
92
 
93
  <div align="center">
94
 
95
+ | โš™๏ธ Component | ๐Ÿ”ง Configuration |
96
+ | ----------------------- | ------------------------ |
97
+ | **Task** | Spam Classification |
98
+ | **Classes** | `2` |
99
+ | **Backbone** | `BAAI/bge-small-en-v1.5` |
100
+ | **Framework** | SetFit |
101
+ | **Dataset** | `SetFit/enron_spam` |
102
+ | **Training Examples** | `16` |
103
+ | **Examples / Class** | `8` |
104
+ | **Iterations** | `20` |
105
+ | **Epochs** | `1` |
106
+ | **Batch Size** | `16` |
107
+ | **Classification Head** | Logistic Regression |
108
+ | **Language** | English |
 
109
 
110
  </div>
111
 
 
113
 
114
  # ๐Ÿ“Š Results
115
 
116
+ <div align="center">
117
 
118
+ ### `91.4%` Accuracy
 
 
 
119
 
120
+ ### `91.4%` Macro F1
121
 
122
+ <br>
123
 
124
+ ```text
125
+ Accuracy โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘ 91.4%
126
+ Macro F1 โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘ 91.4%
127
+ ```
128
 
129
+ </div>
130
+
131
+ > These results come from a very small few-shot training setup. They should not be interpreted as a benchmark against production spam-filtering systems.
132
+
133
+ ---
134
+
135
+ # ๐Ÿงฌ The TinyModels Recipe
136
 
137
  ```text
138
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
139
+ โ”‚ SetFit/enron โ”‚
140
+ โ”‚ _spam โ”‚
141
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
142
+ โ”‚
143
+ 16 examples
144
+ โ”‚
145
+ โ–ผ
146
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
147
+ โ”‚ BGE-small โ”‚
148
+ โ”‚ text encoder โ”‚
149
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
150
+ โ”‚
151
+ embeddings
152
+ โ”‚
153
+ โ–ผ
154
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
155
+ โ”‚ SetFit โ”‚
156
+ โ”‚ contrastive loss โ”‚
157
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
158
+ โ”‚
159
+ โ–ผ
160
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
161
+ โ”‚ LogisticRegressionโ”‚
162
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
163
+ โ”‚
164
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”
165
+ โ–ผ โ–ผ
166
+ โœ‰๏ธ HAM ๐Ÿšจ SPAM
167
  ```
168
 
169
  ### Training configuration
170
 
171
+ ```yaml
172
+ backbone: BAAI/bge-small-en-v1.5
173
+ dataset: SetFit/enron_spam
174
+
175
+ examples:
176
+ total: 16
177
+ per_class: 8
178
+
179
+ setfit:
180
+ iterations: 20
181
+ epochs: 1
182
+ batch_size: 16
183
+ loss: CosineSimilarityLoss
184
+ distance_metric: cosine_distance
185
+
186
+ classifier:
187
+ type: LogisticRegression
188
+
189
+ seed: 42
190
  ```
191
 
192
  ---
193
 
194
+ # ๐Ÿš€ Run It
 
 
195
 
196
  ```bash
197
+ pip install -q setfit
198
  ```
199
 
 
 
200
  ```python
201
  from setfit import SetFitModel
202
 
203
  model = SetFitModel.from_pretrained(
204
+ "TinyModels/setfit-banking-spam"
205
  )
 
 
 
206
 
 
207
  text = """
208
  Congratulations! You have won $1,000,000.
209
+ Click here immediately to claim your prize.
210
  """
211
 
212
  prediction = model(text)
 
214
  print(prediction)
215
  ```
216
 
217
+ ### Example output
218
+
219
+ ```text
220
+ 1
221
+ ```
222
 
223
  ---
224
 
225
+ # ๐Ÿงช Quick Examples
226
 
227
+ ### ๐Ÿšจ Spam
228
 
229
  ```text
230
+ CONGRATULATIONS!!!
 
 
 
231
 
232
+ You have been selected to receive
233
+ $1,000,000. Click the link below
234
+ to claim your prize immediately.
235
+ ```
236
 
237
  ```text
238
+ โ†’ SPAM
239
  ```
240
 
241
+ ---
242
+
243
+ ### โœ‰๏ธ Legitimate
244
 
245
  ```text
246
+ Please find attached the global markets
247
+ monitor for the week ending 12 January 2001.
248
  ```
249
 
250
+ ```text
251
+ โ†’ HAM
252
+ ```
253
 
254
  ---
255
 
256
+ # ๐Ÿง  Why SetFit?
257
 
258
+ Traditional supervised classification can require a large labeled dataset.
259
 
260
+ SetFit takes a different route:
261
 
262
  ```text
263
+ Large Dataset
264
+ โœ•
265
+ โ”‚
266
+ โ”‚
267
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”
268
+ โ”‚ SetFit โ”‚
269
+ โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜
270
+ โ”‚
271
+ โ–ผ
272
+ Few labeled examples
273
+ โ”‚
274
+ โ–ผ
275
+ Useful classifier
276
  ```
277
 
278
+ This makes the experiment useful for exploring:
279
 
280
+ * โšก Few-shot learning
281
+ * ๐Ÿง  Sentence embeddings
282
+ * ๐Ÿ“š Text classification
283
+ * ๐Ÿšจ Spam detection
284
+ * ๐Ÿ”ฌ Efficient training
285
+ * ๐Ÿค— SetFit
286
 
287
  ---
288
 
289
+ # ๐Ÿงฉ Architecture
290
+
291
+ <div align="center">
292
 
293
  ```text
294
+ INPUT
295
+ โ”‚
296
+ โ–ผ
297
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
298
+ โ”‚ BAAI/bge-small-en-v1.5 โ”‚
299
+ โ”‚ โ”‚
300
+ โ”‚ Sentence Transformer โ”‚
301
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
302
+ โ”‚
303
+ โ–ผ
304
+ Dense Embedding
305
+ โ”‚
306
+ โ–ผ
307
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
308
+ โ”‚ Logistic Regression โ”‚
309
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
310
+ โ”‚
311
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”
312
+ โ–ผ โ–ผ
313
+ HAM SPAM
314
+ โœ‰๏ธ ๐Ÿšจ
315
  ```
316
 
317
+ </div>
318
 
319
  ---
320
 
321
  # โš ๏ธ Limitations
322
 
323
+ This is intentionally a **tiny experimental model**.
324
 
325
+ Because only 16 examples were used for training:
326
 
327
+ * Performance can vary on unseen data.
328
+ * Domain shift can significantly affect predictions.
329
+ * Unusual spam may be missed.
330
+ * Enron-style email does not represent every modern spam pattern.
331
+ * The reported score comes from a lightweight few-shot experiment.
332
 
333
+ **Do not use this model as the sole component of a security-critical email filtering system.**
334
 
335
  ---
336
 
337
+ # ๐Ÿ“ฆ Model Identity
338
+
339
+ <div align="center">
340
 
341
+ ```text
342
+ โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
343
+ โ”‚ TINYMODEL โ”‚
344
+ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
345
+ โ”‚ โ”‚
346
+ โ”‚ MODEL SetFit Banking Spam โ”‚
347
+ โ”‚ BACKBONE BGE-small โ”‚
348
+ โ”‚ TASK Binary Classification โ”‚
349
+ โ”‚ DATA Enron Spam โ”‚
350
+ โ”‚ EXAMPLES 16 โ”‚
351
+ โ”‚ RESULT 91.4% Accuracy โ”‚
352
+ โ”‚ โ”‚
353
+ โ”‚ STATUS โ— EXPERIMENTAL โ”‚
354
+ โ”‚ โ”‚
355
+ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
356
+ ```
357
 
358
+ </div>
359
 
360
  ---
361
 
362
  <div align="center">
363
 
364
+ # โšก 16 Examples.
365
+
366
+ # ๐Ÿง  One Small Model.
367
+
368
+ # ๐Ÿšจ One Real Task.
369
 
370
+ <br>
371
+
372
+ <img src="https://img.shields.io/badge/BUILT%20BY-TinyModels-FF0080?style=for-the-badge">
373
+ <img src="https://img.shields.io/badge/POWERED%20BY-SetFit-7928CA?style=for-the-badge">
374
+
375
+ <br><br>
376
 
377
+ **TinyModels โ€” building small models that actually do things.**
 
 
378
 
379
  </div>