-
Notifications
You must be signed in to change notification settings - Fork 643
Feat/searchmap preview #2420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/searchmap preview #2420
Changes from 6 commits
746e3f0
3e1c27e
3e7d3ff
b715b7a
4591f7b
97c19fb
4178d27
5dd418b
1a80e26
817b856
4069175
75f1574
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,39 @@ | ||||||||
| from __future__ import annotations | ||||||||
| from functools import partial | ||||||||
| from mteb.model_meta import ModelMeta, sentence_transformers_loader | ||||||||
|
|
||||||||
| # Define task instructions with specific task names | ||||||||
| task_instructions = { | ||||||||
| "Classification": "Generate a representation for this text that can be used for classification:", | ||||||||
| "Clustering": "Generate a representation for this text that can be used for clustering:", | ||||||||
| "Retrieval": "Generate a representation for this text that can be used for retrieval:", | ||||||||
| "STS": "Generate a representation for this text that can be used for semantic similarity:", | ||||||||
| "PairClassification": "Generate a representation for this text pair that can be used for classification:", | ||||||||
| "Reranking": "Generate a representation for this text that can be used for reranking:", | ||||||||
| "Summarization": "Generate a representation for this text that can be used for summarization:" | ||||||||
| } | ||||||||
|
|
||||||||
| searchmap_preview = ModelMeta( | ||||||||
| loader=partial( | ||||||||
| sentence_transformers_loader, | ||||||||
| model_name="VPLabs/SearchMap_Preview", | ||||||||
| revision="69de17ef48278ed08ba1a4e65ead8179912b696e", | ||||||||
| model_prompts=task_instructions, | ||||||||
| ), | ||||||||
| name="VPLabs/SearchMap_Preview", | ||||||||
|
Samoed marked this conversation as resolved.
|
||||||||
| languages=["eng_Latn"], | ||||||||
| open_weights=True, | ||||||||
| use_instructions=True, | ||||||||
| release_date="2025-03-05", | ||||||||
| n_parameters=435_000_000, | ||||||||
| memory_usage_mb=1660, | ||||||||
| embed_dim=4096, | ||||||||
| license="mit", | ||||||||
| max_tokens=8192, | ||||||||
| reference="https://huggingface.co/VPLabs/SearchMap_Preview", | ||||||||
| similarity_fn_name="cosine", | ||||||||
| framework=["Sentence Transformers", "PyTorch"], | ||||||||
| public_training_code=None, | ||||||||
| public_training_data=None, | ||||||||
| training_datasets=None | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also can you share which datasets you have used?
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No we don't have this available for upload yet. So for now we'll not be uploading the training dataset, maybe in subsequent versions we will upload them. |
||||||||
| ) | ||||||||
Uh oh!
There was an error while loading. Please reload this page.