Hello gpt-qa
Browse files- README.md +0 -0
- config.json +44 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +151 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
File without changes
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "flax-community/gpt2-medium-persian",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 6,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 5,
|
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": 1024,
|
17 |
+
"n_head": 16,
|
18 |
+
"n_inner": null,
|
19 |
+
"n_layer": 24,
|
20 |
+
"n_positions": 1024,
|
21 |
+
"n_special": 0,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"predict_special_tokens": true,
|
24 |
+
"resid_pdrop": 0.1,
|
25 |
+
"scale_attn_weights": true,
|
26 |
+
"summary_activation": null,
|
27 |
+
"summary_first_dropout": 0.1,
|
28 |
+
"summary_proj_to_labels": true,
|
29 |
+
"summary_type": "cls_index",
|
30 |
+
"summary_use_proj": true,
|
31 |
+
"task_specific_params": {
|
32 |
+
"text-generation": {
|
33 |
+
"do_sample": true,
|
34 |
+
"max_length": 256,
|
35 |
+
"min_length": 32,
|
36 |
+
"top_k": 50,
|
37 |
+
"top_p": 0.95
|
38 |
+
}
|
39 |
+
},
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.9.0.dev0",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 50000
|
44 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:713c4de95949544ece528027ee762f59a128baf0ed4b9db9da6ca99429469c3e
|
3 |
+
size 1443528665
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<|startoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<unk>", "pad_token": "<pad>"}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b56dc1acc04c811f07b8561c4e92f3e1130743be543ae36174f6a5aee298231c
|
3 |
+
size 1418594792
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<|startoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "pad_token": "<pad>", "special_tokens_map_file": null, "name_or_path": "flax-community/gpt2-medium-persian", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.9998406882268602,
|
5 |
+
"global_step": 9414,
|
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.32,
|
12 |
+
"learning_rate": 2.4875e-05,
|
13 |
+
"loss": 4.2616,
|
14 |
+
"step": 1000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.32,
|
18 |
+
"eval_loss": 2.4269070625305176,
|
19 |
+
"eval_runtime": 59.5268,
|
20 |
+
"eval_samples_per_second": 10.936,
|
21 |
+
"eval_steps_per_second": 10.936,
|
22 |
+
"step": 1000
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 0.64,
|
26 |
+
"learning_rate": 4.9850000000000006e-05,
|
27 |
+
"loss": 1.9451,
|
28 |
+
"step": 2000
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 0.64,
|
32 |
+
"eval_loss": 1.3068270683288574,
|
33 |
+
"eval_runtime": 59.0527,
|
34 |
+
"eval_samples_per_second": 11.024,
|
35 |
+
"eval_steps_per_second": 11.024,
|
36 |
+
"step": 2000
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 0.96,
|
40 |
+
"learning_rate": 4.329646614513084e-05,
|
41 |
+
"loss": 1.5082,
|
42 |
+
"step": 3000
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 0.96,
|
46 |
+
"eval_loss": 1.131048560142517,
|
47 |
+
"eval_runtime": 59.5847,
|
48 |
+
"eval_samples_per_second": 10.926,
|
49 |
+
"eval_steps_per_second": 10.926,
|
50 |
+
"step": 3000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 1.27,
|
54 |
+
"learning_rate": 3.6559212301052064e-05,
|
55 |
+
"loss": 1.1402,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.27,
|
60 |
+
"eval_loss": 1.0661729574203491,
|
61 |
+
"eval_runtime": 59.6476,
|
62 |
+
"eval_samples_per_second": 10.914,
|
63 |
+
"eval_steps_per_second": 10.914,
|
64 |
+
"step": 4000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 1.59,
|
68 |
+
"learning_rate": 2.9815214459131374e-05,
|
69 |
+
"loss": 1.0806,
|
70 |
+
"step": 5000
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 1.59,
|
74 |
+
"eval_loss": 1.0320521593093872,
|
75 |
+
"eval_runtime": 59.5322,
|
76 |
+
"eval_samples_per_second": 10.935,
|
77 |
+
"eval_steps_per_second": 10.935,
|
78 |
+
"step": 5000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 1.91,
|
82 |
+
"learning_rate": 2.3071216617210683e-05,
|
83 |
+
"loss": 1.0331,
|
84 |
+
"step": 6000
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 1.91,
|
88 |
+
"eval_loss": 1.0125774145126343,
|
89 |
+
"eval_runtime": 58.9824,
|
90 |
+
"eval_samples_per_second": 11.037,
|
91 |
+
"eval_steps_per_second": 11.037,
|
92 |
+
"step": 6000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 2.23,
|
96 |
+
"learning_rate": 1.6327218775289993e-05,
|
97 |
+
"loss": 0.8337,
|
98 |
+
"step": 7000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 2.23,
|
102 |
+
"eval_loss": 1.0233821868896484,
|
103 |
+
"eval_runtime": 59.1959,
|
104 |
+
"eval_samples_per_second": 10.997,
|
105 |
+
"eval_steps_per_second": 10.997,
|
106 |
+
"step": 7000
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 2.55,
|
110 |
+
"learning_rate": 9.589964931211222e-06,
|
111 |
+
"loss": 0.7498,
|
112 |
+
"step": 8000
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 2.55,
|
116 |
+
"eval_loss": 1.0264060497283936,
|
117 |
+
"eval_runtime": 59.237,
|
118 |
+
"eval_samples_per_second": 10.99,
|
119 |
+
"eval_steps_per_second": 10.99,
|
120 |
+
"step": 8000
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 2.87,
|
124 |
+
"learning_rate": 2.852711087132452e-06,
|
125 |
+
"loss": 0.7291,
|
126 |
+
"step": 9000
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 2.87,
|
130 |
+
"eval_loss": 1.0013467073440552,
|
131 |
+
"eval_runtime": 59.1148,
|
132 |
+
"eval_samples_per_second": 11.012,
|
133 |
+
"eval_steps_per_second": 11.012,
|
134 |
+
"step": 9000
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 3.0,
|
138 |
+
"step": 9414,
|
139 |
+
"total_flos": 9795205750726656.0,
|
140 |
+
"train_loss": 1.4433987489647233,
|
141 |
+
"train_runtime": 7416.9186,
|
142 |
+
"train_samples_per_second": 2.539,
|
143 |
+
"train_steps_per_second": 1.269
|
144 |
+
}
|
145 |
+
],
|
146 |
+
"max_steps": 9414,
|
147 |
+
"num_train_epochs": 3,
|
148 |
+
"total_flos": 9795205750726656.0,
|
149 |
+
"trial_name": null,
|
150 |
+
"trial_params": null
|
151 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e398317235c15315fdcc2e1dac04c9bc69070f57b45724d368fe39ba3e65e1c7
|
3 |
+
size 2735
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|