gates04 commited on
Commit
15a0c1c
·
verified ·
1 Parent(s): b7dd30c

End of training

Browse files
Files changed (4) hide show
  1. README.md +85 -0
  2. config.json +84 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: huawei-noah/TinyBERT_General_4L_312D
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: Structured-FP16-KD-NID
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # Structured-FP16-KD-NID
19
+
20
+ This model is a fine-tuned version of [huawei-noah/TinyBERT_General_4L_312D](https://huggingface.co/huawei-noah/TinyBERT_General_4L_312D) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0343
23
+ - Accuracy: 0.9926
24
+ - Precision: 0.9546
25
+ - Recall: 0.9514
26
+ - F1 score: 0.9515
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 650
47
+ - eval_batch_size: 650
48
+ - seed: 42
49
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 20
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 score |
57
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:---------:|:------:|:--------:|
58
+ | 0.1509 | 1.0 | 1828 | 0.1228 | 0.9830 | 0.8658 | 0.8392 | 0.8343 |
59
+ | 0.0961 | 2.0 | 3656 | 0.0884 | 0.9865 | 0.9110 | 0.8672 | 0.8652 |
60
+ | 0.0812 | 3.0 | 5484 | 0.0763 | 0.9879 | 0.9152 | 0.8869 | 0.8882 |
61
+ | 0.073 | 4.0 | 7312 | 0.0650 | 0.9889 | 0.9252 | 0.8966 | 0.9007 |
62
+ | 0.0605 | 5.0 | 9140 | 0.0568 | 0.9897 | 0.9272 | 0.9026 | 0.9075 |
63
+ | 0.0571 | 6.0 | 10968 | 0.0516 | 0.9902 | 0.9131 | 0.9202 | 0.9156 |
64
+ | 0.0487 | 7.0 | 12796 | 0.0460 | 0.9909 | 0.9282 | 0.9228 | 0.9247 |
65
+ | 0.045 | 8.0 | 14624 | 0.0471 | 0.9907 | 0.9219 | 0.9208 | 0.9196 |
66
+ | 0.0396 | 9.0 | 16452 | 0.0443 | 0.9910 | 0.9279 | 0.9253 | 0.9258 |
67
+ | 0.0409 | 10.0 | 18280 | 0.0422 | 0.9913 | 0.9269 | 0.9315 | 0.9288 |
68
+ | 0.0366 | 11.0 | 20108 | 0.0397 | 0.9916 | 0.9264 | 0.9359 | 0.9308 |
69
+ | 0.037 | 12.0 | 21936 | 0.0387 | 0.9919 | 0.9336 | 0.9307 | 0.9308 |
70
+ | 0.0367 | 13.0 | 23764 | 0.0374 | 0.9921 | 0.9317 | 0.9340 | 0.9320 |
71
+ | 0.0315 | 14.0 | 25592 | 0.0379 | 0.9921 | 0.9313 | 0.9376 | 0.9338 |
72
+ | 0.0325 | 15.0 | 27420 | 0.0353 | 0.9925 | 0.9319 | 0.9389 | 0.9349 |
73
+ | 0.0299 | 16.0 | 29248 | 0.0351 | 0.9924 | 0.9324 | 0.9376 | 0.9347 |
74
+ | 0.028 | 17.0 | 31076 | 0.0350 | 0.9924 | 0.9426 | 0.9462 | 0.9424 |
75
+ | 0.0303 | 18.0 | 32904 | 0.0347 | 0.9926 | 0.9541 | 0.9494 | 0.9501 |
76
+ | 0.0255 | 19.0 | 34732 | 0.0345 | 0.9926 | 0.9520 | 0.9501 | 0.9501 |
77
+ | 0.0259 | 20.0 | 36560 | 0.0343 | 0.9926 | 0.9546 | 0.9514 | 0.9515 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.49.0
83
+ - Pytorch 2.6.0+cu124
84
+ - Datasets 3.4.1
85
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "huawei-noah/TinyBERT_General_4L_312D",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "cell": {},
10
+ "dim": 312,
11
+ "dropout": 0.1,
12
+ "emb_size": 312,
13
+ "hidden_act": "gelu",
14
+ "hidden_dim": 3072,
15
+ "hidden_dropout_prob": 0.1,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2",
20
+ "3": "LABEL_3",
21
+ "4": "LABEL_4",
22
+ "5": "LABEL_5",
23
+ "6": "LABEL_6",
24
+ "7": "LABEL_7",
25
+ "8": "LABEL_8",
26
+ "9": "LABEL_9",
27
+ "10": "LABEL_10",
28
+ "11": "LABEL_11",
29
+ "12": "LABEL_12",
30
+ "13": "LABEL_13",
31
+ "14": "LABEL_14",
32
+ "15": "LABEL_15",
33
+ "16": "LABEL_16",
34
+ "17": "LABEL_17",
35
+ "18": "LABEL_18",
36
+ "19": "LABEL_19",
37
+ "20": "LABEL_20",
38
+ "21": "LABEL_21",
39
+ "22": "LABEL_22",
40
+ "23": "LABEL_23"
41
+ },
42
+ "initializer_range": 0.02,
43
+ "intermediate_size": 1200,
44
+ "label2id": {
45
+ "LABEL_0": 0,
46
+ "LABEL_1": 1,
47
+ "LABEL_10": 10,
48
+ "LABEL_11": 11,
49
+ "LABEL_12": 12,
50
+ "LABEL_13": 13,
51
+ "LABEL_14": 14,
52
+ "LABEL_15": 15,
53
+ "LABEL_16": 16,
54
+ "LABEL_17": 17,
55
+ "LABEL_18": 18,
56
+ "LABEL_19": 19,
57
+ "LABEL_2": 2,
58
+ "LABEL_20": 20,
59
+ "LABEL_21": 21,
60
+ "LABEL_22": 22,
61
+ "LABEL_23": 23,
62
+ "LABEL_3": 3,
63
+ "LABEL_4": 4,
64
+ "LABEL_5": 5,
65
+ "LABEL_6": 6,
66
+ "LABEL_7": 7,
67
+ "LABEL_8": 8,
68
+ "LABEL_9": 9
69
+ },
70
+ "max_position_embeddings": 512,
71
+ "model_type": "distilbert",
72
+ "n_heads": 12,
73
+ "n_layers": 4,
74
+ "pad_token_id": 0,
75
+ "pre_trained": "",
76
+ "qa_dropout": 0.1,
77
+ "seq_classif_dropout": 0.2,
78
+ "sinusoidal_pos_embds": false,
79
+ "structure": [],
80
+ "torch_dtype": "float32",
81
+ "transformers_version": "4.49.0",
82
+ "type_vocab_size": 2,
83
+ "vocab_size": 30522
84
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec72786fc702dec1335c6d1d3ea1481fc98165d4ace0c3997c90d0758fe73a6
3
+ size 76157040
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0331eeab15327b6fd4c0dace557f6c214899b8500a057b6b086dcf5b277268e8
3
+ size 5304