yemen2016 commited on
Commit
2cb2ea2
1 Parent(s): 279482b

Training in progress, epoch 1

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-4.0
4
+ base_model: NbAiLab/nb-bert-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: nbbert_ED1
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # nbbert_ED1
16
+
17
+ This model is a fine-tuned version of [NbAiLab/nb-bert-base](https://huggingface.co/NbAiLab/nb-bert-base) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.4147
20
+ - F1-score: 0.8769
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-05
40
+ - train_batch_size: 8
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 20
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | F1-score |
50
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
51
+ | No log | 1.0 | 69 | 0.7063 | 0.3425 |
52
+ | No log | 2.0 | 138 | 0.6562 | 0.4700 |
53
+ | No log | 3.0 | 207 | 0.5758 | 0.8114 |
54
+ | No log | 4.0 | 276 | 0.4802 | 0.8441 |
55
+ | No log | 5.0 | 345 | 0.4557 | 0.8096 |
56
+ | No log | 6.0 | 414 | 0.4620 | 0.8597 |
57
+ | No log | 7.0 | 483 | 0.4147 | 0.8769 |
58
+ | 0.4906 | 8.0 | 552 | 0.5979 | 0.8442 |
59
+ | 0.4906 | 9.0 | 621 | 0.6290 | 0.8432 |
60
+ | 0.4906 | 10.0 | 690 | 0.5401 | 0.8443 |
61
+ | 0.4906 | 11.0 | 759 | 0.5805 | 0.8606 |
62
+ | 0.4906 | 12.0 | 828 | 0.6075 | 0.8688 |
63
+ | 0.4906 | 13.0 | 897 | 0.7802 | 0.8436 |
64
+ | 0.4906 | 14.0 | 966 | 0.7530 | 0.8432 |
65
+ | 0.1795 | 15.0 | 1035 | 0.6979 | 0.8606 |
66
+ | 0.1795 | 16.0 | 1104 | 0.7619 | 0.8524 |
67
+ | 0.1795 | 17.0 | 1173 | 0.7760 | 0.8525 |
68
+ | 0.1795 | 18.0 | 1242 | 0.8060 | 0.8525 |
69
+ | 0.1795 | 19.0 | 1311 | 0.8363 | 0.8525 |
70
+ | 0.1795 | 20.0 | 1380 | 0.8305 | 0.8525 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.44.2
76
+ - Pytorch 2.4.0+cu121
77
+ - Datasets 2.21.0
78
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "NbAiLab/nb-bert-base",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 0,
21
+ "pooler_fc_size": 768,
22
+ "pooler_num_attention_heads": 12,
23
+ "pooler_num_fc_layers": 3,
24
+ "pooler_size_per_head": 128,
25
+ "pooler_type": "first_token_transform",
26
+ "position_embedding_type": "absolute",
27
+ "problem_type": "single_label_classification",
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.44.2",
30
+ "type_vocab_size": 2,
31
+ "use_cache": true,
32
+ "vocab_size": 119547
33
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cf258dfa5085ef89081136609396e0681bcef8cf2859bcb0d59e28e4e904aa0
3
+ size 711443456
runs/Sep10_11-44-42_0159380eb78d/events.out.tfevents.1725968708.0159380eb78d.1698.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fae93f9289a561ba0a63ed66529d86ae75ca05ff9554b24230684e7116ca8ecf
3
+ size 12424
runs/Sep10_11-44-42_0159380eb78d/events.out.tfevents.1725969479.0159380eb78d.1698.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:616bb690eb2004a6441acfb36ffb3cc8ba277f4628b2ca7e41de8eaaf52cfa61
3
+ size 411
runs/Sep12_07-42-17_22700fec697b/events.out.tfevents.1726126950.22700fec697b.1983.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f5aaba41d3d4edd2db5ccbdebedfc909085e3aa087f32e47873cb3931670b26
3
+ size 5511
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8a5be6e362a7d4174e13dbe753816693dbe3bdc45e43ac2f3d8a82f7264b178
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff