Update config.json

This commit is contained in:
An Yang 2022-11-29 06:44:43 +00:00 committed by huggingface-web
parent 1e1707aeb4
commit 1a2fce36a5
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
], ],
"initializer_factor": 1.0, "initializer_factor": 1.0,
"logit_scale_init_value": 2.6592, "logit_scale_init_value": 2.6592,
"model_type": "chinese-clip", "model_type": "chinese_clip",
"projection_dim": 512, "projection_dim": 512,
"text_config": { "text_config": {
"architectures": [ "architectures": [
@ -21,7 +21,7 @@
"intermediate_size": 3072, "intermediate_size": 3072,
"layer_norm_eps": 1e-12, "layer_norm_eps": 1e-12,
"max_position_embeddings": 512, "max_position_embeddings": 512,
"model_type": "chinese-clip_text_model", "model_type": "chinese_clip_text_model",
"num_attention_heads": 12, "num_attention_heads": 12,
"num_hidden_layers": 12, "num_hidden_layers": 12,
"output_past": true, "output_past": true,
@ -75,7 +75,7 @@
"length_penalty": 1.0, "length_penalty": 1.0,
"max_length": 20, "max_length": 20,
"min_length": 0, "min_length": 0,
"model_type": "chinese-clip_vision_model", "model_type": "chinese_clip_vision_model",
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"num_attention_heads": 12, "num_attention_heads": 12,
"num_beam_groups": 1, "num_beam_groups": 1,