File size: 2,352 Bytes
64c5541 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
{
"module": "keras_nlp.src.models.bart.bart_seq_2_seq_lm",
"class_name": "BartSeq2SeqLM",
"config": {
"backbone": {
"module": "keras_nlp.src.models.bart.bart_backbone",
"class_name": "BartBackbone",
"config": {
"name": "bart_backbone",
"trainable": true,
"vocabulary_size": 50265,
"num_layers": 6,
"num_heads": 12,
"hidden_dim": 768,
"intermediate_dim": 3072,
"dropout": 0.1,
"max_sequence_length": 1024
},
"registered_name": "keras_nlp>BartBackbone"
},
"preprocessor": {
"module": "keras_nlp.src.models.bart.bart_seq_2_seq_lm_preprocessor",
"class_name": "BartSeq2SeqLMPreprocessor",
"config": {
"name": "bart_seq2_seq_lm_preprocessor",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "mixed_float16"
},
"registered_name": null
},
"tokenizer": {
"module": "keras_nlp.src.models.bart.bart_tokenizer",
"class_name": "BartTokenizer",
"config": {
"name": "bart_tokenizer",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "int32"
},
"registered_name": null
},
"sequence_length": null,
"add_prefix_space": false
},
"registered_name": "keras_nlp>BartTokenizer"
},
"encoder_sequence_length": 512,
"decoder_sequence_length": 128
},
"registered_name": "keras_nlp>BartSeq2SeqLMPreprocessor"
},
"name": "bart_seq2_seq_lm"
},
"registered_name": "keras_nlp>BartSeq2SeqLM"
} |