vidhi0206 commited on
Commit
b2c83b0
1 Parent(s): 03494f5

Add SetFit model

Browse files
Files changed (4) hide show
  1. README.md +16 -16
  2. config_setfit.json +2 -2
  3. model.safetensors +1 -1
  4. 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.509
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
- | 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,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 | 20.3333 | 49 |
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.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
 
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
- "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:39fbf9d951e4db2d515e4312d4811873a40e75fa9dd68d177f51113186240512
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:732ebda6ea5183c07df86d20a5f8dfa34a18a419b97684ab99b49893ace22570
3
  size 37783
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69ce83767c256a96db326be90ba1f7b48ed8d7182f70ac2d991ee95c6c936d0d
3
  size 37783