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 |
-
| 0 | <ul><li>'i
|
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.509
|
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 |
+
| 5 | <ul><li>'i even feel it is a game that i am a part of some strange reality swarming with violent carnivores adding to the bare landscape of the place i now know'</li><li>'i don t have the longevity or experience in the field to get a feeling for that and i m curious as to what the speculation might be'</li><li>'i feel a bit strange saying it'</li></ul> |
|
68 |
+
| 2 | <ul><li>'i longed for that feeling i once knew the feeling i treasured once and forgot because of pain'</li><li>'im feeling craving theres always a tender morsel of a song ready to appease my appetite'</li><li>'i feel accepted welcomed'</li></ul> |
|
69 |
+
| 3 | <ul><li>'i have to revise my replies over and over again in my mind just to make sure that the reply sounds appropriate enough and that the person who receive the reply will not feel offended'</li><li>'i could go on further but i feel like i ve tortured you enough for one day'</li><li>'i also feel a little resentful of the fact that im spending what are supposed to be some of the best years of my life taking care of other people while what little social life i have atrophies because im left without the time or energy to maintain it'</li></ul> |
|
70 |
+
| 4 | <ul><li>'i am left to feel helpless to do anything'</li><li>'i have to actually tell myself to breathe breathe breathe in and out when i feel absolutely terrified because i know i can t just go home that the life i missed isn t there anymore'</li><li>'i feel pretty terrified about letting down all those good people kind enough to support my work'</li></ul> |
|
71 |
+
| 0 | <ul><li>'i feel the pain again until i came from school and its still aching'</li><li>'i didn t take that lightly i know that harsh words can leave some people feeling absolutely devastated'</li><li>'i feel less than and isolated'</li></ul> |
|
72 |
+
| 1 | <ul><li>'i feel and look gorgeous beautiful and sexy'</li><li>'i be the go to guy for someone who wants a genuine guy who would treat them right and spend quality time with them and make them feel special'</li><li>'i no longer had hard feelings for and very luckily and unexpectedly met this sweet and interesting girl on tumblr who is an aiw fan but she also runs a wonderful alice in wonderland blog called she still haunts me phantomwise'</li></ul> |
|
73 |
|
74 |
## Evaluation
|
75 |
|
76 |
### Metrics
|
77 |
| Label | Accuracy |
|
78 |
|:--------|:---------|
|
79 |
+
| **all** | 0.509 |
|
80 |
|
81 |
## Uses
|
82 |
|
|
|
128 |
### Training Set Metrics
|
129 |
| Training set | Min | Median | Max |
|
130 |
|:-------------|:----|:--------|:----|
|
131 |
+
| Word count | 4 | 20.3333 | 49 |
|
132 |
|
133 |
| Label | Training Sample Count |
|
134 |
|:------|:----------------------|
|
|
|
160 |
### Training Results
|
161 |
| Epoch | Step | Training Loss | Validation Loss |
|
162 |
|:------:|:----:|:-------------:|:---------------:|
|
163 |
+
| 0.0042 | 1 | 0.2022 | - |
|
164 |
+
| 0.2083 | 50 | 0.1717 | - |
|
165 |
+
| 0.4167 | 100 | 0.128 | - |
|
166 |
+
| 0.625 | 150 | 0.0073 | - |
|
167 |
+
| 0.8333 | 200 | 0.002 | - |
|
168 |
|
169 |
### Framework Versions
|
170 |
- Python: 3.8.10
|
config_setfit.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"normalize_embeddings": false,
|
3 |
+
"labels": null
|
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:39fbf9d951e4db2d515e4312d4811873a40e75fa9dd68d177f51113186240512
|
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:732ebda6ea5183c07df86d20a5f8dfa34a18a419b97684ab99b49893ace22570
|
3 |
size 37783
|