Sohaib commited on
Commit
3e85876
·
verified ·
1 Parent(s): 6e42386

Sohaib/tinyBert-router-v0.2

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ model-index:
9
+ - name: tinyBert-router-v0.1
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # tinyBert-router-v0.1
17
+
18
+ This model is a fine-tuned version of [huawei-noah/TinyBERT_General_4L_312D](https://huggingface.co/huawei-noah/TinyBERT_General_4L_312D) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2489
21
+ - Accuracy: 1.0
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 2
42
+ - eval_batch_size: 2
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 6
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | No log | 1.0 | 29 | 0.6853 | 0.52 |
53
+ | No log | 2.0 | 58 | 0.5893 | 0.96 |
54
+ | No log | 3.0 | 87 | 0.4202 | 1.0 |
55
+ | No log | 4.0 | 116 | 0.3176 | 1.0 |
56
+ | No log | 5.0 | 145 | 0.2649 | 1.0 |
57
+ | No log | 6.0 | 174 | 0.2489 | 1.0 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.49.0.dev0
63
+ - Pytorch 2.5.1+cu121
64
+ - Datasets 3.2.0
65
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "huawei-noah/TinyBERT_General_4L_312D",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "cell": {},
8
+ "classifier_dropout": null,
9
+ "emb_size": 312,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 312,
13
+ "id2label": {
14
+ "0": "history_of_cars",
15
+ "1": "sleep_science"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 1200,
19
+ "label2id": {
20
+ "history_of_cars": 0,
21
+ "sleep_science": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 4,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "pre_trained": "",
31
+ "problem_type": "single_label_classification",
32
+ "structure": [],
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.49.0.dev0",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
+ "vocab_size": 30522
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b22e1790718c39d132e0640a1bd4cf92b56106465675177086748eb2a7e58832
3
+ size 57411808
runs/Jan17_01-15-27_5f4211046702/events.out.tfevents.1737076534.5f4211046702.967.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b72d388675ed4d7070b43b09e903517323e3d12914de29db05b5092ece931e3e
3
+ size 6525
runs/Jan17_01-22-14_5f4211046702/events.out.tfevents.1737076944.5f4211046702.15036.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e4c619894c906fbee07c7028a204031a2d9e45ec89f3085d7cffdb8c107b7d0
3
+ size 6880
runs/Jan17_01-23-38_5f4211046702/events.out.tfevents.1737077020.5f4211046702.15036.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ad640a167d54ffa36fb98ff4d90a3497c2e8b4da58cfb936cf193e924c6e6b8
3
+ size 7855
runs/Jan17_01-26-40_5f4211046702/events.out.tfevents.1737077203.5f4211046702.16743.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edecbe796619d1866a38cc0c4c0280332c395708a062f03e272da3733f5a63a8
3
+ size 7532
runs/Jan17_01-26-40_5f4211046702/events.out.tfevents.1737077272.5f4211046702.16743.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee788413035597e196c41bd93077ec3bd0ce5b036e9b8905750bfa9f50456358
3
+ size 734
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caaa57ce0ad44d1ba3ca6a35901223f908c81095efceb3b6265fe600f10445d3
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff