mennasherif commited on
Commit
00ac4ab
·
verified ·
1 Parent(s): 36dcf05

End of training

Browse files
Files changed (6) hide show
  1. README.md +61 -0
  2. config.json +41 -0
  3. model.safetensors +3 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +14 -0
  6. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: mennas_second_model
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
+ # mennas_second_model
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.4891
21
+ - Accuracy: 0.7702
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: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED 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: 2
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | No log | 1.0 | 376 | 0.5274 | 0.7455 |
53
+ | 0.4616 | 2.0 | 752 | 0.4891 | 0.7702 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 5.0.0
59
+ - Pytorch 2.10.0+cu128
60
+ - Datasets 4.0.0
61
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "cell": {},
9
+ "classifier_dropout": null,
10
+ "dtype": "float32",
11
+ "emb_size": 312,
12
+ "eos_token_id": null,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 312,
16
+ "id2label": {
17
+ "0": "NEGATIVE",
18
+ "1": "POSITIVE"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 1200,
22
+ "is_decoder": false,
23
+ "label2id": {
24
+ "NEGATIVE": 0,
25
+ "POSITIVE": 1
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 4,
32
+ "pad_token_id": 0,
33
+ "pre_trained": "",
34
+ "problem_type": "single_label_classification",
35
+ "structure": [],
36
+ "tie_word_embeddings": true,
37
+ "transformers_version": "5.0.0",
38
+ "type_vocab_size": 2,
39
+ "use_cache": false,
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43c4656bbd1b70863961cdb1f5bba47750178fd4f9d31e62cb15f52a5005ba42
3
+ size 57411792
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "is_local": false,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 1000000000000000019884624838656,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "BertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a47ec485b33ac0aaa3de6df034f30e617e1a58d75bd4a39dccb5aa5c24ca08ee
3
+ size 5201