model: NightOwl-CodeEmbedding#4791
Merged
Merged
Conversation
Samoed
approved these changes
Jun 10, 2026
Contributor
Author
|
Thank you for merging this PR! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds Shuu12121/NightOwl-CodeEmbedding to the MTEB model registry.
NightOwl-CodeEmbeddingis a Sentence Transformers-compatible ModernBERT model specialized for code retrieval. It uses CLS pooling, cosine similarity, and does not require query or document prefixes.Evaluation
The model was evaluated on 12 representative code-retrieval tasks using MTEB. The macro-average NDCG@10 was 0.70240.
There is currently no original paper associated with this model. Detailed benchmark results are available in the model card.
For CodeEditSearch-like training data, I used a custom dataset derived from
bigcode/commitpackft. Rows overlapping withcassanof/CodeEditSearchwere excluded using content-, diff-, commit-, and repo/commit-based hashes. IfCodeEditSearchshould still be listed in the model metadata as related training data, I would be happy to add it.Checklist
I have filled out the ModelMeta object to the extent possible
I have ensured that my model can be loaded using
mteb.get_model(model_name, revision)mteb.get_model_meta(model_name, revision)I have tested the implementation works on a representative set of tasks
The model is public, i.e., is available either as an API or the weights are publicly available to download
I reproduced results from the original paper (if applicable) on at least one benchmark, and I am including the results in the PR description