nvidia / text_encoder /config.json
exact-railcar's picture
Rename config.json to text_encoder/config.json
cc2d2ef verified
Raw History Blame Contribute Delete
1.48 kB
{
"architectures": [
"UMT5EncoderModel"
],
"classifier_dropout": 0.0,
"d_ff": 10240,
"d_kv": 64,
"d_model": 4096,
"decoder_start_token_id": 0,
"dense_act_fn": "gelu_new",
"dropout_rate": 0.1,
"dtype": "bfloat16",
"eos_token_id": 1,
"feed_forward_proj": "gated-gelu",
"initializer_factor": 1.0,
"is_decoder": false,
"is_encoder_decoder": true,
"is_gated_act": true,
"layer_norm_epsilon": 1e-06,
"model_type": "umt5",
"num_decoder_layers": 24,
"num_heads": 64,
"num_layers": 24,
"output_past": true,
"pad_token_id": 0,
"quantization_config": {
"include_input_output_embeddings": false,
"modules_to_not_convert": null,
"quant_method": "torchao",
"quant_type": {
"default": {
"_data": {
"group_size": 128,
"int4_choose_qparams_algorithm": {
"_data": "TINYGEMM",
"_type": "Int4ChooseQParamsAlgorithm"
},
"int4_packing_format": {
"_data": "PLAIN",
"_type": "Int4PackingFormat"
},
"set_inductor_config": true
},
"_type": "Int4WeightOnlyConfig",
"_version": 2
}
},
"untie_embedding_weights": false
},
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"scalable_attention": true,
"tie_word_embeddings": true,
"tokenizer_class": "T5Tokenizer",
"transformers_version": "5.19.0",
"use_cache": true,
"vocab_size": 256384
}