Sanjib Narzary commited on
Commit
2d155ba
1 Parent(s): b69f3c3

Bodo BERT Base with All Article of News and General Corpus

Browse files
README.md CHANGED
@@ -1,3 +1,55 @@
1
  ---
2
- license: cc-by-sa-4.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: brx-bert-base-mlm-scratch-article-v1
8
+ results: []
9
  ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # brx-bert-base-mlm-scratch-article-v1
15
+
16
+ This model was trained from scratch on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 8.4517
19
+ - Accuracy: 0.0383
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 2
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3.0
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.26.0.dev0
53
+ - Pytorch 1.12.1+cu113
54
+ - Datasets 2.8.0
55
+ - Tokenizers 0.13.2
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.03827751196172249,
4
+ "eval_loss": 8.45165729522705,
5
+ "eval_runtime": 0.2649,
6
+ "eval_samples": 12,
7
+ "eval_samples_per_second": 45.295,
8
+ "eval_steps_per_second": 22.647,
9
+ "perplexity": 4682.827135132336,
10
+ "train_loss": 8.53661620345823,
11
+ "train_runtime": 1479.3105,
12
+ "train_samples": 5657,
13
+ "train_samples_per_second": 11.472,
14
+ "train_steps_per_second": 5.737
15
+ }
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/sn/pretrained_models/huggingface_pretrained/brx-bert-base-mlm-scratch/pretrained-brx-bert-base-article",
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "cls_token": "[CLS]",
9
+ "do_lower_case": true,
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
+ "mask_token": "[MASK]",
17
+ "max_len": 512,
18
+ "max_position_embeddings": 512,
19
+ "model_max_length": 512,
20
+ "model_type": "bert",
21
+ "num_attention_heads": 12,
22
+ "num_hidden_layers": 12,
23
+ "pad_token": "[PAD]",
24
+ "pad_token_id": 0,
25
+ "position_embedding_type": "absolute",
26
+ "sep_token": "[SEP]",
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.26.0.dev0",
29
+ "type_vocab_size": 2,
30
+ "unk_token": "[UNK]",
31
+ "use_cache": true,
32
+ "vocab_size": 50000
33
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.03827751196172249,
4
+ "eval_loss": 8.45165729522705,
5
+ "eval_runtime": 0.2649,
6
+ "eval_samples": 12,
7
+ "eval_samples_per_second": 45.295,
8
+ "eval_steps_per_second": 22.647,
9
+ "perplexity": 4682.827135132336
10
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741f69b220783c70dd4290987c3baf1d59a1417f3588966bbd12baa13a377320
3
+ size 498043179
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,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 1000000000000000019884624838656,
7
+ "name_or_path": "/home/sn/pretrained_models/huggingface_pretrained/brx-bert-base-mlm-scratch/pretrained-brx-bert-base-article",
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 8.53661620345823,
4
+ "train_runtime": 1479.3105,
5
+ "train_samples": 5657,
6
+ "train_samples_per_second": 11.472,
7
+ "train_steps_per_second": 5.737
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 8487,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.18,
12
+ "learning_rate": 4.705431836927065e-05,
13
+ "loss": 8.8942,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.35,
18
+ "learning_rate": 4.41086367385413e-05,
19
+ "loss": 8.6759,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.53,
24
+ "learning_rate": 4.116295510781195e-05,
25
+ "loss": 8.6327,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.71,
30
+ "learning_rate": 3.82172734770826e-05,
31
+ "loss": 8.6021,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.88,
36
+ "learning_rate": 3.5271591846353246e-05,
37
+ "loss": 8.5811,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 1.06,
42
+ "learning_rate": 3.2325910215623894e-05,
43
+ "loss": 8.5453,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.24,
48
+ "learning_rate": 2.938022858489455e-05,
49
+ "loss": 8.526,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.41,
54
+ "learning_rate": 2.6434546954165195e-05,
55
+ "loss": 8.4978,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 1.59,
60
+ "learning_rate": 2.3488865323435844e-05,
61
+ "loss": 8.4784,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.77,
66
+ "learning_rate": 2.0543183692706496e-05,
67
+ "loss": 8.4831,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 1.94,
72
+ "learning_rate": 1.759750206197714e-05,
73
+ "loss": 8.4657,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 2.12,
78
+ "learning_rate": 1.4651820431247793e-05,
79
+ "loss": 8.464,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 2.3,
84
+ "learning_rate": 1.170613880051844e-05,
85
+ "loss": 8.4781,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 2.47,
90
+ "learning_rate": 8.76045716978909e-06,
91
+ "loss": 8.4584,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 2.65,
96
+ "learning_rate": 5.814775539059739e-06,
97
+ "loss": 8.436,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 2.83,
102
+ "learning_rate": 2.869093908330388e-06,
103
+ "loss": 8.4549,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 3.0,
108
+ "step": 8487,
109
+ "total_flos": 4467864361844736.0,
110
+ "train_loss": 8.53661620345823,
111
+ "train_runtime": 1479.3105,
112
+ "train_samples_per_second": 11.472,
113
+ "train_steps_per_second": 5.737
114
+ }
115
+ ],
116
+ "max_steps": 8487,
117
+ "num_train_epochs": 3,
118
+ "total_flos": 4467864361844736.0,
119
+ "trial_name": null,
120
+ "trial_params": null
121
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c148ad0d2e06033dd45e46c2206a01360d85aa367eec33748e3db7a87c0e86b
3
+ size 3631
vocab.txt ADDED
The diff for this file is too large to render. See raw diff