Saving weights and logs of step 10000
Browse files- config.json +28 -0
- create_config.py +4 -0
- events.out.tfevents.1632155327.t1v-n-a286def5-w-0.2744007.3.v2 +3 -0
- flax_model.msgpack +3 -0
- run_t5_mlm_flax.py +0 -0
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/patrick/hugging_face/t5/t5-v1_1-base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 2048,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 768,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dropout_rate": 0.1,
|
11 |
+
"eos_token_id": 1,
|
12 |
+
"feed_forward_proj": "gated-gelu",
|
13 |
+
"gradient_checkpointing": false,
|
14 |
+
"initializer_factor": 1.0,
|
15 |
+
"is_encoder_decoder": true,
|
16 |
+
"layer_norm_epsilon": 1e-06,
|
17 |
+
"model_type": "t5",
|
18 |
+
"num_decoder_layers": 12,
|
19 |
+
"num_heads": 12,
|
20 |
+
"num_layers": 12,
|
21 |
+
"output_past": true,
|
22 |
+
"pad_token_id": 0,
|
23 |
+
"relative_attention_num_buckets": 32,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"transformers_version": "4.10.2",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 32103
|
28 |
+
}
|
create_config.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import T5Config
|
2 |
+
|
3 |
+
config = T5Config.from_pretrained("google/t5-v1_1-base", vocab_size=32_000)
|
4 |
+
config.save_pretrained("./")
|
events.out.tfevents.1632155327.t1v-n-a286def5-w-0.2744007.3.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:722ab65f4034706f802cab354a685d044c5011c93ce27feb85e7acc6d4595b09
|
3 |
+
size 1471867
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cd05e8c9ba7c6fe821f5dbe70404f80929700dc0b08884cf4ea877c4998201c
|
3 |
+
size 990170015
|
run_t5_mlm_flax.py
CHANGED
File without changes
|