sam123116 commited on
Commit
fbdd13e
·
verified ·
1 Parent(s): fa5a392

Push model using huggingface_hub.

Browse files
Files changed (4) hide show
  1. README.md +21 -23
  2. config_setfit.json +2 -2
  3. model.safetensors +1 -1
  4. model_head.pkl +2 -2
README.md CHANGED
@@ -34,7 +34,7 @@ The model has been trained using an efficient few-shot learning technique that i
34
  - **Sentence Transformer body:** [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2)
35
  - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
36
  - **Maximum Sequence Length:** 512 tokens
37
- - **Number of Classes:** 11 classes
38
  <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
39
  <!-- - **Language:** Unknown -->
40
  <!-- - **License:** Unknown -->
@@ -48,14 +48,13 @@ The model has been trained using an efficient few-shot learning technique that i
48
  ### Model Labels
49
  | Label | Examples |
50
  |:------|:-----------------------------------------------------------------------------------------------------------------------------------|
51
- | 6 | <ul><li>'Why did my payment fail?'</li><li>'Why is my payment not processing?'</li><li>'What are common payment issues?'</li></ul> |
52
  | 0 | <ul><li>'Your products are not good'</li><li>'Your service is bad'</li></ul> |
53
- | 8 | <ul><li>'Good Bye'</li><li>'Take care'</li><li>'Bye'</li></ul> |
54
- | 9 | <ul><li>'Thanks'</li></ul> |
55
- | 10 | <ul><li>'23234dfdff'</li><li>'abc'</li><li>'djfnknf'</li></ul> |
56
- | 4 | <ul><li>'My order ref is '</li><li>'Order Ref is C-123-P'</li><li>'Order id is C-123-P'</li></ul> |
57
- | 5 | <ul><li>'How can I track my order?'</li><li>'When will my order arrive?'</li><li>"I didn't receive my COD points"</li></ul> |
58
- | 7 | <ul><li>'What is your refund policy?'</li><li>'How can I get a refund?'</li></ul> |
59
  | 3 | <ul><li>'order email'</li><li>'resend order email'</li><li>'I didnt receive my order email'</li></ul> |
60
  | 2 | <ul><li>'How are you'</li></ul> |
61
  | 1 | <ul><li>'Hi'</li><li>'Wassup'</li><li>'Hello'</li></ul> |
@@ -118,13 +117,12 @@ preds = model("Bye")
118
  | 1 | 3 |
119
  | 2 | 1 |
120
  | 3 | 3 |
121
- | 4 | 5 |
122
- | 5 | 7 |
123
- | 6 | 3 |
124
- | 7 | 2 |
125
- | 8 | 3 |
126
- | 9 | 1 |
127
- | 10 | 8 |
128
 
129
  ### Training Hyperparameters
130
  - batch_size: (16, 16)
@@ -148,16 +146,16 @@ preds = model("Bye")
148
  ### Training Results
149
  | Epoch | Step | Training Loss | Validation Loss |
150
  |:------:|:----:|:-------------:|:---------------:|
151
- | 0.0105 | 1 | 0.3591 | - |
152
- | 0.5263 | 50 | 0.1235 | - |
153
- | 1.0526 | 100 | 0.0233 | - |
154
- | 1.5789 | 150 | 0.0057 | - |
155
- | 2.1053 | 200 | 0.0032 | - |
156
- | 2.6316 | 250 | 0.0025 | - |
157
  | 3.1579 | 300 | 0.002 | - |
158
  | 3.6842 | 350 | 0.0017 | - |
159
- | 4.2105 | 400 | 0.0019 | - |
160
- | 4.7368 | 450 | 0.0016 | - |
161
 
162
  ### Framework Versions
163
  - Python: 3.10.13
 
34
  - **Sentence Transformer body:** [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2)
35
  - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
36
  - **Maximum Sequence Length:** 512 tokens
37
+ - **Number of Classes:** 10 classes
38
  <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
39
  <!-- - **Language:** Unknown -->
40
  <!-- - **License:** Unknown -->
 
48
  ### Model Labels
49
  | Label | Examples |
50
  |:------|:-----------------------------------------------------------------------------------------------------------------------------------|
51
+ | 5 | <ul><li>'Why did my payment fail?'</li><li>'Why is my payment not processing?'</li><li>'What are common payment issues?'</li></ul> |
52
  | 0 | <ul><li>'Your products are not good'</li><li>'Your service is bad'</li></ul> |
53
+ | 7 | <ul><li>'Good Bye'</li><li>'Take care'</li><li>'Bye'</li></ul> |
54
+ | 8 | <ul><li>'Thanks'</li></ul> |
55
+ | 9 | <ul><li>'23234dfdff'</li><li>'abc'</li><li>'djfnknf'</li></ul> |
56
+ | 4 | <ul><li>'My order ref is '</li><li>'How can I track my order?'</li><li>'Order Ref is C-123-P'</li></ul> |
57
+ | 6 | <ul><li>'What is your refund policy?'</li><li>'How can I get a refund?'</li></ul> |
 
58
  | 3 | <ul><li>'order email'</li><li>'resend order email'</li><li>'I didnt receive my order email'</li></ul> |
59
  | 2 | <ul><li>'How are you'</li></ul> |
60
  | 1 | <ul><li>'Hi'</li><li>'Wassup'</li><li>'Hello'</li></ul> |
 
117
  | 1 | 3 |
118
  | 2 | 1 |
119
  | 3 | 3 |
120
+ | 4 | 12 |
121
+ | 5 | 3 |
122
+ | 6 | 2 |
123
+ | 7 | 3 |
124
+ | 8 | 1 |
125
+ | 9 | 8 |
 
126
 
127
  ### Training Hyperparameters
128
  - batch_size: (16, 16)
 
146
  ### Training Results
147
  | Epoch | Step | Training Loss | Validation Loss |
148
  |:------:|:----:|:-------------:|:---------------:|
149
+ | 0.0105 | 1 | 0.2387 | - |
150
+ | 0.5263 | 50 | 0.1358 | - |
151
+ | 1.0526 | 100 | 0.0206 | - |
152
+ | 1.5789 | 150 | 0.0048 | - |
153
+ | 2.1053 | 200 | 0.0037 | - |
154
+ | 2.6316 | 250 | 0.0023 | - |
155
  | 3.1579 | 300 | 0.002 | - |
156
  | 3.6842 | 350 | 0.0017 | - |
157
+ | 4.2105 | 400 | 0.0024 | - |
158
+ | 4.7368 | 450 | 0.0015 | - |
159
 
160
  ### Framework Versions
161
  - Python: 3.10.13
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:a6d37094650c717c542a42d9ac81235afd95f7d759dcef66334f63b9c5e97f32
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab78fb41a407254b53ffc77714359063e80f29b72aa77068c625f9496e8b3027
3
  size 437967672
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9dc02f26107c4f0519dda3969541f0c8a4e37d7c2900b2248fe199e59213de26
3
- size 68607
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e1bc32098b425448c6925fd6e33fecc95d7f31000d6803f2f51822dfd626c4d
3
+ size 62439