ybelkada
commited on
Commit
·
ea3dc9f
1
Parent(s):
9fc8dd5
add flax weights
Browse files- config.json +59 -0
- flax_model.msgpack +3 -0
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"T5ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"d_ff": 1024,
|
| 6 |
+
"d_kv": 64,
|
| 7 |
+
"d_model": 512,
|
| 8 |
+
"decoder_start_token_id": 0,
|
| 9 |
+
"dense_act_fn": "relu",
|
| 10 |
+
"dropout_rate": 0.1,
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"feed_forward_proj": "relu",
|
| 13 |
+
"initializer_factor": 1.0,
|
| 14 |
+
"is_encoder_decoder": true,
|
| 15 |
+
"is_gated_act": true,
|
| 16 |
+
"layer_norm_epsilon": 1e-06,
|
| 17 |
+
"model_type": "t5",
|
| 18 |
+
"n_positions": 512,
|
| 19 |
+
"num_decoder_layers": 8,
|
| 20 |
+
"num_heads": 6,
|
| 21 |
+
"num_layers": 8,
|
| 22 |
+
"output_past": true,
|
| 23 |
+
"pad_token_id": 0,
|
| 24 |
+
"relative_attention_max_distance": 128,
|
| 25 |
+
"relative_attention_num_buckets": 32,
|
| 26 |
+
"task_specific_params": {
|
| 27 |
+
"summarization": {
|
| 28 |
+
"early_stopping": true,
|
| 29 |
+
"length_penalty": 2.0,
|
| 30 |
+
"max_length": 200,
|
| 31 |
+
"min_length": 30,
|
| 32 |
+
"no_repeat_ngram_size": 3,
|
| 33 |
+
"num_beams": 4,
|
| 34 |
+
"prefix": "summarize: "
|
| 35 |
+
},
|
| 36 |
+
"translation_en_to_de": {
|
| 37 |
+
"early_stopping": true,
|
| 38 |
+
"max_length": 300,
|
| 39 |
+
"num_beams": 4,
|
| 40 |
+
"prefix": "translate English to German: "
|
| 41 |
+
},
|
| 42 |
+
"translation_en_to_fr": {
|
| 43 |
+
"early_stopping": true,
|
| 44 |
+
"max_length": 300,
|
| 45 |
+
"num_beams": 4,
|
| 46 |
+
"prefix": "translate English to French: "
|
| 47 |
+
},
|
| 48 |
+
"translation_en_to_ro": {
|
| 49 |
+
"early_stopping": true,
|
| 50 |
+
"max_length": 300,
|
| 51 |
+
"num_beams": 4,
|
| 52 |
+
"prefix": "translate English to Romanian: "
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"tie_word_embeddings": false,
|
| 56 |
+
"transformers_version": "4.23.1",
|
| 57 |
+
"use_cache": true,
|
| 58 |
+
"vocab_size": 32128
|
| 59 |
+
}
|
flax_model.msgpack
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46dc0494fa27c368c41b021666c868570469993386a093bca18aff3c1e13b065
|
| 3 |
+
size 307852839
|