linoyts HF Staff commited on
Commit
bd3614b
·
verified ·
1 Parent(s): fe03a3f

replace CLIPTextModel with CLIPTextModelWithProjection

Browse files

Hey! linoy from HF here, I noticed there's a mismatch between the text encoder 1 arch in model_index and the one in the config. I replaced CLIPTextModel with CLIPTextModelWithProjection to align with text encoder two and the code.

Files changed (1) hide show
  1. text_encoder/config.json +1 -1
text_encoder/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "architectures": [
3
- "CLIPTextModel"
4
  ],
5
  "attention_dropout": 0.0,
6
  "bos_token_id": 0,
 
1
  {
2
  "architectures": [
3
+ "CLIPTextModelWithProjection"
4
  ],
5
  "attention_dropout": 0.0,
6
  "bos_token_id": 0,