Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Muennighoff
commited on
Commit
•
fda8b01
1
Parent(s):
8d456e7
Add voyage-law-2
Browse files
app.py
CHANGED
@@ -439,6 +439,7 @@ EXTERNAL_MODELS = [
|
|
439 |
"use-cmlm-multilingual",
|
440 |
"voyage-2",
|
441 |
"voyage-code-2",
|
|
|
442 |
"voyage-lite-01-instruct",
|
443 |
"voyage-lite-02-instruct",
|
444 |
"xlm-roberta-base",
|
@@ -562,6 +563,7 @@ EXTERNAL_MODEL_TO_LINK = {
|
|
562 |
"use-cmlm-multilingual": "https://huggingface.co/sentence-transformers/use-cmlm-multilingual",
|
563 |
"voyage-2": "https://docs.voyageai.com/embeddings/",
|
564 |
"voyage-code-2": "https://docs.voyageai.com/embeddings/",
|
|
|
565 |
"voyage-lite-01-instruct": "https://docs.voyageai.com/embeddings/",
|
566 |
"voyage-lite-02-instruct": "https://docs.voyageai.com/embeddings/",
|
567 |
"xlm-roberta-base": "https://huggingface.co/xlm-roberta-base",
|
@@ -684,6 +686,7 @@ EXTERNAL_MODEL_TO_DIM = {
|
|
684 |
"use-cmlm-multilingual": 768,
|
685 |
"voyage-2": 1024,
|
686 |
"voyage-code-2": 1536,
|
|
|
687 |
"voyage-lite-01-instruct": 1024,
|
688 |
"voyage-lite-02-instruct": 1024,
|
689 |
"xlm-roberta-base": 768,
|
@@ -806,6 +809,7 @@ EXTERNAL_MODEL_TO_SEQLEN = {
|
|
806 |
"unsup-simcse-bert-base-uncased": 512,
|
807 |
"voyage-2": 1024,
|
808 |
"voyage-code-2": 16000,
|
|
|
809 |
"voyage-lite-01-instruct": 4000,
|
810 |
"voyage-lite-02-instruct": 4000,
|
811 |
"xlm-roberta-base": 514,
|
@@ -901,6 +905,7 @@ EXTERNAL_MODEL_TO_SIZE = {
|
|
901 |
"text2vec-large-chinese": 1.30,
|
902 |
"unsup-simcse-bert-base-uncased": 0.44,
|
903 |
"use-cmlm-multilingual": 1.89,
|
|
|
904 |
"voyage-lite-02-instruct": 2.45,
|
905 |
"xlm-roberta-base": 1.12,
|
906 |
"xlm-roberta-large": 2.24,
|
|
|
439 |
"use-cmlm-multilingual",
|
440 |
"voyage-2",
|
441 |
"voyage-code-2",
|
442 |
+
"voyage-law-2",
|
443 |
"voyage-lite-01-instruct",
|
444 |
"voyage-lite-02-instruct",
|
445 |
"xlm-roberta-base",
|
|
|
563 |
"use-cmlm-multilingual": "https://huggingface.co/sentence-transformers/use-cmlm-multilingual",
|
564 |
"voyage-2": "https://docs.voyageai.com/embeddings/",
|
565 |
"voyage-code-2": "https://docs.voyageai.com/embeddings/",
|
566 |
+
"voyage-law-2": "https://docs.voyageai.com/embeddings/",
|
567 |
"voyage-lite-01-instruct": "https://docs.voyageai.com/embeddings/",
|
568 |
"voyage-lite-02-instruct": "https://docs.voyageai.com/embeddings/",
|
569 |
"xlm-roberta-base": "https://huggingface.co/xlm-roberta-base",
|
|
|
686 |
"use-cmlm-multilingual": 768,
|
687 |
"voyage-2": 1024,
|
688 |
"voyage-code-2": 1536,
|
689 |
+
"voyage-law-2": 1024,
|
690 |
"voyage-lite-01-instruct": 1024,
|
691 |
"voyage-lite-02-instruct": 1024,
|
692 |
"xlm-roberta-base": 768,
|
|
|
809 |
"unsup-simcse-bert-base-uncased": 512,
|
810 |
"voyage-2": 1024,
|
811 |
"voyage-code-2": 16000,
|
812 |
+
"voyage-law-2": 4000,
|
813 |
"voyage-lite-01-instruct": 4000,
|
814 |
"voyage-lite-02-instruct": 4000,
|
815 |
"xlm-roberta-base": 514,
|
|
|
905 |
"text2vec-large-chinese": 1.30,
|
906 |
"unsup-simcse-bert-base-uncased": 0.44,
|
907 |
"use-cmlm-multilingual": 1.89,
|
908 |
+
"voyage-law-2": 2.45,
|
909 |
"voyage-lite-02-instruct": 2.45,
|
910 |
"xlm-roberta-base": 1.12,
|
911 |
"xlm-roberta-large": 2.24,
|