Skip to content

feat: qwen3-based zembed-1 impl#240

Open
modpotato wants to merge 2 commits intoAnush008:mainfrom
modpotato:main
Open

feat: qwen3-based zembed-1 impl#240
modpotato wants to merge 2 commits intoAnush008:mainfrom
modpotato:main

Conversation

@modpotato
Copy link
Copy Markdown

@modpotato modpotato commented Mar 24, 2026

cant find any onnx versions so added ZembedTextEmbedding along qwen3 as its the base model
havent tested personally, cpp linkers broken so workflow tests should catch any bugs i didnt in logic

Resolves #233

@Anush008
Copy link
Copy Markdown
Owner

Thanks for taking the time to contribute @modpotato.


#[test]
fn zembed1_embed() {
if std::env::var("RUN_ZEMBED").is_err() {
Copy link
Copy Markdown
Owner

@Anush008 Anush008 Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove.
We need this test to run in the CI.

"image cosine mismatch: got {image_dot}, expected {expected_dot_from_python}"
);
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add assertions equating embedding values from the Python counterpart code.

Like we do at https://github.com/Anush008/fastembed-rs/blob/main/tests/text-embeddings.rs

We have ensure Python and Rust produce the same vectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

request: add zembed-1

2 participants