khalidsaifullaah commited on
Commit
3b9172a
1 Parent(s): 9e24d3a
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - null
6
+ model_index:
7
+ - name: bengali-lyricist-gpt2
8
+ results:
9
+ - task:
10
+ name: Causal Language Modeling
11
+ type: text-generation
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # bengali-lyricist-gpt2
18
+
19
+ This model is a fine-tuned version of [flax-community/gpt2-bengali](https://huggingface.co/flax-community/gpt2-bengali) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.1199
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: 5e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 30
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | No log | 1.0 | 284 | 2.0302 |
53
+ | 1.9991 | 2.0 | 568 | 2.0079 |
54
+ | 1.9991 | 3.0 | 852 | 1.9956 |
55
+ | 1.9135 | 4.0 | 1136 | 1.9885 |
56
+ | 1.9135 | 5.0 | 1420 | 1.9840 |
57
+ | 1.8561 | 6.0 | 1704 | 1.9831 |
58
+ | 1.8561 | 7.0 | 1988 | 1.9828 |
59
+ | 1.8094 | 8.0 | 2272 | 1.9827 |
60
+ | 1.7663 | 9.0 | 2556 | 1.9868 |
61
+ | 1.7663 | 10.0 | 2840 | 1.9902 |
62
+ | 1.7279 | 11.0 | 3124 | 1.9961 |
63
+ | 1.7279 | 12.0 | 3408 | 2.0023 |
64
+ | 1.6887 | 13.0 | 3692 | 2.0092 |
65
+ | 1.6887 | 14.0 | 3976 | 2.0162 |
66
+ | 1.6546 | 15.0 | 4260 | 2.0225 |
67
+ | 1.6217 | 16.0 | 4544 | 2.0315 |
68
+ | 1.6217 | 17.0 | 4828 | 2.0410 |
69
+ | 1.5953 | 18.0 | 5112 | 2.0474 |
70
+ | 1.5953 | 19.0 | 5396 | 2.0587 |
71
+ | 1.5648 | 20.0 | 5680 | 2.0679 |
72
+ | 1.5648 | 21.0 | 5964 | 2.0745 |
73
+ | 1.5413 | 22.0 | 6248 | 2.0836 |
74
+ | 1.5238 | 23.0 | 6532 | 2.0890 |
75
+ | 1.5238 | 24.0 | 6816 | 2.0969 |
76
+ | 1.5043 | 25.0 | 7100 | 2.1035 |
77
+ | 1.5043 | 26.0 | 7384 | 2.1091 |
78
+ | 1.4936 | 27.0 | 7668 | 2.1135 |
79
+ | 1.4936 | 28.0 | 7952 | 2.1172 |
80
+ | 1.4822 | 29.0 | 8236 | 2.1186 |
81
+ | 1.4783 | 30.0 | 8520 | 2.1199 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.9.0.dev0
87
+ - Pytorch 1.9.0+cu102
88
+ - Datasets 1.9.1.dev0
89
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "flax-community/gpt2-bengali",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 768,
17
+ "n_head": 12,
18
+ "n_inner": null,
19
+ "n_layer": 12,
20
+ "n_positions": 1024,
21
+ "resid_pdrop": 0.0,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 50
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.9.0.dev0",
36
+ "use_cache": true,
37
+ "vocab_size": 50257
38
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:983e646c98afd8161f68fb1786361c5235c14c0fcb727d401ce94364b68269a5
3
+ size 510401385
runs/Jul17_00-09-14_t1v-n-905ccd3e-w-0/1626480556.0706666/events.out.tfevents.1626480556.t1v-n-905ccd3e-w-0.173730.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:702449dee472e7116925955bccf41d0e997b955e51ef025ade60a31d5126fdae
3
+ size 4230
runs/Jul17_00-09-14_t1v-n-905ccd3e-w-0/events.out.tfevents.1626480556.t1v-n-905ccd3e-w-0.173730.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab448126c4524f611ce287a83b4616d006a9822e01055560b9becf151d850dda
3
+ size 40
runs/Jul17_00-12-58_t1v-n-905ccd3e-w-0/1626480779.5258272/events.out.tfevents.1626480779.t1v-n-905ccd3e-w-0.178463.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ca8014977c3cb6faf0c1dd225032e5d42fdfb899cb0c9f568f6ee57b8a03211
3
+ size 4230
runs/Jul17_00-12-58_t1v-n-905ccd3e-w-0/events.out.tfevents.1626480779.t1v-n-905ccd3e-w-0.178463.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a91077a754ad0e3d9c49e29e717e30762f363cd97c5ef6568e21deadfb8b5bc6
3
+ size 14393
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86f02b874f7532f043b74b8d4d5b7eaaf9eeb1e9f69d8f00314742b7b8024743
3
+ size 2671