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

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.442
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
- | 3 | <ul><li>'im fine mary anne answered feeling a little impatient'</li><li>'i feel outraged that my life is so easy so blessed'</li><li>'i suggested greys and blues with warm tones as the room is north facing and could feel quite cold and flat'</li></ul> |
68
- | 4 | <ul><li>'i still feel its a little shaky at times and can move into the slightly odd jades hair in particular seems prone to this but generally it works well with spencers writing'</li><li>'i also feel strange that by the ripe old age of twenty three i want a goddamn life partner'</li><li>'i feel acclimated like i am finally a part of this organization rather than a timid observer'</li></ul> |
69
- | 5 | <ul><li>'i always feel so flattered when another amazing blogger asks me to share a little of world on their blog so here it goes'</li><li>'i was like oh thats awesome blah but then he was like reminding me hes interested in this other girl and i was like i know this but what concerns me more is if it makes you feel too weird to be with me like this'</li><li>'i gotta say im feeling pretty impressed with how everything ended up considering my total dollars dropped totaled and i have three small canvases to play with display with'</li></ul> |
70
- | 1 | <ul><li>'i still am not able to remember a single dull moment a detail that pissed me off a thing i didnt feel comfortable about'</li><li>'i can t find anything to feel other than complacent'</li><li>'i am feeling a little bouncy right now'</li></ul> |
71
- | 0 | <ul><li>'i hide this secret inside of me away from everyone because i feel ashamed and like i have no assistance in making it better'</li><li>'i could feel how exhausted my arms and legs were'</li><li>'i am also feeling awful'</li></ul> |
72
- | 2 | <ul><li>'i can feel passionate about taking a stand and maybe understand that this one as yet to be chosen issue is worthy of my time and efforts'</li><li>'i do awaken from a mild night sweat i usually feel hot as if i had a fever and i want to remove some of my blankets'</li><li>'i am feeling quite fond of my friends'</li></ul> |
73
 
74
  ## Evaluation
75
 
76
  ### Metrics
77
  | Label | Accuracy |
78
  |:--------|:---------|
79
- | **all** | 0.442 |
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 | 18.7292 | 46 |
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.2264 | - |
164
- | 0.2083 | 50 | 0.0997 | - |
165
- | 0.4167 | 100 | 0.0257 | - |
166
- | 0.625 | 150 | 0.0089 | - |
167
- | 0.8333 | 200 | 0.003 | - |
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
- "labels": null,
3
- "normalize_embeddings": false
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:3b4d9434c877293c930726f50ecd81f94c4319d74ed8e307d906f18bca2d0d9d
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:cf3f7169b6f8b6229f78095699d58f6c0c468b03aefb2f8b48533896f12b79a3
3
  size 37783
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:732ebda6ea5183c07df86d20a5f8dfa34a18a419b97684ab99b49893ace22570
3
  size 37783