Spaces:
Running
Running
Patryk Ptasiński
commited on
Commit
·
73c7e87
1
Parent(s):
b366822
Add snowflake-arctic-embed-m-long model with trust_remote_code=True
Browse files
app.py
CHANGED
|
@@ -16,6 +16,7 @@ MODELS = {
|
|
| 16 |
"sentence-transformers/all-mpnet-base-v2": {"trust_remote_code": False},
|
| 17 |
"Snowflake/snowflake-arctic-embed-m": {"trust_remote_code": False},
|
| 18 |
"Snowflake/snowflake-arctic-embed-l": {"trust_remote_code": False},
|
|
|
|
| 19 |
"Snowflake/snowflake-arctic-embed-m-v2.0": {"trust_remote_code": False},
|
| 20 |
"BAAI/bge-large-en-v1.5": {"trust_remote_code": False},
|
| 21 |
"BAAI/bge-base-en-v1.5": {"trust_remote_code": False},
|
|
@@ -105,7 +106,7 @@ async def list_models():
|
|
| 105 |
|
| 106 |
with gr.Blocks(title="Multi-Model Text Embeddings") as app:
|
| 107 |
gr.Markdown("# Multi-Model Text Embeddings")
|
| 108 |
-
gr.Markdown("Generate embeddings for your text using
|
| 109 |
|
| 110 |
# Model selector dropdown
|
| 111 |
model_dropdown = gr.Dropdown(
|
|
@@ -202,6 +203,7 @@ with gr.Blocks(title="Multi-Model Text Embeddings") as app:
|
|
| 202 |
- `sentence-transformers/all-mpnet-base-v2` - Balanced performance embedding model
|
| 203 |
- `Snowflake/snowflake-arctic-embed-m` - Medium-sized Arctic embedding model
|
| 204 |
- `Snowflake/snowflake-arctic-embed-l` - Large Arctic embedding model
|
|
|
|
| 205 |
- `Snowflake/snowflake-arctic-embed-m-v2.0` - Latest Arctic embedding with multilingual support
|
| 206 |
- `BAAI/bge-large-en-v1.5` - Large BGE embedding model for English
|
| 207 |
- `BAAI/bge-base-en-v1.5` - Base BGE embedding model for English
|
|
|
|
| 16 |
"sentence-transformers/all-mpnet-base-v2": {"trust_remote_code": False},
|
| 17 |
"Snowflake/snowflake-arctic-embed-m": {"trust_remote_code": False},
|
| 18 |
"Snowflake/snowflake-arctic-embed-l": {"trust_remote_code": False},
|
| 19 |
+
"Snowflake/snowflake-arctic-embed-m-long": {"trust_remote_code": True},
|
| 20 |
"Snowflake/snowflake-arctic-embed-m-v2.0": {"trust_remote_code": False},
|
| 21 |
"BAAI/bge-large-en-v1.5": {"trust_remote_code": False},
|
| 22 |
"BAAI/bge-base-en-v1.5": {"trust_remote_code": False},
|
|
|
|
| 106 |
|
| 107 |
with gr.Blocks(title="Multi-Model Text Embeddings") as app:
|
| 108 |
gr.Markdown("# Multi-Model Text Embeddings")
|
| 109 |
+
gr.Markdown("Generate embeddings for your text using 16+ state-of-the-art embedding models from Nomic, BGE, Snowflake, IBM Granite, and more.")
|
| 110 |
|
| 111 |
# Model selector dropdown
|
| 112 |
model_dropdown = gr.Dropdown(
|
|
|
|
| 203 |
- `sentence-transformers/all-mpnet-base-v2` - Balanced performance embedding model
|
| 204 |
- `Snowflake/snowflake-arctic-embed-m` - Medium-sized Arctic embedding model
|
| 205 |
- `Snowflake/snowflake-arctic-embed-l` - Large Arctic embedding model
|
| 206 |
+
- `Snowflake/snowflake-arctic-embed-m-long` - Medium Arctic model optimized for long context
|
| 207 |
- `Snowflake/snowflake-arctic-embed-m-v2.0` - Latest Arctic embedding with multilingual support
|
| 208 |
- `BAAI/bge-large-en-v1.5` - Large BGE embedding model for English
|
| 209 |
- `BAAI/bge-base-en-v1.5` - Base BGE embedding model for English
|