Update config.json

This commit is contained in:
An Yang 2022-11-23 15:23:18 +00:00 committed by huggingface-web
parent a2f9e7eb05
commit 1e1707aeb4
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
"projection_dim": 512, "projection_dim": 512,
"text_config": { "text_config": {
"architectures": [ "architectures": [
"BertModel" "ChineseCLIPTextModel"
], ],
"attention_probs_dropout_prob": 0.1, "attention_probs_dropout_prob": 0.1,
"bos_token_id": 0, "bos_token_id": 0,
@ -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": "bert", "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": "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,