Sanzana Lora
commited on
Commit
•
9a29b8b
1
Parent(s):
7bd9fc7
Upload 11 files
Browse files- config.json +43 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- trainer_state.json +76 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "csebuetnlp/banglabert",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": 0,
|
14 |
+
"1": 1,
|
15 |
+
"2": 2
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"0": 0,
|
21 |
+
"1": 1,
|
22 |
+
"2": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "electra",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"summary_activation": "gelu",
|
33 |
+
"summary_last_dropout": 0.1,
|
34 |
+
"summary_type": "first",
|
35 |
+
"summary_use_proj": true,
|
36 |
+
"task_specific_params": {
|
37 |
+
"finetuned": true
|
38 |
+
},
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.11.0.dev0",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"vocab_size": 32000
|
43 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02beba05584c751c3d3ac175d5bec51090ef82889f9ea239302a4f078b2af324
|
3 |
+
size 885083345
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:668c4a0ad68897681e24370dde42e9a68301098659483716309e86232d28d00a
|
3 |
+
size 442569161
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3192583f527d731f7eacd327b0ae96db503f69259f461b511d4a2debb1a4fba
|
3 |
+
size 14657
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91d9112604f9151814fbabf650061431121280f4a3332b1d5f30e0b406f999a9
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab30e4fc2dcc56bde2f92dcb3c805b8cb3b5dd1ceaf6254ac78d236527ee31b1
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": false, "strip_accents": null, "special_tokens_map_file": null, "full_tokenizer_file": null, "tokenizer_file": null, "name_or_path": "csebuetnlp/banglabert", "tokenizer_class": "ElectraTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.7233428496645763,
|
3 |
+
"best_model_checkpoint": "outputs/banglabert/checkpoint-1179",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 1179,
|
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.0,
|
12 |
+
"learning_rate": 3.3898305084745766e-07,
|
13 |
+
"loss": 1.1083,
|
14 |
+
"step": 1
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"learning_rate": 2.970782280867107e-05,
|
19 |
+
"loss": 0.7903,
|
20 |
+
"step": 393
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.0,
|
24 |
+
"eval_accuracy": 0.7364390555201021,
|
25 |
+
"eval_f1": 0.6591342767636649,
|
26 |
+
"eval_loss": 0.6260421276092529,
|
27 |
+
"eval_precision": 0.716418619657342,
|
28 |
+
"eval_recall": 0.6696257402218171,
|
29 |
+
"eval_runtime": 0.9075,
|
30 |
+
"eval_samples_per_second": 1726.789,
|
31 |
+
"eval_steps_per_second": 53.997,
|
32 |
+
"step": 393
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"learning_rate": 1.4891611687087655e-05,
|
37 |
+
"loss": 0.5167,
|
38 |
+
"step": 786
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.0,
|
42 |
+
"eval_accuracy": 0.7523931078493937,
|
43 |
+
"eval_f1": 0.6965041241727926,
|
44 |
+
"eval_loss": 0.6028799414634705,
|
45 |
+
"eval_precision": 0.7288354571291619,
|
46 |
+
"eval_recall": 0.6975188399488532,
|
47 |
+
"eval_runtime": 0.907,
|
48 |
+
"eval_samples_per_second": 1727.768,
|
49 |
+
"eval_steps_per_second": 54.027,
|
50 |
+
"step": 786
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.0,
|
54 |
+
"learning_rate": 7.540056550424129e-08,
|
55 |
+
"loss": 0.3229,
|
56 |
+
"step": 1179
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.0,
|
60 |
+
"eval_accuracy": 0.7587747287811104,
|
61 |
+
"eval_f1": 0.7233428496645763,
|
62 |
+
"eval_loss": 0.6502572298049927,
|
63 |
+
"eval_precision": 0.7325984484643606,
|
64 |
+
"eval_recall": 0.7204468990033644,
|
65 |
+
"eval_runtime": 0.9072,
|
66 |
+
"eval_samples_per_second": 1727.261,
|
67 |
+
"eval_steps_per_second": 54.011,
|
68 |
+
"step": 1179
|
69 |
+
}
|
70 |
+
],
|
71 |
+
"max_steps": 1179,
|
72 |
+
"num_train_epochs": 3,
|
73 |
+
"total_flos": 1049740313791680.0,
|
74 |
+
"trial_name": null,
|
75 |
+
"trial_params": null
|
76 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:647f0a1915874e3220e263708fb7a3b71287c2a4a078bd97b436ac66a30723a5
|
3 |
+
size 2671
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|