From 1a2fce36a5434649ab94856f8ebd7dda5d5a74f6 Mon Sep 17 00:00:00 2001 From: An Yang Date: Tue, 29 Nov 2022 06:44:43 +0000 Subject: [PATCH] Update config.json --- config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index bcdd158..c05b80e 100644 --- a/config.json +++ b/config.json @@ -4,7 +4,7 @@ ], "initializer_factor": 1.0, "logit_scale_init_value": 2.6592, - "model_type": "chinese-clip", + "model_type": "chinese_clip", "projection_dim": 512, "text_config": { "architectures": [ @@ -21,7 +21,7 @@ "intermediate_size": 3072, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, - "model_type": "chinese-clip_text_model", + "model_type": "chinese_clip_text_model", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, @@ -75,7 +75,7 @@ "length_penalty": 1.0, "max_length": 20, "min_length": 0, - "model_type": "chinese-clip_vision_model", + "model_type": "chinese_clip_vision_model", "no_repeat_ngram_size": 0, "num_attention_heads": 12, "num_beam_groups": 1,