vidhi0206 commited on
Commit
289118e
1 Parent(s): 0bcd638

Add SetFit model

Browse files
Files changed (4) hide show
  1. README.md +11 -11
  2. config_setfit.json +2 -2
  3. model.safetensors +1 -1
  4. model_head.pkl +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ model-index:
31
  split: test
32
  metrics:
33
  - type: accuracy
34
- value: 0.5492537313432836
35
  name: Accuracy
36
  ---
37
 
@@ -63,17 +63,17 @@ The model has been trained using an efficient few-shot learning technique that i
63
  - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
64
 
65
  ### Model Labels
66
- | Label | Examples |
67
- |:------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
68
- | 0 | <ul><li>'It wheels easily and holds 10-15 lbs without any problems.'</li><li>'VERY VERY crappy craftsmanship....I figured things would be made a little better.'</li><li>'and a small red leather zipper coin pouch and wanted something just for bills.'</li></ul> |
69
- | 1 | <ul><li>'For the price that this particular seller charged for this T-shirt, the material SHOULD be HEAVY-DUTY.'</li><li>'Just the right size, but wish it was a little taller in height.'</li><li>'had I known what I know now, I would have bought a large heating pad for $20, and then sewn up a removeable fleece pillowcase for it.'</li></ul> |
70
 
71
  ## Evaluation
72
 
73
  ### Metrics
74
  | Label | Accuracy |
75
  |:--------|:---------|
76
- | **all** | 0.5493 |
77
 
78
  ## Uses
79
 
@@ -123,9 +123,9 @@ preds = model("I wished it had the output on back instead of on the side.")
123
  ## Training Details
124
 
125
  ### Training Set Metrics
126
- | Training set | Min | Median | Max |
127
- |:-------------|:----|:--------|:----|
128
- | Word count | 10 | 18.4375 | 29 |
129
 
130
  | Label | Training Sample Count |
131
  |:------|:----------------------|
@@ -153,8 +153,8 @@ preds = model("I wished it had the output on back instead of on the side.")
153
  ### Training Results
154
  | Epoch | Step | Training Loss | Validation Loss |
155
  |:------:|:----:|:-------------:|:---------------:|
156
- | 0.0125 | 1 | 0.2026 | - |
157
- | 0.625 | 50 | 0.0034 | - |
158
 
159
  ### Framework Versions
160
  - Python: 3.8.10
 
31
  split: test
32
  metrics:
33
  - type: accuracy
34
+ value: 0.7492537313432835
35
  name: Accuracy
36
  ---
37
 
 
63
  - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
64
 
65
  ### Model Labels
66
+ | Label | Examples |
67
+ |:------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
68
+ | 1 | <ul><li>'I would have liked to have had some photos with this ebook, just for breaking up the monotony of the print.'</li><li>'Or if the copy was just the result of scanning the book badly ...thanks to amazon I got a refund but this edition should be taken down!...I am not sure about the good reviews, but Spanish is my first lanngauge and this is a terrible edition of a great book!'</li><li>'Must read but I wished the second book continued their story and not switch to another brother in his family!'</li></ul> |
69
+ | 0 | <ul><li>'One problem: tried without success to change ear tip from large to small .'</li><li>"I would recommend this book to people that miss Breaking Bad and want to hear a fresh take on Jesse's life."</li><li>"How can I review on a product that I haven't gotten."</li></ul> |
70
 
71
  ## Evaluation
72
 
73
  ### Metrics
74
  | Label | Accuracy |
75
  |:--------|:---------|
76
+ | **all** | 0.7493 |
77
 
78
  ## Uses
79
 
 
123
  ## Training Details
124
 
125
  ### Training Set Metrics
126
+ | Training set | Min | Median | Max |
127
+ |:-------------|:----|:-------|:----|
128
+ | Word count | 9 | 22.75 | 50 |
129
 
130
  | Label | Training Sample Count |
131
  |:------|:----------------------|
 
153
  ### Training Results
154
  | Epoch | Step | Training Loss | Validation Loss |
155
  |:------:|:----:|:-------------:|:---------------:|
156
+ | 0.0125 | 1 | 0.2386 | - |
157
+ | 0.625 | 50 | 0.0033 | - |
158
 
159
  ### Framework Versions
160
  - 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:3a10c56ccefddfae151c28a2cfa6ad05be7c7c5c9750d0ad26f7fde7a83c3d6b
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bcb7891170b811263c8daa48859b5428a04ba601706a38f566a7d0383ff62e4
3
  size 437967672
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4501f7d5f7cea0a62334f88c366f26d4a03c923a638ab3da666c2b9b421050a8
3
  size 6991
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78cc3441edf70b63e334714ec1ebee296af3ef279a1c062baa5c9e701d51426f
3
  size 6991