Add SetFit model
Browse files- README.md +6 -6
- model_head.pkl +1 -1
README.md
CHANGED
@@ -88,11 +88,11 @@ preds = model("I loved the spiderman movie!")
|
|
88 |
## Training Details
|
89 |
|
90 |
### Training Hyperparameters
|
91 |
-
- batch_size: (
|
92 |
-
- num_epochs: (
|
93 |
- max_steps: -1
|
94 |
- sampling_strategy: oversampling
|
95 |
-
- body_learning_rate: (
|
96 |
- head_learning_rate: 0.01
|
97 |
- loss: CosineSimilarityLoss
|
98 |
- distance_metric: cosine_distance
|
@@ -101,15 +101,15 @@ preds = model("I loved the spiderman movie!")
|
|
101 |
- use_amp: False
|
102 |
- warmup_proportion: 0.1
|
103 |
- l2_weight: 0.01
|
104 |
-
- seed:
|
105 |
- eval_max_steps: -1
|
106 |
- load_best_model_at_end: False
|
107 |
|
108 |
### Training Results
|
109 |
| Epoch | Step | Training Loss | Validation Loss |
|
110 |
|:------:|:----:|:-------------:|:---------------:|
|
111 |
-
| 0.
|
112 |
-
|
|
113 |
|
114 |
### Framework Versions
|
115 |
- Python: 3.11.4
|
|
|
88 |
## Training Details
|
89 |
|
90 |
### Training Hyperparameters
|
91 |
+
- batch_size: (4, 4)
|
92 |
+
- num_epochs: (2, 2)
|
93 |
- max_steps: -1
|
94 |
- sampling_strategy: oversampling
|
95 |
+
- body_learning_rate: (1.0036564627932058e-05, 1.0036564627932058e-05)
|
96 |
- head_learning_rate: 0.01
|
97 |
- loss: CosineSimilarityLoss
|
98 |
- distance_metric: cosine_distance
|
|
|
101 |
- use_amp: False
|
102 |
- warmup_proportion: 0.1
|
103 |
- l2_weight: 0.01
|
104 |
+
- seed: 27
|
105 |
- eval_max_steps: -1
|
106 |
- load_best_model_at_end: False
|
107 |
|
108 |
### Training Results
|
109 |
| Epoch | Step | Training Loss | Validation Loss |
|
110 |
|:------:|:----:|:-------------:|:---------------:|
|
111 |
+
| 0.0278 | 1 | 0.1869 | - |
|
112 |
+
| 1.3889 | 50 | 0.2376 | - |
|
113 |
|
114 |
### Framework Versions
|
115 |
- Python: 3.11.4
|
model_head.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 7067
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be12578854eef0fc614eca076ec009e54a6e067ca4e3b30923f3e76b7978de32
|
3 |
size 7067
|