-
Notifications
You must be signed in to change notification settings - Fork 445
Integrate mme5 models #2081
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
base: main
Are you sure you want to change the base?
Integrate mme5 models #2081
Changes from all commits
481d1a2
6c6c0a3
36a1673
0aef67c
044581f
79085a8
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,31 @@ | ||||||||||||||
from __future__ import annotations | ||||||||||||||
|
||||||||||||||
from functools import partial | ||||||||||||||
|
||||||||||||||
from mteb.model_meta import ModelMeta, sentence_transformers_loader | ||||||||||||||
|
||||||||||||||
mme5_model = ModelMeta( | ||||||||||||||
loader=partial( | ||||||||||||||
sentence_transformers_loader, | ||||||||||||||
model_name="intfloat/mmE5-mllama-11b-instruct", | ||||||||||||||
revision="cbb328b9bf9ff5362c852c3166931903226d46f1", | ||||||||||||||
), | ||||||||||||||
name="intfloat/mmE5-mllama-11b-instruct", | ||||||||||||||
languages=["eng_Latn"], | ||||||||||||||
revision="cbb328b9bf9ff5362c852c3166931903226d46f1", | ||||||||||||||
release_date="2025-02-16", | ||||||||||||||
modalities=["image", "text"], | ||||||||||||||
n_parameters=10_600_000_000, | ||||||||||||||
memory_usage_mb=20300, | ||||||||||||||
max_tokens=8192, | ||||||||||||||
embed_dim=7680, | ||||||||||||||
license="mit", | ||||||||||||||
open_weights=True, | ||||||||||||||
public_training_code=None, | ||||||||||||||
public_training_data="https://huggingface.co/datasets/intfloat/mmE5-synthetic", | ||||||||||||||
framework=["Sentence Transformers", "PyTorch"], | ||||||||||||||
reference="https://huggingface.co/intfloat/mmE5-mllama-11b-instruct", | ||||||||||||||
similarity_fn_name="cosine", | ||||||||||||||
use_instructions=True, | ||||||||||||||
training_datasets=None, | ||||||||||||||
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.
Suggested change
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. Hi, pydantic throws an error with this since training_datasets needs to be a string or None. What do you think should be done? 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. Thats strange, because it should be dict Line 115 in 587892d
|
||||||||||||||
) |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try to run it? It hard to tell if it will mach with authors implementation, because they were benchmarking on
MMEB
#1709There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which benchmark would you like me to run it on? MMEB is not implemented currently it seems.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just on some task to make sure that it working. Later we can check implementation (you can create issue for it)