Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
delete get-base/large-en-v1.5
Browse files
app.py
CHANGED
@@ -453,9 +453,7 @@ EXTERNAL_MODELS = [
|
|
453 |
"voyage-lite-02-instruct",
|
454 |
"xlm-roberta-base",
|
455 |
"xlm-roberta-large",
|
456 |
-
"Alibaba-NLP/gte-Qwen1.5-7B-instruct"
|
457 |
-
"Alibaba-NLP/gte-base-en-v1.5",
|
458 |
-
"Alibaba-NLP/gte-large-en-v1.5",
|
459 |
]
|
460 |
|
461 |
EXTERNAL_MODEL_TO_LINK = {
|
@@ -586,9 +584,7 @@ EXTERNAL_MODEL_TO_LINK = {
|
|
586 |
"voyage-lite-02-instruct": "https://docs.voyageai.com/embeddings/",
|
587 |
"xlm-roberta-base": "https://huggingface.co/xlm-roberta-base",
|
588 |
"xlm-roberta-large": "https://huggingface.co/xlm-roberta-large",
|
589 |
-
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": "https://huggingface.co/Alibaba-NLP/gte-Qwen1.5-7B-instruct"
|
590 |
-
"Alibaba-NLP/gte-base-en-v1.5": "https://huggingface.co/Alibaba-NLP/gte-base-en-v1.5",
|
591 |
-
"Alibaba-NLP/gte-large-en-v1.5": "https://huggingface.co/Alibaba-NLP/gte-large-en-v1.5",
|
592 |
}
|
593 |
|
594 |
EXTERNAL_MODEL_TO_DIM = {
|
@@ -718,9 +714,7 @@ EXTERNAL_MODEL_TO_DIM = {
|
|
718 |
"voyage-lite-02-instruct": 1024,
|
719 |
"xlm-roberta-base": 768,
|
720 |
"xlm-roberta-large": 1024,
|
721 |
-
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": 4096
|
722 |
-
"Alibaba-NLP/gte-base-en-v1.5": 768,
|
723 |
-
"Alibaba-NLP/gte-large-en-v1.5": 1024,
|
724 |
}
|
725 |
|
726 |
EXTERNAL_MODEL_TO_SEQLEN = {
|
@@ -851,9 +845,6 @@ EXTERNAL_MODEL_TO_SEQLEN = {
|
|
851 |
"xlm-roberta-base": 514,
|
852 |
"xlm-roberta-large": 514,
|
853 |
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": 32768,
|
854 |
-
"Alibaba-NLP/gte-base-en-v1.5": 8192,
|
855 |
-
"Alibaba-NLP/gte-large-en-v1.5": 8192,
|
856 |
-
|
857 |
}
|
858 |
|
859 |
EXTERNAL_MODEL_TO_SIZE = {
|
@@ -955,8 +946,6 @@ EXTERNAL_MODEL_TO_SIZE = {
|
|
955 |
"xlm-roberta-base": 279,
|
956 |
"xlm-roberta-large": 560,
|
957 |
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": 7099,
|
958 |
-
"Alibaba-NLP/gte-base-en-v1.5": 434,
|
959 |
-
"Alibaba-NLP/gte-large-en-v1.5": 137,
|
960 |
}
|
961 |
|
962 |
PROPRIETARY_MODELS = {
|
|
|
453 |
"voyage-lite-02-instruct",
|
454 |
"xlm-roberta-base",
|
455 |
"xlm-roberta-large",
|
456 |
+
"Alibaba-NLP/gte-Qwen1.5-7B-instruct"
|
|
|
|
|
457 |
]
|
458 |
|
459 |
EXTERNAL_MODEL_TO_LINK = {
|
|
|
584 |
"voyage-lite-02-instruct": "https://docs.voyageai.com/embeddings/",
|
585 |
"xlm-roberta-base": "https://huggingface.co/xlm-roberta-base",
|
586 |
"xlm-roberta-large": "https://huggingface.co/xlm-roberta-large",
|
587 |
+
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": "https://huggingface.co/Alibaba-NLP/gte-Qwen1.5-7B-instruct"
|
|
|
|
|
588 |
}
|
589 |
|
590 |
EXTERNAL_MODEL_TO_DIM = {
|
|
|
714 |
"voyage-lite-02-instruct": 1024,
|
715 |
"xlm-roberta-base": 768,
|
716 |
"xlm-roberta-large": 1024,
|
717 |
+
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": 4096
|
|
|
|
|
718 |
}
|
719 |
|
720 |
EXTERNAL_MODEL_TO_SEQLEN = {
|
|
|
845 |
"xlm-roberta-base": 514,
|
846 |
"xlm-roberta-large": 514,
|
847 |
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": 32768,
|
|
|
|
|
|
|
848 |
}
|
849 |
|
850 |
EXTERNAL_MODEL_TO_SIZE = {
|
|
|
946 |
"xlm-roberta-base": 279,
|
947 |
"xlm-roberta-large": 560,
|
948 |
"Alibaba-NLP/gte-Qwen1.5-7B-instruct": 7099,
|
|
|
|
|
949 |
}
|
950 |
|
951 |
PROPRIETARY_MODELS = {
|