Add SetFit model
Browse files- README.md +11 -11
- 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 |
-
|
|
69 |
-
|
|
70 |
|
71 |
## Evaluation
|
72 |
|
73 |
### Metrics
|
74 |
| Label | Accuracy |
|
75 |
|:--------|:---------|
|
76 |
-
| **all** | 0.
|
77 |
|
78 |
## Uses
|
79 |
|
@@ -123,9 +123,9 @@ preds = model("I wished it had the output on back instead of on the side.")
|
|
123 |
## Training Details
|
124 |
|
125 |
### Training Set Metrics
|
126 |
-
| Training set | Min | Median
|
127 |
-
|
128 |
-
| Word count |
|
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.7492537313432835
|
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>'I would have liked to have had some photos with this ebook, just for breaking up the monotony of the print.'</li><li>'Or if the copy was just the result of scanning the book badly ...thanks to amazon I got a refund but this edition should be taken down!...I am not sure about the good reviews, but Spanish is my first lanngauge and this is a terrible edition of a great book!'</li><li>'Must read but I wished the second book continued their story and not switch to another brother in his family!'</li></ul> |
|
69 |
+
| 0 | <ul><li>'One problem: tried without success to change ear tip from large to small .'</li><li>"I would recommend this book to people that miss Breaking Bad and want to hear a fresh take on Jesse's life."</li><li>"How can I review on a product that I haven't gotten."</li></ul> |
|
70 |
|
71 |
## Evaluation
|
72 |
|
73 |
### Metrics
|
74 |
| Label | Accuracy |
|
75 |
|:--------|:---------|
|
76 |
+
| **all** | 0.7493 |
|
77 |
|
78 |
## Uses
|
79 |
|
|
|
123 |
## Training Details
|
124 |
|
125 |
### Training Set Metrics
|
126 |
+
| Training set | Min | Median | Max |
|
127 |
+
|:-------------|:----|:-------|:----|
|
128 |
+
| Word count | 9 | 22.75 | 50 |
|
129 |
|
130 |
| Label | Training Sample Count |
|
131 |
|:------|:----------------------|
|
|
|
153 |
### Training Results
|
154 |
| Epoch | Step | Training Loss | Validation Loss |
|
155 |
|:------:|:----:|:-------------:|:---------------:|
|
156 |
+
| 0.0125 | 1 | 0.2386 | - |
|
157 |
+
| 0.625 | 50 | 0.0033 | - |
|
158 |
|
159 |
### Framework Versions
|
160 |
- Python: 3.8.10
|
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:7bcb7891170b811263c8daa48859b5428a04ba601706a38f566a7d0383ff62e4
|
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:78cc3441edf70b63e334714ec1ebee296af3ef279a1c062baa5c9e701d51426f
|
3 |
size 6991
|