Add SetFit model
Browse files- README.md +9 -9
- model.safetensors +1 -1
- 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.
|
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 |
-
|
|
69 |
-
|
|
70 |
|
71 |
## Evaluation
|
72 |
|
73 |
### Metrics
|
74 |
| Label | Accuracy |
|
75 |
|:--------|:---------|
|
76 |
-
| **all** | 0.
|
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 |
|
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.
|
157 |
-
| 0.625 | 50 | 0.
|
158 |
|
159 |
### Framework Versions
|
160 |
- Python: 3.8.10
|
|
|
31 |
split: test
|
32 |
metrics:
|
33 |
- type: accuracy
|
34 |
+
value: 0.7283582089552239
|
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 |
+
| 0 | <ul><li>'Well, I wore these under my dress and I must say they fit well and I received several compliments .'</li><li>'Gildan makes a sweatshirt as they should be made.'</li><li>'It is very pretty except for the dark color of the felt that was provided for the reindeer.'</li></ul> |
|
69 |
+
| 1 | <ul><li>'If it had a weighted bottom I would have given it 4/5 stars.'</li><li>"I can definitely wear a t-shirt over this bra without the bra showing, but I wish it were padded so nipples don't show through shirts that are more fitted."</li><li>'"But oddly enough, the bottoms are a little too loose in the waist (37\\) and could have used another inch or two in the inseam ( I normally take a 35\\"" or 36\\"" in jeans, depending on the brand if this helps)."""'</li></ul> |
|
70 |
|
71 |
## Evaluation
|
72 |
|
73 |
### Metrics
|
74 |
| Label | Accuracy |
|
75 |
|:--------|:---------|
|
76 |
+
| **all** | 0.7284 |
|
77 |
|
78 |
## Uses
|
79 |
|
|
|
125 |
### Training Set Metrics
|
126 |
| Training set | Min | Median | Max |
|
127 |
|:-------------|:----|:-------|:----|
|
128 |
+
| Word count | 9 | 21.875 | 50 |
|
129 |
|
130 |
| Label | Training Sample Count |
|
131 |
|:------|:----------------------|
|
|
|
153 |
### Training Results
|
154 |
| Epoch | Step | Training Loss | Validation Loss |
|
155 |
|:------:|:----:|:-------------:|:---------------:|
|
156 |
+
| 0.0125 | 1 | 0.2688 | - |
|
157 |
+
| 0.625 | 50 | 0.0015 | - |
|
158 |
|
159 |
### Framework Versions
|
160 |
- Python: 3.8.10
|
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:b55f7d356191c9208a69821dd979d87ecaad43fe1a7baa1b391a88e0dd724f0f
|
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 6991
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65b2f6620fa8fb6811893ed274f0e6c2e0c13bf6781b19aa63ecc91eb00fa51a
|
3 |
size 6991
|