Add SetFit model
Browse files- README.md +15 -15
- model.safetensors +1 -1
- model_head.pkl +1 -1
README.md
CHANGED
@@ -32,7 +32,7 @@ model-index:
|
|
32 |
split: test
|
33 |
metrics:
|
34 |
- type: accuracy
|
35 |
-
value: 0.
|
36 |
name: Accuracy
|
37 |
---
|
38 |
|
@@ -64,20 +64,20 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
64 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
65 |
|
66 |
### Model Labels
|
67 |
-
| Label | Examples
|
68 |
-
|
69 |
-
|
|
70 |
-
|
|
71 |
-
|
|
72 |
-
|
|
73 |
-
|
|
74 |
|
75 |
## Evaluation
|
76 |
|
77 |
### Metrics
|
78 |
| Label | Accuracy |
|
79 |
|:--------|:---------|
|
80 |
-
| **all** | 0.
|
81 |
|
82 |
## Uses
|
83 |
|
@@ -129,7 +129,7 @@ preds = model("my response to the film is best described as lukewarm .")
|
|
129 |
### Training Set Metrics
|
130 |
| Training set | Min | Median | Max |
|
131 |
|:-------------|:----|:-------|:----|
|
132 |
-
| Word count |
|
133 |
|
134 |
| Label | Training Sample Count |
|
135 |
|:------|:----------------------|
|
@@ -160,11 +160,11 @@ preds = model("my response to the film is best described as lukewarm .")
|
|
160 |
### Training Results
|
161 |
| Epoch | Step | Training Loss | Validation Loss |
|
162 |
|:-----:|:----:|:-------------:|:---------------:|
|
163 |
-
| 0.005 | 1 | 0.
|
164 |
-
| 0.25 | 50 | 0.
|
165 |
-
| 0.5 | 100 | 0.
|
166 |
-
| 0.75 | 150 | 0.
|
167 |
-
| 1.0 | 200 | 0.
|
168 |
|
169 |
### Framework Versions
|
170 |
- Python: 3.8.10
|
|
|
32 |
split: test
|
33 |
metrics:
|
34 |
- type: accuracy
|
35 |
+
value: 0.416289592760181
|
36 |
name: Accuracy
|
37 |
---
|
38 |
|
|
|
64 |
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
65 |
|
66 |
### Model Labels
|
67 |
+
| Label | Examples |
|
68 |
+
|:------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
69 |
+
| 3 | <ul><li>'an indispensable peek at the art and the agony of making people laugh .'</li><li>"there 's a lot to recommend read my lips ."</li><li>'but it also has many of the things that made the first one charming .'</li></ul> |
|
70 |
+
| 1 | <ul><li>'a baffling mixed platter of gritty realism and magic realism with a hard-to-swallow premise .'</li><li>'each scene drags , underscoring the obvious , and sentiment is slathered on top .'</li><li>'even bigger and more ambitious than the first installment , spy kids 2 looks as if it were made by a highly gifted 12-year-old instead of a grown man .'</li></ul> |
|
71 |
+
| 4 | <ul><li>'about schmidt is undoubtedly one of the finest films of the year .'</li><li>'a compelling pre-wwii drama with vivid characters and a warm , moving message .'</li><li>'twenty years later , e.t. is still a cinematic touchstone .'</li></ul> |
|
72 |
+
| 2 | <ul><li>'an unremarkable , modern action\\/comedy buddy movie whose only nod to nostalgia is in the title .'</li><li>'a movie that seems motivated more by a desire to match mortarboards with dead poets society and good will hunting than by its own story .'</li><li>"i ca n't ."</li></ul> |
|
73 |
+
| 0 | <ul><li>'... about as exciting to watch as two last-place basketball teams playing one another on the final day of the season .'</li><li>'... no charm , no laughs , no fun , no reason to watch .'</li><li>'this one aims for the toilet and scores a direct hit .'</li></ul> |
|
74 |
|
75 |
## Evaluation
|
76 |
|
77 |
### Metrics
|
78 |
| Label | Accuracy |
|
79 |
|:--------|:---------|
|
80 |
+
| **all** | 0.4163 |
|
81 |
|
82 |
## Uses
|
83 |
|
|
|
129 |
### Training Set Metrics
|
130 |
| Training set | Min | Median | Max |
|
131 |
|:-------------|:----|:-------|:----|
|
132 |
+
| Word count | 4 | 16.2 | 35 |
|
133 |
|
134 |
| Label | Training Sample Count |
|
135 |
|:------|:----------------------|
|
|
|
160 |
### Training Results
|
161 |
| Epoch | Step | Training Loss | Validation Loss |
|
162 |
|:-----:|:----:|:-------------:|:---------------:|
|
163 |
+
| 0.005 | 1 | 0.2435 | - |
|
164 |
+
| 0.25 | 50 | 0.1137 | - |
|
165 |
+
| 0.5 | 100 | 0.0018 | - |
|
166 |
+
| 0.75 | 150 | 0.0049 | - |
|
167 |
+
| 1.0 | 200 | 0.0026 | - |
|
168 |
|
169 |
### Framework Versions
|
170 |
- 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:c65de1f71dc1e3ebc0ce95488ba957e7bbbdf842a3a854911648b49452e2fc1f
|
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 31631
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6f745d47a3afb02d7be17651d710631f584869c34e4072f7f0be6de043a261c
|
3 |
size 31631
|