Repository navigation
2.24.4
2.24.4 (2026-10-10)
Ci
- ci: fix lower dependency test (#5619)
fix lower dependency test (b4d6993)
Fix
-
fix: audio video input config (#5454)
-
fix: correct four audio input configs that did not match their checkpoint
- CNN14: 16 kHz -> 44.1 kHz. hyperparams.yaml declares sample_rate 44100; at
16 kHz the model misclassifies its own example_dogbark.wav as "hand_saw".
Probe scores are mixed (FSDD +13.8, VoxPopuliGenderID +4.4, BeijingOpera -6.3,
GunshotTriangulation -29.9) because mteb trains a fresh probe on embeddings
rather than using the model's head. Published CNN14 results used 16 kHz and
are not comparable after this. - LAION-CLAP: drop
padding=True. ClapFeatureExtractor resolves it as
padding if padding else self.padding, so it replaced the checkpoint's
"repeatpad" and zero-padded sub-10 s clips. Measured: BeijingOpera +5.9,
GunshotTriangulation +3.4, FSDD +5.2. - Audio Flamingo 3: 30 s -> 600 s. 30 s is its internal window; the model card
states a 10 minute maximum. Unmeasured (cap-raise only). - omni-embed-nemotron-3b: 128 s -> 300 s, matching its declared chunk_length.
Unmeasured (cap-raise only).
MS-CLAP's 48 kHz is also wrong but is fixed upstream in #5404, so it is only
annotated there, not duplicated.
- docs: one-line source for every audio and video input-config choice
Each wrapper now states, in a line at the value, where its sampling rate, audio
length or frame budget comes from, so "native, from the checkpoint" is
distinguishable from "our cost cap" without re-deriving it.
Four kinds of note: native (Whisper/Qwen2-Audio chunk_length=30, AST's 1024
frames, HeAR's 2 s, Cosmos/X-CLIP 8 frames, V-JEPA's per-checkpoint 64/32/16,
VideoPrism 16); reference-matching (ImageBind mirrors its own data.py defaults);
mteb-side cap (the speech SSL family, the fps=2/max_frames video budget, Gemini's
cost cap); and unverified (SeamlessM4T's 5 s, traced to #2751 where it was fit to
BeijingOpera's 1.7 s clips).
Also records the values deliberately left alone: CNN14, MuQ-MuLan and Wav2CLIP
are each trained on 10 s clips, but lowering a cap removes signal and is
untested, so they stay at 30 s; and the omni audio caps differ legitimately
(Qwen2.5-Omni 300 s vs BidirLM's own 30 s) rather than being inconsistent.
- tooling: MOEB campaign runner, wrapper smoke test, and slurm launcher
moeb_run.py -- runs one model's share of the pool. Work is derived rather than
assigned: eligibility is task.modalities subset of model.modalities, minus what
already exists in the results repo at the pinned mteb version, sharded by content
hash so parallel runners never collide and no spreadsheet is needed. Refuses to
run on a different mteb version, since results across versions cannot be pooled.
--dry-run reports the work without a GPU; --submit opens a results PR.
The eligibility rule also does the tiering for free: Qwen2.5-Omni-3B resolves to
685 tasks, Cosmos-Embed1 (text+video) to 153, with no hand-maintained matrix.
moeb_smoke.py -- loads a model and encodes a tiny synthetic batch per declared
modality, failing on crashes, wrong shapes, NaN, all-zero embeddings, or
identical embeddings for different inputs. Exit code gates a campaign.
This already found a real defect: the AST wrapper calls .numpy() on the numpy
array AudioCollator hands it (ast_model.py:66) and torch.cats it with a torch
tensor, so it raises before inference. Same class as the MuQ buffer bug in #5404;
both are likely broken since #4069 moved the collator to numpy, and both have
published results predating that.
run_audio_eval.sbatch -- one GPU per model, expandable_segments, logs per job.
- fix: set every audio wrapper to its checkpoint's native input config
Each value below was checked against the model's own source -- its HF config,
its upstream repo, or its paper -- rather than inferred. Wrappers now either
match a declared native limit, or carry no cap where the architecture declares
none, or state explicitly that the cap is an mteb memory guard.
Uncapped, because the architecture declares no limit and pools internally:
- VGGish: torchvggish emits one 0.96 s patch per EXAMPLE_HOP_SECONDS with no
maximum (vggish_params.py), and the wrapper already mean-pools them. - YAMNet: patch_window_seconds 0.96, patch_hop_seconds 0.48, no maximum
(tensorflow/models audioset/yamnet/params.py). - EnCodec: the checkpoint declares
chunk_length_s: null-- a fully
convolutional streaming codec. - CNN14: convolutional with global pooling; its hyperparams.yaml declares only
STFT parameters, no duration. The 10 s in PANNs (arXiv:1912.10211) is a
training crop, not an inference bound.
These four had a 30 s cap that discarded signal for no architectural reason, on
models whose own benchmarks (HEAR, X-ARES) pass the full clip.
Corrected to declared native values:
- pe-av 30 s -> 400 s: the audio encoder declares max_position_embeddings=10000
at the DAC's 25 frames/s (hop 1920 @ 48 kHz). - MuQ-MuLan 30 s -> 10 s: "the length of the input audio is 10 seconds"
(arXiv:2501.01108). - Wav2CLIP 30 s -> 10 s: distilled on VGGSound "~200k 10-second clips"
(arXiv:2110.11499 S3.1). - OmniVinci documented as native (declares chunk_length=30).
- VoiceCLAP: corrects a wrong note from the previous commit -- it declares
chunk_length=300, it does not lack a limit. - SeamlessM4T 5 s -> 30 s: no native limit exists (relative position embeddings
plus chunked attention), so this is now an explicit memory guard consistent
with the other variable-length speech encoders. The 5 s came from #2751 where
it was validated only on BeijingOpera's 1.7 s clips.
Three wrappers were broken before this change, all by the same root cause -- PR
#4069 made the collator yield numpy arrays while these still expected torch:
- EnCodec called AudioCollator positionally against a keyword-only signature
(TypeError on every audio task), then called .numpy() on a numpy array. - SeamlessM4T had the same positional-argument bug.
- AST called .numpy() on a numpy array and torch.cat'd it with a tensor.
All three now pass the wrapper smoke test. This is the same family as the MuQ
buffer bug being fixed in #5404.
Verified: 2622 model-meta tests pass; ruff clean; EnCodec, AST and CNN14 smoke
-tested end to end on CPU.
-
docs: reduce every config note to a single line naming its source
-
feat: window long audio instead of truncating it, for encoders with no declared limit
wav2vec2, HuBERT, WavLM, data2vec, UniSpeech, MMS and SEW-D declare no maximum
input length: their positional encoding is convolutional, so the architecture is
length-agnostic and only memory bounds the input. mteb previously truncated them
at a uniform 30 s, which discards most of a long clip and matches no framework
that evaluates these models.
Every reference implementation windows and pools instead:
- pyannote.audio sets the window to the model's own training duration
(duration = duration or training_duration) and slides it. - s3prl/SUPERB chunk at 2000 frames = 20 s (UnfoldChunkByFrame).
- X-ARES reference encoders split at 10 s and concatenate frame embeddings
(example/data2vec/data2vec_encoder.py, one of these exact models). - HEAR defines get_scene_embeddings as torch.mean() over per-timestamp
embeddings of the whole clip.
New mteb/models/audio_windowing.py implements split-into-windows and mean-pool.
Following pyannote's rule, each wrapper's window is the duration the model was
actually trained on, with the reference on the parameter:
wav2vec2 15.6 s pretraining crop, arXiv:2006.11477 S4.2
SEW-D 20 s declared: max_position_embeddings=512 at 25 frames/s
data2vec 10 s X-ARES reference encoder
HuBERT, WavLM, UniSpeech, MMS 20 s s3prl UnfoldChunkByFrame
truncation=True / max_length are dropped from these feature-extractor calls,
since windowing now bounds length; the feature extractor no longer cuts.
Verified: a 90 s clip now pools over 5 windows and its embedding differs from the
truncated first-20 s embedding at cosine 0.733 -- i.e. truncation had been
discarding most of the signal. All seven wrappers pass the smoke test; 2622
model-meta tests pass; ruff clean.
- fix: complete the audio audit -- two more declared limits, three undocumented wrappers
Going through all 45 audio wrappers one by one surfaced two values still not
matching their checkpoint, and three wrappers with no source note:
- SpeechT5 30 s -> 80 s. It declares
max_speech_positions: 4000at 50 fps
(conv_stride 320x). Themax_length: 450in the same config is the text side
(max_text_positions: 450), not the audio input. - M-CTC-T 30 s -> 27.6 s. It declares
max_position_embeddings: 920at 30 ms per
frame (10 ms hop with conv_stride 3). - OmniRetriever's MAX_AUDIO_SEC=300 was already native but undocumented; noted as
the Qwen2.5-Omni tower's chunk_length. - Gemini's 180 s noted as an mteb cost cap (the API allows 9.5 h, billed at
32 tokens/s), not a model limit. - BioVITA's fixed 48 kHz / 10 s clip noted.
Also simplifies audio_windowing: drops the unused normalize parameter, replaces
the manual accumulation loop with np.add.at/bincount, and trims the module
docstring to the four references. 112 -> 76 lines, same behaviour (re-verified:
a 50 s clip still splits 20/20/10 and pools to the same values).
Every audio wrapper now carries a single-line note naming the source of its
setting; total added comment lines across the branch is 72.
Verified: 2622 model-meta tests pass; ruff clean; SpeechT5, HuBERT, EnCodec,
CNN14 and CLAP pass the smoke test.
- fix: verify the last three wrappers from source, and stop any value being arbitrary
Checking the three wrappers that had no source note found two of them documented
against the wrong upstream:
- OmniRetriever's base model is WAVE-7B (adapter_config.json), not Qwen2.5-Omni
directly. WAVE is itself built on Qwen2.5-Omni-7B, so the 300 s is right but
the chain is one step longer than the note claimed. - BioVITA's audio encoder is laion/clap-htsat-unfused (model card), so its
48 kHz / 10 s is CLAP's own nb_max_samples=480000 at 48 kHz -- a native value,
not a wrapper choice as the note implied.
Values that are genuinely ours are now derived rather than picked:
- SeamlessM4T: was an arbitrary 30 s guard. It has no declared limit (relative
position embeddings plus chunked attention), which is the same situation as the
wav2vec2 family, so it is now windowed at 20 s and mean-pooled like them,
matching s3prl's UnfoldChunkByFrame rather than an invented number. - Gemini's 180 s cost cap is now justified by measurement: it fully covers 98.2%
of mteb audio tasks by average clip length, against an API that allows 9.5 h
and bills 32 tokens/s. - The random baseline's 16 kHz is noted as the benchmark's most common rate
rather than "arbitrary"; it is never encoded either way.
Verified: 2622 model-meta tests pass; ruff clean; HuBERT, SpeechT5, EnCodec,
CLAP and CNN14 pass the smoke test.
- fix: ground the last two values in their own model's source, not in our statistics
Two values were still ours by construction. Both turned out to have a
model-specific source once looked for properly.
- Gemini's 180 s is not a cost cap at all: the Gemini Embedding API documents
"Maximum duration of 180 seconds" for audio embedding requests
(ai.google.dev/gemini-api/docs/embeddings). It is the endpoint's declared
limit. The previous note called it an mteb cost cap and justified it with mteb
task statistics, which was both wrong and circular. - SeamlessM4T's window is now 10 s, the value Meta uses in its own repo
(MAX_INPUT_AUDIO_LENGTH in seamless_communication/demo/expressive/app.py),
rather than borrowing s3prl's 20 s. Its speech_encoder_chunk_size=20000 is
documented only as "the size of each attention chunk" with no units, so no
duration can be derived from it.
Because these are windows rather than cuts, the window size only affects compute
and context per forward pass, not coverage -- so taking the model's own
documented number costs nothing.
Every value in the branch now traces to the checkpoint's config, the model's own
repo or paper, or a named cross-framework convention. None is derived from mteb's
own task statistics.
Verified: 2622 model-meta tests pass; ruff clean.
-
docs: reduce every note to the source of the value, with no commentary
-
feat: window strict-cap encoders too, using the declared cap as the window
A declared limit says how large each window may be, not how much of the clip to
discard. X-ARES applies exactly this: its reference encoder windows Whisper at
10 s despite Whisper declaring 30 s natively.
Truncating at the declared cap also creates a measurement artefact rather than a
capability difference. On a 600 s clip, CLAP covers the whole span via its fusion
mechanism while AST sees 1.7% of it -- a gap produced by how each upstream
handles overflow, not by embedding quality.
Windowed here, each at its own declared size:
- Whisper 30 s chunk_length=30 (preprocessor_config.json)
- M-CTC-T 27.6 s max_position_embeddings=920 at 30 ms/frame (config.json)
Left alone, because they already cover the whole clip themselves:
- LAION-CLAP fusion (verified: features for a 600 s clip differ from its first
10 s, so the mel is computed over the full waveform) - ImageBind 3 clips sampled across the full duration
- VGGish, YAMNet, CNN14, Dasheng, EnCodec internal pooling
Verified: a 90 s clip through Whisper now becomes 3 windows and its embedding
differs from the truncated 30 s one at cosine 0.945. 2622 model-meta tests pass;
ruff clean.
- fix: OmniVinci was capped below its own chunk length; window AST and MuQ-MuLan
Checking each remaining model's own source rather than assuming:
- OmniVinci 30 s -> 120 s. Its config declares
audio_chunk_length = 120and its
model card exposes that value as a user-settable knob, so it chunks internally.
Our 30 s cut it to a quarter of its own chunk and bypassed that mechanism. - MuQ-MuLan: windowed at its native 10 s instead of truncated. MARBLE, the
benchmark this family is evaluated under, computes embeddings "using a sliding
window of 30 seconds and then averaged" for MTG-Jamendo, whose songs average
224 s. - AST: windowed at 10.24 s (max_length=1024 frames) instead of truncated. AST has
no native long-audio support; the literature's answer is sliding-window
chunking.
Left alone, because they already cover the whole clip: LAION-CLAP (fusion,
verified), ImageBind (3 clips across the full duration), VGGish, YAMNet, CNN14,
Dasheng, EnCodec (internal pooling), and now OmniVinci.
Verified: AST on a 60 s clip now uses 6 windows and differs from the truncated
10.24 s embedding at cosine 0.949. 2622 model-meta tests pass; ruff clean; AST,
Whisper and HuBERT pass the smoke test.
- docs: make every source note a clickable link, verified to resolve
Each note now points at the exact file it cites -- the checkpoint's config on
the Hub, the reference implementation on GitHub, or the paper on arXiv -- so a
value can be checked without hunting for its source.
All 41 distinct links were fetched and return 200. Examples:
huggingface.co/speechbrain/cnn14-esc50/blob/main/hyperparams.yaml
huggingface.co/Qwen/Qwen2.5-Omni-7B/blob/main/preprocessor_config.json
github.com/jimbozhang/xares/blob/main/example/data2vec/data2vec_encoder.py
github.com/s3prl/s3prl/blob/main/s3prl/dataset/chunking.py
github.com/facebookresearch/ImageBind/blob/main/imagebind/data.py
ai.google.dev/gemini-api/docs/embeddings
The only notes left without a link are the three that cite nothing external:
the random baseline (never encodes its input) and a one-line note that
AudioCollator yields numpy.
Verified: all links resolve; 2622 model-meta tests pass; ruff clean; Whisper,
AST, EnCodec, CLAP, CNN14 and HuBERT pass the smoke test.
- chore: drop campaign tooling from this PR
scripts/moeb_run.py, scripts/moeb_smoke.py and the slurm launchers are MOEB
campaign tooling, not library code, and do not belong in a wrapper-config fix.
Removed here so this PR contains only changes under mteb/.
They stay in the working tree for local use and can be proposed separately if
they are wanted upstream -- the smoke test in particular found four wrappers
that raise before producing an embedding (AST, EnCodec, SeamlessM4T, and the MuQ
bug in #5404).
-
docs: put each source link on its own line, to keep comment lines short
-
docs: link the CLAP padding note to ClapFeatureExtractor
-
fix: cap Nova 2 audio at its documented limit; document the remaining video wrappers
Extending the audio audit to video and omni wrappers found one real defect and
four undocumented values.
Amazon Nova 2 documents "8K tokens or 30s of video and 30s of audio". The wrapper
capped video at 30 s via NOVA_MAX_VIDEO_SECONDS but applied no cap to audio at
all, so a long clip was sent whole to an endpoint that accepts 30 s. Audio is now
capped the same way, with the limit cited.
Documented, each against its own source:
- VideoMAE: already reads num_frames from the checkpoint (videomae-base declares
16) and warns when overridden -- correct, just unstated. - fusion-embedding: 64 frames, its base is Qwen/Qwen3-VL-Embedding-2B.
- eBind: 8 frames, its declared clip length; the checkpoint declares none.
- UEmbed: uses the clip's own length, no cap declared.
Also checked and found clean: no video wrapper has the positional-collator or
numpy/torch defects that broke four audio wrappers -- every FramesCollator and
VideoCollator call passes keyword arguments.
Verified: 2622 model-meta tests pass; ruff clean.
- fix: UNITE now uses its own documented video config
Checking each video value against its source rather than only documenting it
found one that did not match.
UNITE's model card runs video with fps: 1 and max_frames: 32. The wrapper
instead took a fixed 32 frames, which over-samples short clips: a 10 s video got
32 frames where UNITE's own config would take 10. The wrapper already accepted
fps and max_frames, so this just sets them.
Also tightens the ViCLIP citation to the line that declares the value
(video_input_num_frames = 8 in Data/InternVid/viclip/viclip.py) rather than the
repository root.
Verified against source, unchanged: Cosmos-Embed1 num_video_frames=8, X-CLIP
num_frames=8, V-JEPA frames_per_clip 64/32/16, VideoPrism f16 in the checkpoint
name, InternVideo2 f8 in the checkpoint name, LanguageBind
vision_config.num_frames=8, VideoMAE reads num_frames from the checkpoint,
UEmbed uses the clip's own length.
Verified: 2622 model-meta tests pass; ruff clean.
-
docs: cite the exact line declaring ViCLIP's frame count
-
fix: remove the last arbitrary audio cap, correct two wrong source notes
A full census of the registry (912 models, 143 audio/video-capable across 60
files) turned up three wrappers whose config did not match their own source:
- Qwen3-Voice is an ECAPA-TDNN speaker encoder: dilated convolutions plus
AttentiveStatisticsPooling over the whole time axis, so it declares no length
limit and costs linear time. It was truncated at 30 s; it now gets the full
clip. - jina-embeddings-v5-omni does declare its limit, as audio_config
.max_source_positions=1500 (50 Hz frames = 30 s). The value was right but the
note called it an mteb cap. - UEmbed ships FPS=1 and MAX_FRAMES=64, both of which we already apply through
VideoCollator. The note claimed no cap was declared.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: window the two remaining pure audio encoders that truncated
Both are plain encoders, the class where window-plus-mean is measured to beat
truncation (10/10 on long-audio retrieval, 4/4 on classification):
- HeAR-s1.1 took a 2 s centre crop, so a 600 s recording was judged on 2 s from
its middle. HEAR's own protocol is the opposite: get_scene_embeddings averages
a clip's embeddings rather than picking one window. - SpeechT5 truncated at its 80 s limit; it now windows there and pools.
Left alone deliberately: BioVITA truncates via the authors' own energy-onset
crop, wav2clip already pads to the batch maximum without truncating, and the
LLM and API wrappers (Qwen2-Audio, bidirlm, jina, Nova, Gemini) are not the
class this was measured on -- windowing them means N language-model passes over
a joint audio-text sequence, which is a different operation.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: point two source links at the file that holds the value
Both values were right but unfindable from the link. BioVITA's card only says
it uses CLAP-HTSAT-unfused; nb_max_samples=480000 is in CLAP's own
preprocessor_config.json. UNITE's fps=1/max_frames=32 are in its README.
Every cited key=value in the audio and video wrappers now re-derives from the
linked source (42/42, checked by fetching each one).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: two video wrappers disagreed with their own model's config
A pass over the frame settings of all 77 video models, which the earlier
key=value check could not reach because these are written as prose:
- GVE ran at fps=2 / max_frames=32, with the fps attributed to qwen-omni-utils
-- a different model family's default. GVE's own inference example uses
fps=1.0 and max_frames=8. - OmniVinci overwrote the checkpoint's num_video_frames with 64. Its config
declares 32, with fps=0.0, so a fixed frame count rather than a rate.
Verified unchanged: V-JEPA (8 checkpoints) and VideoPrism (4) each match the
frame count in their own checkpoint name, and InternVideo2's f8 likewise.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: cite HeAR's own card, not the unrelated HEAR benchmark
HeAR here is Google Health Acoustic Representations, not the HEAR benchmark at
hearbenchmark.com -- similar name, different project, so the hear-eval-kit link
was wrong. The checkpoint's own card declares the protocol directly: window
2.0 s, hop 2.0 s, pooling over windows mean.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: give every audio model its own declared length, and drop windowing
Replaces the uniform 30 s cap that had spread by copying and matched no model's
configuration. Each model now uses the length its own config declares:
- Encoders that declare no limit at all -- wav2vec2, MMS, HuBERT, data2vec,
UniSpeech -- are no longer capped. They use convolutional positional
embedding (no max_position_embeddings), and transformers already selects SDPA
for them, so a 600 s clip costs well under a gigabyte. - WavLM also declares no limit, but transformers has no SDPA or flash kernel
for it, so its attention is quadratic in memory. It is capped at 90 s, the
most that fits batch 32 in 80 GB. That number is an mteb budget and says so. - Everything else truncates at the value in its own config: Whisper 30 s,
SpeechT5 80 s, M-CTC-T 27.6 s, SEW-D 20.5 s, SeamlessM4T 10 s, MuQ 10 s, and
AST through its extractor's own max_length. - HeAR keeps 2 s windows with a mean, because that is the protocol its model
card declares; it is inlined, so no shared helper is needed.
Verified by encoding a clip that changes tone partway through: capped models
return an identical embedding for the clip and its prefix, uncapped and
windowing models do not. 10/10 as expected.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- feat: make the audio cap an opt-in kwarg on the uncapped encoders
wav2vec2, MMS, HuBERT, data2vec and UniSpeech default to no cap, but the
parameter is kept so a length can be set deliberately -- to ablate it, or to
fit a smaller card -- rather than being unreachable. It flows to AudioCollator,
which already truncates when max_samples is given.
WavLM keeps its 90 s default, with the reason stated where the value is set:
transformers has no SDPA or flash kernel for it, so attention is quadratic and
90 s is the most that fits batch 32 in 80 GB.
Verified per model: the default sees audio past the ablation point, and passing
the kwarg makes the clip and its prefix encode identically.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: correct two misplaced notes, an unapplied cap, and a split kwarg name
Found by checking that every source note sits directly above the value it
documents and that the number in the note appears in that line:
- AST and Dasheng each carried a length note above the sampling-rate
assignment, which is not what they describe. AST's duplicated the one already
at the feature-extractor call; Dasheng's moved to the collator, where a cap
would go. - ColQwen and LCO claimed a 300 s limit in the note while defaulting to None,
so no cap was applied at all. Both now default to 4_800_000, matching
Omni-Embed-Nemotron, and the note says the value is in samples. - max_audio_length_s is renamed to max_audio_length_seconds in the five
wrappers that used it, so one name covers all 24 second-valued caps. Wrappers
accept **kwargs, so the wrong spelling was silently swallowed and the model
ran uncapped -- a length sweep would have reported no effect.
The three remaining max_audio_length / max_samples parameters are in samples,
not seconds, so they keep a distinct name.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: stop windowing HeAR; its card was quoting our own benchmark back
The window/hop/mean I cited sits under the card's "MAEB(beta, audio-only)
evaluation" heading, and the package ships maeb_run_config.json, described as
the saved MAEB inference settings for that run. MAEB is our own benchmark, so
that is not the authors prescribing a protocol -- it is our settings written
back into the card, and citing it was circular.
What the card does declare is architectural: mel+PCEN spectrograms of shape
[B, 1, 192, 128] built from 2-second clips, and clip_seconds=2.0 in config.
So HeAR takes its declared 2 s, like every other model here, using the
checkpoint's existing centre crop.
No wrapper windows audio any more.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: MuQ-MuLan and wav2clip were capped against their own designs
- MuQ-MuLan splits anything longer than clip_secs=10 into clips itself and
returns the average latent ("if the audio is longer than 10s, it will be crop
to multi cips and returns the average latent"). Capping at 10 s meant it only
ever saw one clip and never averaged. It is now uncapped. - wav2clip declared max_audio_length_s and never used it, so the value was
advertised but not applied. It is now wired up and defaults to uncapped,
which is what the model was already doing.
Re-verified the values that are prose rather than key=value: Audio Flamingo
600 s ("Max Audio Length: 10 Minutes"), PE-AV 400 s (max_position_embeddings
10000 at 48 kHz / 1920 = 25 Hz), SeamlessM4T 10 s (MAX_INPUT_AUDIO_LENGTH = 10),
OmniVinci 120 s (audio_chunk_length = 120), Nova 30 s (AWS: "8K tokens or 30s
of video and 30s of audio").
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: apply two settings that were declared but ignored, and source a third
A pass over every audio and video wrapper for values that are declared but
never reach the model:
- Audio Flamingo stored max_audio_length_seconds and never used it, so its
documented 10-minute limit was not applied to anything. Now it is. - UME-R1 accepted num_frames, stored it, and did not pass it to VideoCollator,
so setting it did nothing. Now forwarded alongside fps and max_frames. - The semantic-router wrappers cap audio at 30 s with no stated reason; their
config names Whisper as the audio encoder, so the value is right and now
says where it comes from.
Also checked every hardcoded sampling rate against the model's own config.
CNN14 44.1 kHz, BioVITA 48 kHz, MuQ 24 kHz and VoiceCLAP 16 kHz all agree with
their sources. MSCLAP's 48 kHz remains wrong (both its configs declare 44,100);
that is PR #5404's fix, not duplicated here.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: MSCLAP read audio at the wrong rate, and MuQ could not run at all
- MSCLAP hardcoded 48000, so the collator resampled to 48 kHz and the bridge
WAV was written at 48 kHz, but msclap is called with resample=False and its
config declares 44,100 for both 2022 and 2023. The package therefore read
48 kHz samples as 44.1 kHz and every clip was stretched about 9%. The rate is
now taken from the package itself (model.args.sampling_rate), which reports
44100 for both checkpoints. - MuQ-MuLan assigned a numpy array straight into a torch buffer, which has
raised TypeError since the collator started yielding numpy, so the wrapper
could not encode anything. It now bridges through torch.from_numpy.
Both verified end to end: MuQ returns (2, 512) and MSCLAP (2, 1024), finite and
distinct, with MSCLAP reporting 44100 Hz for 2022 and 2023.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: MSCLAP picked a random audio segment, so its scores were not reproducible
For any clip longer than its configured duration, msclap takes a random window:
start_index = random.randrange(
audio_time_series.shape[0] - audio_duration * sample_rate)
so the same model on the same data returned different embeddings each run. The
wrapper's max_audio_length_seconds was declared but never applied, so nothing
prevented it.
It now defaults to the duration msclap itself declares (5 s for 2022, 7 s for
2023) and is passed to the collator. Cutting at exactly that length sends
msclap down its deterministic repeat-or-trim branch instead.
Verified: encoding one 30 s clip twice now returns identical embeddings.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: shorten the notes that ran to several lines
Each note gives the value and its source; the reasoning belongs in the PR, not
in every constructor. Trims MSCLAP's two notes and VideoMAE's.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: M-CTC-T cap was in the wrong unit, VoiceCLAP's was never applied, CLAP was random
- MCTCTFeatureExtractor pads after fbank, so max_length counts frames, not
samples. The wrapper passed 27.6 * 16000, which is 4,416 s of frames, so the
cap never fired and long clips ran at up to 2,000 positions against the 920
the model declares. It now converts through hop_length: 60 s and 300 s both
land on exactly 920. - VoiceCLAP documented a 300 s cap and passed no max_samples, so nothing
applied it. Its config declares chunk_length=300 / n_samples=4800000. - Four of the five CLAP checkpoints declare truncation="rand_trunc", which
takes a random crop of anything longer than nb_max_samples, so the same clip
scored differently on every run. They are now cut at nb_max_samples, which
keeps them on the deterministic repeatpad branch. clap-htsat-fused declares
"fusion" instead, its own long-audio path, and is left whole -- it remains
non-deterministic by design.
The comment claiming every checkpoint keeps "repeatpad" + "fusion" was wrong;
only clap-htsat-fused declares fusion.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: AST's truncation args did nothing, and eight notes cited the wrong source
AST: ASTFeatureExtractor.call takes (raw_speech, sampling_rate,
return_tensors, **kwargs), so truncation and padding were swallowed. Output is
(1, 1024, 128) with or without them -- the 10.24 s cap is unconditional. The
two arguments are removed and the note no longer credits them.
Citations, all same value, corrected provenance:
- Qwen-Omni cited Omni-Embed-Nemotron; now Qwen2.5-Omni.
- Qwen3-VL embedding and reranker, VLM2Vec and UME-R1 are Qwen-VL models cited
to the Qwen2.5-Omni repo; qwen-vl-utils declares the same FPS = 2.0. - PE-AV is a Meta model and UniME-V2 a LLaVA-OneVision one, neither with Qwen
lineage: fps=2 is an mteb default and now says so. - Fusion-Embedding's config names its base but no frame count; eBind's card
never mentions frames; the X-ARES paper does not describe variable length to
10 minutes. All three now state the value as ours or as the model's own
behaviour rather than citing a page that does not support it. - SeamlessM4T's 10 s is a constant in Meta's demo app, not a model config.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: three wrappers could not run, and VoiceCLAP's cap was ten times too large
Found by an independent review and reproduced here:
- VoiceCLAPSmallWrapper serves voiceclap-small, not voiceclap-large, which
loads through SentenceTransformerEncoderWrapper. small declares
chunk_length=30 with n_ctx=1500 positions, so 300 s was ten times its limit
and anything past 30 s raises on the positional embedding. I had read the
value off large's config. - SeamlessM4T called AudioCollator positionally, but it is keyword-only, so
every audio batch raised TypeError and the 10 s cap never applied. This was
the last positional call site left in the repo. - wav2clip passed the collator's numpy arrays to torch.nn.functional.pad and
torch.stack, both of which reject them, so no batch could be encoded and the
cap added earlier was unreachable. - e5-omni and Tevatron-OmniEmbed are adapted from Qwen2.5-Omni like ColQwen,
LCO and Nemotron, but had no audio cap; they now use the same 4_800_000. - GVE's docstring still described fps=2 at 32 frames after the code moved to
the model card's fps=1 and 8 frames.
SeamlessM4T and wav2clip verified end to end.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: say where max_frames=64 comes from, since it is ours and not the model's
At 18 sites the value sat directly under a link to qwen-omni-utils or
qwen-vl-utils, which documents the fps above it. Both ship
FPS_MAX_FRAMES = 768, so the adjacency read as if 64 were sourced when it is a
cap mteb chose for cost. Each site now says so.
UEmbed keeps its plain note: 64 there is the checkpoint's own MAX_FRAMES.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: trim the notes that explained more than the value needed
- The max_frames note named both qwen-omni-utils and qwen-vl-utils at all 18
sites although each file uses one; upstream carries the point. - The uncapped encoders had a second line on SDPA selection and how to use the
parameter. The provenance is the config key, which the first line already
gives. - WavLM's reason fits in two lines without naming the attention class.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: source the last undocumented fps and frame values
- Gemini's 1 fps and 32-frame cap are in Google's embeddings docs ("a maximum
of 32 frames per video: short videos (<=32s) are sampled at 1 fps"). - Ops-MM and RzenEmbed are qwen2_vl, so their fps comes from qwen-vl-utils.
- WeMM is qwen3_5 and jina-omni declares its own model_type, so fps=2 there is
an mteb default and now says so. - OmniRetriever's 8 frames is ours; WAVE-7B declares no frame count.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: read M-CTC-T's limit off the checkpoint instead of hardcoding 27.6 s
The encoder's constraint is a position count, not a duration, so 27.6 was a
derived constant that looked arbitrary in review. It is now computed at load
from max_position_embeddings and conv_stride, and the number no longer appears
in the source. mteb already reads text limits off the model the same way
(max_tokens from max_seq_length).
The attribute is max_feature_frames, not max_frames: these are filterbank
frames, one per hop_length ms, and max_frames means video frames everywhere
else in the repo.
The value is logged at load, since a silent cap is how the original 30 s
default went unnoticed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- docs: cut the unit explanation to the source line
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: read SEW-D's limit off the checkpoint too
max_position_embeddings x conv_stride x squeeze_factor = 512 x 320 x 2 =
327,680 samples, identical across all three checkpoints, so 20.5 no longer
appears in the source. Logged at load like M-CTC-T.
These two numbers are the span of the models' learned relative-position
embeddings rather than hard limits: both run past them without complaining,
with zero positional bias beyond the trained range. Neither supports SDPA, so
batch 32 needs a cap regardless (244 s and 188 s respectively), and the
declared spans sit well inside that.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: read SpeechT5's limit off the checkpoint
max_speech_positions x conv_stride = 4000 x 320 = 1,280,000 samples, so 80.0 no
longer appears in the source. Logged at load, like M-CTC-T and SEW-D.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- fix: correct audio/video defaults flagged in source audit
- omniretriever: 8 s audio (train.sh --fixed_audio_duration 8)
- seamless-m4t-v2: 60 s (m4tv2 demo, not the expressive demo)
- qwen3-vl embedding/reranker: fps=1, MAX_FRAMES=64 from the reference scripts
- vlm2vec-v2: fps=1 from the model card
- rzen: 8 uniform frames from the model card
- jina v5 omni: 32 uniform frames (EVAL_VIDEO_NUM_FRAMES)
- e5-omni, tevatron: max_samples is a parameter (fixes duplicate kwarg TypeError)
- comment fixes: sources for wemm, fusion, ebind, omniretriever frames; drop
misattributed FPS_MAX_FRAMES=768; cite the checkpoints actually used
- fix: uniform fps=2 and OmniRetriever eval-pipeline audio
- fps=2 for every fps-sampled video model; per-model frame caps stay
upstream (qwen3-vl, gve, unite, uembed, vlm2vec, rzen, jina) - omniretriever: centre-crop / zero-pad audio to 8 s and cite the official
eval pipeline (media.py, loader.py) instead of train.sh
- fix: sample video frames evenly across the whole clip
The step-based sampler kept only the head of the clip whenever it had
fewer than twice the target frames (15 frames -> 8 gave 0-7) and always
dropped the tail. Use np.linspace, as qwen-vl-utils, UNITE, Jina, Rzen,
OmniRetriever, LanguageBind and PE-AV do upstream.
-
fix: keep UEmbed at fps=1, its value on main
-
fix: encode audio clips one at a time where padding leaks into pooling
MuQ-MuLan, EnCodec, wav2clip, Qwen3-Voice and CNN14 zero-padded each batch
to its longest clip and pooled over the padding unmasked, so a clip's
embedding depended on its batch-mates (3 s clip alone vs batched with a
40 s clip: cos 0.33 to 0.91). Now 1.0 for all five.
CNN14 also uses the checkpoint's classify_batch front end
(compute_stft -> spectral_magnitude -> compute_fbank) instead of
compute_features.
- fix: video frame sampling bugs
- qwen3-vl-reranker: do_sample_frames=False; the processor resampled the
collator's frames assuming 24 fps (64 frames -> 6) - colqwen-omni: apply fps=2 so the 64-frame cap takes effect; every
decoded frame was passed before - unite: back to 32 fixed frames as on main, citing UNITE's eval config
- fix: encode speech-encoder clips one at a time
wav2vec2, HuBERT, data2vec, MMS, UniSpeech, SEW-D, WavLM, SpeechT5,
M-CTC-T and SeamlessM4T padded each batch to its longest clip. Padding
reaches feature normalisation and group norm, so a clip's embedding
depended on its batch-mates (3 s clip alone vs batched with a 40 s clip:
cos 0.15 to 0.81, also on main). Now 1.0 for every measured model.
-
fix: typecheck the evenly spaced frame indices
-
fix: batch layer-norm speech encoders, share audio cap helpers
- SingleClipBatches: one clip per forward only where padding changes
embeddings (group-norm feature encoders, data2vec, WavLM, unverified
M-CTC-T and SeamlessM4T); layer-norm checkpoints batch with the
attention mask, which is exact. Keeps the progress bar total. - seconds_to_samples replaces ten copies of the cap conversion; a cap of
0 now raises instead of meaning no cap - WavLM 90 s and SEW-D/SpeechT5/M-CTC-T caps worded as mteb choices
- ast: pad only the time axis
- tests: FramesCollator sampling paths, the helpers, and batch
independence on tiny group-norm/layer-norm checkpoints (fails on the
previous batched wrappers)
-
docs: what's new entry for the audio and video input changes
-
test: update random-baseline video scores for evenly spaced frames
The mock videos have 24 frames and the random baselines sample 10. The
old sampler picked frames 0-18; the evenly spaced one picks 0-23, so the
hashed embeddings and the six Linux/Windows expected scores change.
- fix: batch_size=1 dataloader for per-clip audio, reject zero caps
- replace SingleClipBatches with single_clip_dataloader, a batch_size=1
rebuild of the input DataLoader (batch_size cannot be set on an
existing one) - a duration cap of 0 now raises a clear ValueError: AudioCollator
rejects max_samples <= 0, and VGGish, YAMNet, CNN14, Whisper and
MS-CLAP use seconds_to_samples instead of silently embedding empty or
default-length audio
- fix: SeamlessM4T crashed on every input with transformers 5
The processor's audio keyword is audios before transformers 4.57 and
audio from v5, which rejects audios. Call the feature extractor
directly, as the processor does internally on every version; features
are identical to the v5 audio= path.
- fix: encode speech encoders one clip at a time, validate audio caps early
Padding changes group-norm embeddings (min cosine 0.12 batched vs alone on
real wav2vec2-base clips, with or without an attention mask), and a padded
batch of long uncapped clips runs out of memory on 80 GB. All wav2vec2,
HuBERT, MMS, UniSpeech, SEW-D, SpeechT5, data2vec, WavLM, M-CTC-T and
SeamlessM4T wrappers now encode one clip per forward; the reason is logged
once per run.
- single_clip_dataloader takes a logged reason; truncation is logged once
- check_duration_cap rejects caps <= 0 at init, before weights load
- WavLM cap 90 s -> 240 s: measured 62 GB at 240 s, OOM at 300 s (no SDPA)
- wav2vec2-xls-r-2b-21-to-en loads its encoder from the speech-to-text
checkpoint; Wav2Vec2Model left all its weights randomly initialised - tests: truncation and one-clip reason are logged once
- fix: make omni and long-audio embeddings independent of batch-mates
Real clips up to 1272 s, batch 32 vs 8 vs 1. Each wrapper below now gives
identical embeddings at every batch size and fits on 80 GB.
- one clip per forward (OOM batched and/or padding drift): Qwen2-Audio,
Qwen-Omni, LCO, Audio Flamingo, e5-omni, Tevatron, omni-embed-nemotron,
BidirLM, OmniVinci, OmniRetriever, fusion-embedding, PE-AV, HeAR - Qwen2-Audio pooled a pad token: the tokenizer pads left, so the last
real token is not mask.sum() - 1; also cast bf16 before .numpy() - e5-omni and Tevatron cut audio at ~20 s: the 512-token text limit was
applied to the multimodal sequence; it now applies to text-only inputs - CLAP fusion and LanguageBind pick random crops of long clips; seed them
per clip so embeddings are reproducible - PE-AV audio cap is (10000 - 1) * 1920 samples, the rotary table minus
CLS (Meta's code fails past it); 400 s was one frame over - omni-embed-nemotron audio back to 2,048,000 samples (model card)
- audio_one_clip_reason on SentenceTransformerEncoderWrapper
- fix: validate remaining audio caps at init, run Encodec past cuDNN's limit
- every remaining audio wrapper rejects a cap <= 0 before loading weights
- Encodec stays uncapped: cuDNN fails on its encoder past ~850 s of
24 kHz audio, so the encoder runs with cuDNN disabled (1272 s in 24 GB) - comment fixes for wav2clip and Dasheng sources
- test: every importable audio wrapper rejects 0 and -1 before loading
- fix: use each video model's own reference frame sampling
The mteb default fps=2 with a 64-frame cap stays the fallback for models
that declare no frame setting.
- GVE: fps=1, max 8 (model card inference example)
- Qwen3-VL embedding and reranker: fps=1, max 64 (official scripts)
- VLM2Vec-V2: 8 frames evenly (official eval config, all video tasks)
- Jina v5 omni: 32 frames evenly (EVAL_VIDEO_NUM_FRAMES)
- RzenEmbed: 8 frames evenly (model card)
- UNITE: label 32 frames as an mteb pick among its eval counts
- docs: link the random-crop lines, call Jina's 32 frames its inference default
- CLAP fusion and LanguageBind: commit-pinned links to the exact lines that
pick random chunks of long clips (and CLAP's random is_longer flag) - Jina v5 omni: 32 frames is the model's inference default
(EVAL_VIDEO_NUM_FRAMES in its sentence-transformers code), not a
published eval config - What's New: video models use the frame sampling they declare themselves
- refactor: keep zero-cap checks only where nothing else catches them
Most audio wrappers already reject a cap <= 0 at encode time through
AudioCollator or seconds_to_samples, so the extra check in their init
was redundant. Keep it only in the five wrappers that pass the cap
straight to the feature extractor, where a 0 otherwise produced empty
audio (SEW-D, SpeechT5, M-CTC-T) or an unclear crash (WavLM, Qwen2-Audio).
- test the cap check on those five wrappers only
- drop the tests that only asserted log messages
- fix: video and omni wrappers that never ran correctly
All of these were already broken on main; each was checked on real videos.
- RzenEmbed: the video collator was attached only for the default
collate_fn, which mteb never uses, and videos were passed as one image;
frames now go in as images, as in the model card - LanguageBind: the upstream video transform flipped clips left-right at
random even at inference (batched vs single cosine 0.945); flip removed - UME-R1: the 7B sampled its reasoning text (do_sample=true in its
generation config), now greedy; the no-embedding-token fallback used the
batch's last step instead of the sequence's own; video one at a time,
since batching changes the generated reasoning (cosine 0.97) - ViCLIP: tokenizer vocab resolved relative to the working directory; now
downloaded. Its remote code needs transformers<5, now declared - Cosmos-Embed1 336p/448p: a position embedding resized in fp32 at load
clashed with the bf16 layers; cast back - AuroLA-Omni: decoded every video frame and ignored its pixel limit for
video; now fps=1 and max_pixels=642828 (model card), at most 64 frames,
300 s audio - voiceclap-large-v2: audio cap set explicitly to its 300 s chunk_length
- fix: batch unless batching clearly changes the embeddings
Measured on real clips and videos (batched vs single, min cosine):
- one item at a time below 0.99: group-norm speech checkpoints (0.12-0.43),
SpeechT5 0.15, SEW-D 0.31, HeAR 0.51, omni-embed-nemotron 0.73,
CLAP fusion 0.75, data2vec 0.80, OmniVinci 0.91, Qwen3-Omni 0.96 - batch at 0.99 or above, as the models' own evaluations do: layer-norm
wav2vec2/HuBERT/MMS, WavLM-large, M-CTC-T, Seamless, Qwen2-Audio,
Qwen2.5-Omni, LCO, e5-omni, Tevatron, AuroLA, GVE, BidirLM, PE-AV,
fusion, OmniRetriever, Audio Flamingo
Memory alone no longer forces batch_size=1; lower batch_size for tasks
with very long clips.
- fix: check the audio cap before importing transformers
The lowest-dependencies CI job has no Qwen2AudioForConditionalGeneration,
so Qwen2-Audio and WavLM failed on the import before reaching the cap
check. Run the check first, as SEW-D, SpeechT5 and M-CTC-T already do.
- fix: final audit pass on comments, frame rates and one-at-a-time reasons
- comments and log text: the one-at-a-time threshold is 0.99, measured
values quoted, no stale memory reasons; the helper covers video too - AuroLA: pass fps=1 to the processor so frames are spaced as sampled
(the model card's setting); it assumed 2 fps - fusion-embedding: video at fps=1 up to 64 frames, the reference's
sampling for video files, instead of a fixed 64 - OmniVinci: one at a time only for audio (0.91); video alone batches (0.997)
- PE-AV: reword the frame-rate comment to what the config says
- What's New: frame rule wording, and the ColQwen2.5-Omni and Qwen3-VL
reranker fixes
- fix: omni-embed-nemotron attention mode, invalid extras groups, MuQ on transformers 5
- omni-embed-nemotron: the decoder is trained bidirectional, but the remote
code's _update_causal_mask override is never called on transformers 5, so
padded batches ran causal while single items ran bidirectional (batched vs
single cosine 0.73 audio, 0.87 video; text affected too). Setting
config.is_causal=False selects transformers' bidirectional mask; batched
and single now agree (text 1.0, audio 0.9999, video 0.998), so it batches - ebind and OmniVinci pointed at extras groups that do not exist, so
mteb.get_model failed for them; ebind installs from git and OmniVinci
pins transformers 4.46, so neither can be an mteb extra. Use existing
groups and note the install steps - MuQ: the muq package fails on transformers 5, declare transformers-v4
- refactor: drop the unused one-at-a-time switch from the sentence-transformers wrapper
No model sets it any more: omni-embed-nemotron batches after its attention
fix, and e5-omni, Tevatron and AuroLA batch within 0.99.
- fix: ColQwen2.5-Omni fps from its checkpoint config; CLAP fusion only fuses long clips
- ColQwen2.5-Omni: fps 1, as in the checkpoint's video_preprocessor_config.json
at the pinned revision (was 2). - CLAP fusion: process each clip on its own and set is_longer from its real
length. The feature extractor marks a random clip as long when none is (a
training trick), so encoding one clip at a time pushed every short clip
through the long-clip path. Batching is allowed again (batched vs single
cosine 1.0).
- Update docs/whats_new.md
Co-authored-by: Roman Solomatin <samoed.roman@gmail.com>
Co-authored-by: AdnanElAssadi56 <adnan@tyce.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Roman Solomatin <samoed.roman@gmail.com> (5621901)
Refactor
-
refactor: migrate XQuAD retrieval task to v2 (#5617) (
6645cf3) -
refactor: migrate WMT19 retrieval task to v2 (#5616) (
eb3cdd1)
Unknown
-
Add JMullings/spectral-embed-v1-140m model (#5601)
-
Add JMullings/spectral-embed-v1-140m model
-
Address review comments: simplify model class, fix metadata, remove test file
-
Lint Completed
-
Apply suggestion from @Samoed
-
lint
-
Add n_embedding_parameters to spectral model metas
MTEB requires every non-historic model to declare n_embedding_parameters.
The spectral embedding metas left this as None, failing
test_n_embedding_parameters for two registry entries.
Fixes: test_n_embedding_parameters[model_meta118]
Fixes: test_n_embedding_parameters[model_meta705]
Co-authored-by: Roman Solomatin <samoed.roman@gmail.com>
Co-authored-by: Roman Solomatin <36135455+Samoed@users.noreply.github.com> (8f26694)