replace CLIPTextModel with CLIPTextModelWithProjection
Browse filesHey! 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.
- text_encoder/config.json +1 -1
text_encoder/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"
|
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,
|