Upload 3 files
Browse files- config.json +33 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MT5ForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"classifier_dropout": 0.0,
|
6 |
+
"d_ff": 512,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 256,
|
9 |
+
"decoder_start_token_id": 2,
|
10 |
+
"decoder_vocab_size": 822,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"encoder_vocab_size": 138,
|
14 |
+
"eos_token_id": 1,
|
15 |
+
"feed_forward_proj": "gated-gelu",
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": true,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"model_type": "mt5",
|
21 |
+
"num_decoder_layers": 4,
|
22 |
+
"num_heads": 3,
|
23 |
+
"num_layers": 4,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"relative_attention_max_distance": 128,
|
26 |
+
"relative_attention_num_buckets": 32,
|
27 |
+
"shared_embedding": false,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"tokenizer_class": "T5Tokenizer",
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.37.1",
|
32 |
+
"use_cache": true
|
33 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.37.1"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28bed3f7c72ae8201fad8175b253ea29891394cf5482c111f06b18d61dd77d5c
|
3 |
+
size 23879632
|