Add SetFit model
Browse files- README.md +8 -8
- model.safetensors +1 -1
- 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 |
-
|
|
68 |
-
|
|
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.
|
128 |
|
129 |
| Label | Training Sample Count |
|
130 |
|:------|:----------------------|
|
131 |
-
| 0 |
|
132 |
-
| 1 |
|
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.
|
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:
|
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:
|
3 |
size 7013
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:960f91ea38d617fea8e55beccde57301118285a9427d4c7deb445ac0263ccdbc
|
3 |
size 7013
|