Hugging Face model: benjamintli/modernbert-code-v4-hard-negatives
Author: benjamintli
Created: 2026-03-28 18:53:27
Last modified: 2026-03-29 00:53:55
Pipeline: sentence-similarity
Library: sentence-transformers
Likes: 0 | Downloads: 93
Tags: sentence-transformers, safetensors, modernbert, sentence-similarity, feature-extraction, dense, generated_from_trainer, dataset_size:277492, loss:CachedMultipleNegativesRankingLoss, dataset:benjamintli/code-retrieval-hard-negatives-llm-verified-merged, dataset:benjamintli/code-retrieval-combined-v2, arxiv:1908.10084, arxiv:2101.06983, base_model:benjamintli/modernbert-code-v3-hard-negatives, base_model:finetune:benjamintli/modernbert-code-v3-hard-negatives, model-index, text-embeddings-inference, endpoints_compatible, region:us
Base model relation: finetune
Base models: id: benjamintli/modernbert-code-v3-hard-negatives
Card metadata:
tags: sentence-transformers, sentence-similarity, feature-extraction, dense, generated_from_trainer, dataset_size:277492, loss:CachedMultipleNegativesRankingLoss
base_model: benjamintli/modernbert-code-v3-hard-negatives
datasets: benjamintli/code-retrieval-hard-negatives-llm-verified-merged, benjamintli/code-retrieval-combined-v2
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics: cosine_accuracy@1, cosine_accuracy@3, cosine_accuracy@5, cosine_accuracy@10, cosine_precision@1, cosine_precision@3, cosine_precision@5, cosine_precision@10, cosine_recall@1, cosine_recall@3, cosine_recall@5, cosine_recall@10, cosine_ndcg@10, cosine_mrr@10, cosine_map@100