cpalenmichel
commited on
Commit
•
453de7a
1
Parent(s):
4e571ca
Upload MT5ForConditionalGeneration
Browse files- config.json +35 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "multilingual_training_xlsum-lrsum-01.08.23/checkpoint-50000/",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 2048,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 768,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dense_act_fn": "gelu_new",
|
11 |
+
"dropout_rate": 0.1,
|
12 |
+
"eos_token_id": 1,
|
13 |
+
"feed_forward_proj": "gated-gelu",
|
14 |
+
"initializer_factor": 1.0,
|
15 |
+
"is_encoder_decoder": true,
|
16 |
+
"is_gated_act": true,
|
17 |
+
"layer_norm_epsilon": 1e-06,
|
18 |
+
"length_penalty": 0.6,
|
19 |
+
"max_length": 84,
|
20 |
+
"model_type": "mt5",
|
21 |
+
"num_beams": 4,
|
22 |
+
"num_decoder_layers": 12,
|
23 |
+
"num_heads": 12,
|
24 |
+
"num_layers": 12,
|
25 |
+
"output_past": true,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"relative_attention_max_distance": 128,
|
28 |
+
"relative_attention_num_buckets": 32,
|
29 |
+
"tie_word_embeddings": false,
|
30 |
+
"tokenizer_class": "T5Tokenizer",
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.24.0",
|
33 |
+
"use_cache": true,
|
34 |
+
"vocab_size": 250112
|
35 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90452469d7dfe9e91ea270ba6210467bd9b23eea408af090df64bc33f1879d60
|
3 |
+
size 2329698485
|