Push model using huggingface_hub.
Browse files- README.md +21 -23
- config_setfit.json +2 -2
- model.safetensors +1 -1
- 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:**
|
| 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 |
-
|
|
| 52 |
| 0 | <ul><li>'Your products are not good'</li><li>'Your service is bad'</li></ul> |
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
| 4 | <ul><li>'My order ref is '</li><li>'
|
| 57 |
-
|
|
| 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 |
|
| 122 |
-
| 5 |
|
| 123 |
-
| 6 |
|
| 124 |
-
| 7 |
|
| 125 |
-
| 8 |
|
| 126 |
-
| 9 |
|
| 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.
|
| 152 |
-
| 0.5263 | 50 | 0.
|
| 153 |
-
| 1.0526 | 100 | 0.
|
| 154 |
-
| 1.5789 | 150 | 0.
|
| 155 |
-
| 2.1053 | 200 | 0.
|
| 156 |
-
| 2.6316 | 250 | 0.
|
| 157 |
| 3.1579 | 300 | 0.002 | - |
|
| 158 |
| 3.6842 | 350 | 0.0017 | - |
|
| 159 |
-
| 4.2105 | 400 | 0.
|
| 160 |
-
| 4.7368 | 450 | 0.
|
| 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 |
-
"
|
| 3 |
-
"
|
| 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:
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e1bc32098b425448c6925fd6e33fecc95d7f31000d6803f2f51822dfd626c4d
|
| 3 |
+
size 62439
|