Add SetFit model
Browse files- README.md +16 -16
- config_setfit.json +2 -2
- model.safetensors +1 -1
- model_head.pkl +1 -1
README.md
CHANGED
@@ -30,7 +30,7 @@ model-index:
|
|
30 |
split: test
|
31 |
metrics:
|
32 |
- type: accuracy
|
33 |
-
value: 0.
|
34 |
name: Accuracy
|
35 |
---
|
36 |
|
@@ -62,21 +62,21 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
62 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
63 |
|
64 |
### Model Labels
|
65 |
-
| Label | Examples
|
66 |
-
|
67 |
-
|
|
68 |
-
|
|
69 |
-
|
|
70 |
-
|
|
71 |
-
|
|
72 |
-
|
|
73 |
|
74 |
## Evaluation
|
75 |
|
76 |
### Metrics
|
77 |
| Label | Accuracy |
|
78 |
|:--------|:---------|
|
79 |
-
| **all** | 0.
|
80 |
|
81 |
## Uses
|
82 |
|
@@ -128,7 +128,7 @@ preds = model("i am feeling very indecisive and spontaneous")
|
|
128 |
### Training Set Metrics
|
129 |
| Training set | Min | Median | Max |
|
130 |
|:-------------|:----|:--------|:----|
|
131 |
-
| Word count | 4 |
|
132 |
|
133 |
| Label | Training Sample Count |
|
134 |
|:------|:----------------------|
|
@@ -160,11 +160,11 @@ preds = model("i am feeling very indecisive and spontaneous")
|
|
160 |
### Training Results
|
161 |
| Epoch | Step | Training Loss | Validation Loss |
|
162 |
|:------:|:----:|:-------------:|:---------------:|
|
163 |
-
| 0.0042 | 1 | 0.
|
164 |
-
| 0.2083 | 50 | 0.
|
165 |
-
| 0.4167 | 100 | 0.
|
166 |
-
| 0.625 | 150 | 0.
|
167 |
-
| 0.8333 | 200 | 0.
|
168 |
|
169 |
### Framework Versions
|
170 |
- Python: 3.8.10
|
|
|
30 |
split: test
|
31 |
metrics:
|
32 |
- type: accuracy
|
33 |
+
value: 0.5225
|
34 |
name: Accuracy
|
35 |
---
|
36 |
|
|
|
62 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
63 |
|
64 |
### Model Labels
|
65 |
+
| Label | Examples |
|
66 |
+
|:------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
67 |
+
| 1 | <ul><li>'i feel so much better about that number'</li><li>'i feel like i have reached a plateau where im not buying as much as i use to and feeling more satisfied with my wardrobe and personal style'</li><li>'i feel especially thankful'</li></ul> |
|
68 |
+
| 3 | <ul><li>'i feel so violent just want to break some glass'</li><li>'i always feel rushed on the way to visit no comments'</li><li>'i think maybe about how strongly she feels about him and being there for him but brad looks really distracted'</li></ul> |
|
69 |
+
| 5 | <ul><li>'i feel like when i was a kid it was constantly impressed upon me how awesome ants are'</li><li>'i feel like it s a boy i would be pretty shocked if it was so somewhere in there my gut or my brain is saying girl'</li><li>'i feel like every day i walk around with so much stress and sadness that im literally amazed im still here that i still function that im still basically a friendly stable person'</li></ul> |
|
70 |
+
| 0 | <ul><li>'i would feel that a few words would be not only inadequate but a travesty'</li><li>'i attributed this depression to feeling inadequate against the unrealistic ideals of the lds church and while i still hold those ideals somewhat responsible i recognize this pattern of behavior'</li><li>'ive been resting and feeling generally unpleasant and queasy but in that frustrating background way where you dont feel right but cant place an exact cause'</li></ul> |
|
71 |
+
| 4 | <ul><li>'i was starting to feel scared for both of their safety and i wish those officers hadn t left no matter how much i hated them'</li><li>'i am already feeling frantic'</li><li>'i believe in you moment we all feel til then it s one more skeptical song'</li></ul> |
|
72 |
+
| 2 | <ul><li>'i do feel sympathetic to the parties involved now that their careers are down the drain'</li><li>'i like frappes and shit when im feeling naughty but i drink tea daily'</li><li>'i will pay a month for months and feel shame every time i grill a hot dog from that point on'</li></ul> |
|
73 |
|
74 |
## Evaluation
|
75 |
|
76 |
### Metrics
|
77 |
| Label | Accuracy |
|
78 |
|:--------|:---------|
|
79 |
+
| **all** | 0.5225 |
|
80 |
|
81 |
## Uses
|
82 |
|
|
|
128 |
### Training Set Metrics
|
129 |
| Training set | Min | Median | Max |
|
130 |
|:-------------|:----|:--------|:----|
|
131 |
+
| Word count | 4 | 19.3333 | 48 |
|
132 |
|
133 |
| Label | Training Sample Count |
|
134 |
|:------|:----------------------|
|
|
|
160 |
### Training Results
|
161 |
| Epoch | Step | Training Loss | Validation Loss |
|
162 |
|:------:|:----:|:-------------:|:---------------:|
|
163 |
+
| 0.0042 | 1 | 0.3009 | - |
|
164 |
+
| 0.2083 | 50 | 0.1916 | - |
|
165 |
+
| 0.4167 | 100 | 0.0393 | - |
|
166 |
+
| 0.625 | 150 | 0.0129 | - |
|
167 |
+
| 0.8333 | 200 | 0.0034 | - |
|
168 |
|
169 |
### Framework Versions
|
170 |
- Python: 3.8.10
|
config_setfit.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
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:
|
3 |
size 437967672
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b71422e36abb52495222238ec73190d93f05c13e82a5ec2341bf72b0bcdd20d3
|
3 |
size 437967672
|
model_head.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 37783
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69ce83767c256a96db326be90ba1f7b48ed8d7182f70ac2d991ee95c6c936d0d
|
3 |
size 37783
|