-
Notifications
You must be signed in to change notification settings - Fork 466
model: add fangxq/XYZ-embedding #2741
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
Merged
KennethEnevoldsen
merged 13 commits into
embeddings-benchmark:main
from
fangxiaoquan:fxq-xyz
Jun 9, 2025
Merged
Changes from 7 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6f50c27
add xyz model
fangxiaoquan b34d7d7
add xyz model
fangxiaoquan 15b9bdf
add xyz model
fangxiaoquan c8912b4
update
fangxiaoquan 58d1bce
update
fangxiaoquan dce4086
update
fangxiaoquan 6137716
update
fangxiaoquan 4156615
update
fangxiaoquan f43d27b
update
fangxiaoquan 081ef5f
Merge branch 'main' of github.com:fangxiaoquan/mteb into fxq-xyz
fangxiaoquan e488bfd
update
fangxiaoquan 412e8ab
lint
Samoed 42b945b
Merge branch 'main' into fxq-xyz
KennethEnevoldsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
from __future__ import annotations | ||
|
||
from mteb.model_meta import ModelMeta, sentence_transformers_loader | ||
|
||
xyz_zh_datasets = { | ||
"BQ": ["train"], | ||
"LCQMC": ["train"], | ||
"PAWSX": ["train"], | ||
"STS-B": ["train"], | ||
"DuRetrieval": ["train"], | ||
"AFQMC": ["train"], | ||
"Cmnli": ["train"], | ||
"Ocnli": ["train"], | ||
"T2Retrieval": ["train"], | ||
"T2Reranking": ["train"], | ||
"MMarcoReranking": ["train"], | ||
"CMedQAv2-reranking": ["train"], | ||
"Covid-News":"NCPPolicies_train", | ||
"cMedQA":"https://github.com/zhangsheng93/cMedQA", | ||
"Multi-CPR":"http://github.com/Alibaba-NLP/Multi-CPR", | ||
"retrieval_data_llm":"https://huggingface.co/datasets/infgrad/retrieval_data_llm", | ||
"Huatuo26M-Lite":"https://huggingface.co/datasets/FreedomIntelligence/Huatuo26M-Lite"} | ||
|
||
xyz_embedding = ModelMeta( | ||
name="fangxq/XYZ-embedding", | ||
fangxiaoquan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
languages=["zho-Hans"], | ||
loader=sentence_transformers_loader, | ||
open_weights=False, | ||
fangxiaoquan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
revision="4004120220b99baea764a1d3508427248ac3bccf", | ||
release_date="2024-09-13", | ||
n_parameters=326000000, | ||
memory_usage_mb=1242, | ||
max_tokens=512, | ||
embed_dim=768, | ||
license="mit", | ||
similarity_fn_name="cosine", | ||
framework=["Sentence Transformers"], | ||
reference="https://huggingface.co/fangxq/XYZ-embedding", | ||
use_instructions=False, | ||
training_datasets= {**xyz_zh_datasets}, | ||
fangxiaoquan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
public_training_code=None, | ||
fangxiaoquan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
public_training_data=None,) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.