amitprgx commited on
Commit
b78eee9
1 Parent(s): 1acdf19

Add SetFit model

Browse files
Files changed (4) hide show
  1. README.md +22 -16
  2. config_setfit.json +2 -2
  3. model.safetensors +1 -1
  4. model_head.pkl +1 -1
README.md CHANGED
@@ -11,15 +11,21 @@ datasets:
11
  metrics:
12
  - accuracy
13
  widget:
14
- - text: Are you mentally handicapped or this is your normal form? Both ways kill yourself
15
- please.
16
  - text: American people are dumbass. They don't even know geography
17
- - text: Put a woman to abuse that fat woman and don’t put a kind guy
18
- - text: That's what we should do here in a Us survey take them to FEMA camps and put
19
- the gas on these people are not coming from starvation destitute bad areas look
20
- how they're dressed their well-dressed well fed it's like a trojan horse and it's
21
- time we put them in the penal camps and get rid of them make use of the FEMA camp
22
- - text: LMAO while watching this church burn
 
 
 
 
 
 
 
23
  pipeline_tag: text-classification
24
  inference: false
25
  model-index:
@@ -34,7 +40,7 @@ model-index:
34
  split: test
35
  metrics:
36
  - type: accuracy
37
- value: 0.44680851063829785
38
  name: Accuracy
39
  ---
40
 
@@ -70,7 +76,7 @@ The model has been trained using an efficient few-shot learning technique that i
70
  ### Metrics
71
  | Label | Accuracy |
72
  |:--------|:---------|
73
- | **all** | 0.4468 |
74
 
75
  ## Uses
76
 
@@ -90,7 +96,7 @@ from setfit import SetFitModel
90
  # Download from the 🤗 Hub
91
  model = SetFitModel.from_pretrained("amitprgx/setfit-ethos-multilabel-example")
92
  # Run inference
93
- preds = model("LMAO while watching this church burn")
94
  ```
95
 
96
  <!--
@@ -122,7 +128,7 @@ preds = model("LMAO while watching this church burn")
122
  ### Training Set Metrics
123
  | Training set | Min | Median | Max |
124
  |:-------------|:----|:--------|:----|
125
- | Word count | 3 | 18.1719 | 87 |
126
 
127
  ### Training Hyperparameters
128
  - batch_size: (16, 16)
@@ -145,10 +151,10 @@ preds = model("LMAO while watching this church burn")
145
  ### Training Results
146
  | Epoch | Step | Training Loss | Validation Loss |
147
  |:------:|:----:|:-------------:|:---------------:|
148
- | 0.0063 | 1 | 0.3377 | - |
149
- | 0.3125 | 50 | 0.1288 | - |
150
- | 0.625 | 100 | 0.0798 | - |
151
- | 0.9375 | 150 | 0.1517 | - |
152
 
153
  ### Framework Versions
154
  - Python: 3.10.12
 
11
  metrics:
12
  - accuracy
13
  widget:
14
+ - text: WOW THIS GUY TALKS LIKE A RETARD HAHAHAHAHAH
 
15
  - text: American people are dumbass. They don't even know geography
16
+ - text: Oh GOD YES!!!! Feel the shrapnel pierce through your skin, let the fire consume
17
+ your flesh and lay lifeless on the unforgiving sand that seeps into your wounds.
18
+ Your screams is what gives Murcia the fuck yeah in the most patriotic songs on
19
+ earth. BURN IN HELL YOU GOATS !!!
20
+ - text: One needs to do a Pareto Analysis...90-95% of global terrorists belong to
21
+ a single religion that represents 25% of the global population (1.25 billion in
22
+ a 8 billion global population). To say that terrorism has no religion and colour,
23
+ is the biggest bluff in the world. If Islam was such a peaceful religion, then
24
+ why are refugees from Islamic countries seek non-Muslim countries for settlement....it
25
+ is because they want to Islamise the world.
26
+ - text: It's so sick and sad that young people will think of the concept of clout
27
+ like rap niggers invented it because they aren't even properly taught about the
28
+ english language anymore.
29
  pipeline_tag: text-classification
30
  inference: false
31
  model-index:
 
40
  split: test
41
  metrics:
42
  - type: accuracy
43
+ value: 0.39466666666666667
44
  name: Accuracy
45
  ---
46
 
 
76
  ### Metrics
77
  | Label | Accuracy |
78
  |:--------|:---------|
79
+ | **all** | 0.3947 |
80
 
81
  ## Uses
82
 
 
96
  # Download from the 🤗 Hub
97
  model = SetFitModel.from_pretrained("amitprgx/setfit-ethos-multilabel-example")
98
  # Run inference
99
+ preds = model("WOW THIS GUY TALKS LIKE A RETARD HAHAHAHAHAH")
100
  ```
101
 
102
  <!--
 
128
  ### Training Set Metrics
129
  | Training set | Min | Median | Max |
130
  |:-------------|:----|:--------|:----|
131
+ | Word count | 2 | 16.3594 | 72 |
132
 
133
  ### Training Hyperparameters
134
  - batch_size: (16, 16)
 
151
  ### Training Results
152
  | Epoch | Step | Training Loss | Validation Loss |
153
  |:------:|:----:|:-------------:|:---------------:|
154
+ | 0.0063 | 1 | 0.2956 | - |
155
+ | 0.3125 | 50 | 0.1327 | - |
156
+ | 0.625 | 100 | 0.0963 | - |
157
+ | 0.9375 | 150 | 0.0525 | - |
158
 
159
  ### Framework Versions
160
  - Python: 3.10.12
config_setfit.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "normalize_embeddings": false,
3
- "labels": null
4
  }
 
1
  {
2
+ "labels": null,
3
+ "normalize_embeddings": false
4
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6ac0778714040e50528101b03ba629b3352c7c2f2d89b2b9dc4462572524606
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:facd7f682af62404bfa4fadaf798e3517d9060603c9b66a38fb2fa43bbef7dd1
3
  size 437967672
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2ddaa4e093425e1b6e6789ac250dffe6908931065ff61a6ec7d02efcbf6a1c5
3
  size 52836
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcd73ab8a67bad84bcb9915a7f3bfd0fd3c3d51465c18a9fcdc7d0b4e8911b0f
3
  size 52836