wikd commited on
Commit
870df38
1 Parent(s): 9a5f2d9

Add SetFit model

Browse files
Files changed (3) hide show
  1. README.md +8 -8
  2. model.safetensors +1 -1
  3. model_head.pkl +1 -1
README.md CHANGED
@@ -62,10 +62,10 @@ 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
- | 0 | <ul><li>'I received the wrong item'</li><li>'The product arrived damaged'</li><li>"I placed an order but haven't received a confirmation email"</li></ul> |
68
- | 1 | <ul><li>'I got a discount code!'</li><li>'I would recommend this company to a friend'</li><li>"I'm very satisfied with my purchase"</li></ul> |
69
 
70
  ## Evaluation
71
 
@@ -124,12 +124,12 @@ preds = model("The product is out of stock")
124
  ### Training Set Metrics
125
  | Training set | Min | Median | Max |
126
  |:-------------|:----|:-------|:----|
127
- | Word count | 4 | 6.9375 | 10 |
128
 
129
  | Label | Training Sample Count |
130
  |:------|:----------------------|
131
- | 0 | 10 |
132
- | 1 | 6 |
133
 
134
  ### Training Hyperparameters
135
  - batch_size: (16, 16)
@@ -152,7 +152,7 @@ preds = model("The product is out of stock")
152
  ### Training Results
153
  | Epoch | Step | Training Loss | Validation Loss |
154
  |:-----:|:----:|:-------------:|:---------------:|
155
- | 0.025 | 1 | 0.0549 | - |
156
 
157
  ### Framework Versions
158
  - Python: 3.11.8
 
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 got a discount code!'</li><li>'I would recommend this company to a friend'</li><li>'The return process was easy'</li></ul> |
68
+ | 0 | <ul><li>'You are not understanding what i am saying'</li><li>"I'm having trouble logging in to my account"</li><li>"I placed an order but haven't received a confirmation email"</li></ul> |
69
 
70
  ## Evaluation
71
 
 
124
  ### Training Set Metrics
125
  | Training set | Min | Median | Max |
126
  |:-------------|:----|:-------|:----|
127
+ | Word count | 4 | 6.875 | 10 |
128
 
129
  | Label | Training Sample Count |
130
  |:------|:----------------------|
131
+ | 0 | 11 |
132
+ | 1 | 5 |
133
 
134
  ### Training Hyperparameters
135
  - batch_size: (16, 16)
 
152
  ### Training Results
153
  | Epoch | Step | Training Loss | Validation Loss |
154
  |:-----:|:----:|:-------------:|:---------------:|
155
+ | 0.025 | 1 | 0.1106 | - |
156
 
157
  ### Framework Versions
158
  - Python: 3.11.8
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f371e87d5d8ba17bd19ce9e245b362cf1074fe0b544a79ad164520a0d27fea7f
3
  size 265462608
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11f5f369329579350ce85bc4ad09977f481c979db950823b9dd40a4eaa3a7358
3
  size 265462608
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0d861bdc121e04180575e968b947df9a4244d3e69030d5a39e058505013e1d5
3
  size 7013
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:960f91ea38d617fea8e55beccde57301118285a9427d4c7deb445ac0263ccdbc
3
  size 7013