Push model using huggingface_hub.
Browse files- README.md +11 -7
- config.json +1 -1
- config_setfit.json +2 -2
- model.safetensors +1 -1
- model_head.pkl +1 -1
README.md
CHANGED
@@ -144,24 +144,28 @@ preds = model("Thank you for your email. Please go ahead and issue. Please invoi
|
|
144 |
- num_epochs: (2, 2)
|
145 |
- max_steps: -1
|
146 |
- sampling_strategy: oversampling
|
147 |
-
- num_iterations:
|
148 |
-
- body_learning_rate: (0.
|
149 |
-
- head_learning_rate: 0.
|
150 |
- loss: CosineSimilarityLoss
|
151 |
- distance_metric: cosine_distance
|
152 |
- margin: 0.25
|
153 |
- end_to_end: False
|
154 |
- use_amp: False
|
155 |
- warmup_proportion: 0.1
|
|
|
156 |
- seed: 42
|
157 |
- eval_max_steps: -1
|
158 |
-
- load_best_model_at_end:
|
159 |
|
160 |
### Training Results
|
161 |
-
| Epoch
|
162 |
-
|
163 |
-
| 0.
|
|
|
|
|
164 |
|
|
|
165 |
### Framework Versions
|
166 |
- Python: 3.10.12
|
167 |
- SetFit: 1.1.0.dev0
|
|
|
144 |
- num_epochs: (2, 2)
|
145 |
- max_steps: -1
|
146 |
- sampling_strategy: oversampling
|
147 |
+
- num_iterations: 2
|
148 |
+
- body_learning_rate: (0.0005201181161511404, 0.0005201181161511404)
|
149 |
+
- head_learning_rate: 0.00021200244124154418
|
150 |
- loss: CosineSimilarityLoss
|
151 |
- distance_metric: cosine_distance
|
152 |
- margin: 0.25
|
153 |
- end_to_end: False
|
154 |
- use_amp: False
|
155 |
- warmup_proportion: 0.1
|
156 |
+
- max_length: 512
|
157 |
- seed: 42
|
158 |
- eval_max_steps: -1
|
159 |
+
- load_best_model_at_end: True
|
160 |
|
161 |
### Training Results
|
162 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
163 |
+
|:-------:|:------:|:-------------:|:---------------:|
|
164 |
+
| 0.0476 | 1 | 0.2504 | - |
|
165 |
+
| 1.0 | 21 | - | 0.0691 |
|
166 |
+
| **2.0** | **42** | **-** | **0.0445** |
|
167 |
|
168 |
+
* The bold row denotes the saved checkpoint.
|
169 |
### Framework Versions
|
170 |
- Python: 3.10.12
|
171 |
- SetFit: 1.1.0.dev0
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertModel"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "checkpoints/step_42",
|
3 |
"architectures": [
|
4 |
"BertModel"
|
5 |
],
|
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 90864192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6d5bbed3f8e6e3c26eff6f9789b1143287d78fede70452eda4cef3333b833f1
|
3 |
size 90864192
|
model_head.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 44071
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccc2b30a2521323751b38ef4e29d5ee8e2b6a71e33d25feb0e726b505e7f89dd
|
3 |
size 44071
|