Add SetFit model
Browse files- README.md +9 -9
- config_setfit.json +2 -2
- 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 |
-
| 1 | <ul><li>
|
69 |
-
| 0 | <ul><li>'
|
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.6701492537313433
|
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 |
+
| 1 | <ul><li>"If harder wood would have been used this would not be an issue, and it's the jig's biggest design flaw IMO...very disappointing."</li><li>'I felt the books could have been condensed into two or even one.'</li><li>'Should have an option for a big bigger though.'</li></ul> |
|
69 |
+
| 0 | <ul><li>'But all in all they provide a box within which I can place my books on a shelf in the garage without worry.'</li><li>'The only drawback for me is that there should be a slightly larger earbud with these.'</li><li>'I just wanted something to protect my chair while my furry friend sat with me!'</li></ul> |
|
70 |
|
71 |
## Evaluation
|
72 |
|
73 |
### Metrics
|
74 |
| Label | Accuracy |
|
75 |
|:--------|:---------|
|
76 |
+
| **all** | 0.6701 |
|
77 |
|
78 |
## Uses
|
79 |
|
|
|
125 |
### Training Set Metrics
|
126 |
| Training set | Min | Median | Max |
|
127 |
|:-------------|:----|:-------|:----|
|
128 |
+
| Word count | 9 | 16.375 | 26 |
|
129 |
|
130 |
| Label | Training Sample Count |
|
131 |
|:------|:----------------------|
|
|
|
153 |
### Training Results
|
154 |
| Epoch | Step | Training Loss | Validation Loss |
|
155 |
|:------:|:----:|:-------------:|:---------------:|
|
156 |
+
| 0.0125 | 1 | 0.208 | - |
|
157 |
+
| 0.625 | 50 | 0.0007 | - |
|
158 |
|
159 |
### Framework Versions
|
160 |
- Python: 3.8.10
|
config_setfit.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"labels": null,
|
3 |
+
"normalize_embeddings": false
|
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:39977b457ab9734328e71d775cbd68093fdcf44581eb29ef1da3ababba16dbba
|
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:62ad1a0497d32fa94d82eccce5ee0c4df59c1410f9cca4742e3f752e1ab0e95c
|
3 |
size 6991
|