vidhi0206 commited on
Commit
faaf76f
1 Parent(s): 40bfdfa

Add SetFit model

Browse files
Files changed (4) hide show
  1. README.md +9 -9
  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.7492537313432835
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
- | 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
 
@@ -125,7 +125,7 @@ preds = model("I wished it had the output on back instead of on the side.")
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,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.2386 | - |
157
- | 0.625 | 50 | 0.0033 | - |
158
 
159
  ### Framework Versions
160
  - Python: 3.8.10
 
31
  split: test
32
  metrics:
33
  - type: accuracy
34
+ value: 0.6701492537313433
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>"If harder wood would have been used this would not be an issue, and it's the jig's biggest design flaw IMO...very disappointing."</li><li>'I felt the books could have been condensed into two or even one.'</li><li>'Should have an option for a big bigger though.'</li></ul> |
69
+ | 0 | <ul><li>'But all in all they provide a box within which I can place my books on a shelf in the garage without worry.'</li><li>'The only drawback for me is that there should be a slightly larger earbud with these.'</li><li>'I just wanted something to protect my chair while my furry friend sat with me!'</li></ul> |
70
 
71
  ## Evaluation
72
 
73
  ### Metrics
74
  | Label | Accuracy |
75
  |:--------|:---------|
76
+ | **all** | 0.6701 |
77
 
78
  ## Uses
79
 
 
125
  ### Training Set Metrics
126
  | Training set | Min | Median | Max |
127
  |:-------------|:----|:-------|:----|
128
+ | Word count | 9 | 16.375 | 26 |
129
 
130
  | Label | Training Sample Count |
131
  |:------|:----------------------|
 
153
  ### Training Results
154
  | Epoch | Step | Training Loss | Validation Loss |
155
  |:------:|:----:|:-------------:|:---------------:|
156
+ | 0.0125 | 1 | 0.208 | - |
157
+ | 0.625 | 50 | 0.0007 | - |
158
 
159
  ### Framework Versions
160
  - 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:7bcb7891170b811263c8daa48859b5428a04ba601706a38f566a7d0383ff62e4
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39977b457ab9734328e71d775cbd68093fdcf44581eb29ef1da3ababba16dbba
3
  size 437967672
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:78cc3441edf70b63e334714ec1ebee296af3ef279a1c062baa5c9e701d51426f
3
  size 6991
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62ad1a0497d32fa94d82eccce5ee0c4df59c1410f9cca4742e3f752e1ab0e95c
3
  size 6991