End of training
Browse files- README.md +13 -16
- config.json +4 -3
- model.safetensors +2 -2
- tokenizer.json +6 -1
- tokenizer_config.json +1 -3
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
-
base_model: thenlper/gte-
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
@@ -15,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# Classify-model-v1.2
|
17 |
|
18 |
-
This model is a fine-tuned version of [thenlper/gte-
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
-
- Accuracy: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -37,28 +37,25 @@ More information needed
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
-
- learning_rate: 0.
|
41 |
- train_batch_size: 128
|
42 |
- eval_batch_size: 128
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
-
- num_epochs:
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
-
| 1.
|
53 |
-
|
|
54 |
-
| 0.
|
55 |
-
| 0.
|
56 |
-
| 0.
|
57 |
-
| 0.
|
58 |
-
| 0.
|
59 |
-
| 0.048 | 8.0 | 88 | 0.3662 | 0.9189 |
|
60 |
-
| 0.037 | 9.0 | 99 | 0.3752 | 0.9189 |
|
61 |
-
| 0.0369 | 10.0 | 110 | 0.3781 | 0.9189 |
|
62 |
|
63 |
|
64 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: thenlper/gte-base
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
15 |
|
16 |
# Classify-model-v1.2
|
17 |
|
18 |
+
This model is a fine-tuned version of [thenlper/gte-base](https://huggingface.co/thenlper/gte-base) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.4658
|
21 |
+
- Accuracy: 0.8571
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
- train_batch_size: 128
|
42 |
- eval_batch_size: 128
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 7
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 1.5854 | 1.0 | 11 | 1.2455 | 0.5982 |
|
53 |
+
| 1.0011 | 2.0 | 22 | 0.7630 | 0.7679 |
|
54 |
+
| 0.5023 | 3.0 | 33 | 0.5095 | 0.8393 |
|
55 |
+
| 0.2185 | 4.0 | 44 | 0.4658 | 0.8304 |
|
56 |
+
| 0.0995 | 5.0 | 55 | 0.4605 | 0.8571 |
|
57 |
+
| 0.0582 | 6.0 | 66 | 0.4858 | 0.8482 |
|
58 |
+
| 0.0392 | 7.0 | 77 | 0.4658 | 0.8571 |
|
|
|
|
|
|
|
59 |
|
60 |
|
61 |
### Framework versions
|
config.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "thenlper/gte-
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
-
"hidden_size":
|
11 |
"id2label": {
|
12 |
"0": "LABEL_0",
|
13 |
"1": "LABEL_1",
|
@@ -17,7 +18,7 @@
|
|
17 |
"5": "LABEL_5"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
-
"intermediate_size":
|
21 |
"label2id": {
|
22 |
"LABEL_0": 0,
|
23 |
"LABEL_1": 1,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "thenlper/gte-base",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
"0": "LABEL_0",
|
14 |
"1": "LABEL_1",
|
|
|
18 |
"5": "LABEL_5"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
"LABEL_0": 0,
|
24 |
"LABEL_1": 1,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c100356729b3dd5fbdf87535b5dacc34ee10e089af7848831033001cd667ccf1
|
3 |
+
size 437970952
|
tokenizer.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": {
|
5 |
"strategy": "BatchLongest",
|
6 |
"direction": "Right",
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 512,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
"padding": {
|
10 |
"strategy": "BatchLongest",
|
11 |
"direction": "Right",
|
tokenizer_config.json
CHANGED
@@ -43,12 +43,10 @@
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
46 |
-
"do_basic_tokenize": true,
|
47 |
"do_lower_case": true,
|
48 |
"mask_token": "[MASK]",
|
49 |
"max_length": 128,
|
50 |
-
"model_max_length":
|
51 |
-
"never_split": null,
|
52 |
"pad_to_multiple_of": null,
|
53 |
"pad_token": "[PAD]",
|
54 |
"pad_token_type_id": 0,
|
|
|
43 |
},
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
"cls_token": "[CLS]",
|
|
|
46 |
"do_lower_case": true,
|
47 |
"mask_token": "[MASK]",
|
48 |
"max_length": 128,
|
49 |
+
"model_max_length": 512,
|
|
|
50 |
"pad_to_multiple_of": null,
|
51 |
"pad_token": "[PAD]",
|
52 |
"pad_token_type_id": 0,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8eda77e730b2be62b53ce3762284532f364bbc4600fa1b655399fcb7c70d9e0d
|
3 |
size 4984
|