Shuu12121 / CodeSearch-ModernBERT-Snake-1.0

huggingface.co
Total runs: 8
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: April 03 2025
sentence-similarity

Introduction of CodeSearch-ModernBERT-Snake-1.0

Model Details of CodeSearch-ModernBERT-Snake-1.0

SentenceTransformer based on Shuu12121/CodeSearch-ModernBERT-Snake

This is a sentence-transformers model finetuned from Shuu12121/CodeSearch-ModernBERT-Snake . It maps sentences & paragraphs to a 512-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details
Model Description
  • Model Type: Sentence Transformer
  • Base model: Shuu12121/CodeSearch-ModernBERT-Snake
  • Maximum Sequence Length: 8192 tokens
  • Output Dimensionality: 512 dimensions
  • Similarity Function: Cosine Similarity
Model Sources
Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: ModernBertModel 
  (1): Pooling({'word_embedding_dimension': 512, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
Usage
Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
    'Reject Message.\n\n        :param int/long delivery_tag: Server-assigned delivery tag\n        :param bool requeue: Re-queue the message\n\n        :raises AMQPInvalidArgument: Invalid Parameters\n        :raises AMQPChannelError: Raises if the channel encountered an error.\n        :raises AMQPConnectionError: Raises if the connection\n                                     encountered an error.\n\n        :return:',
    "def reject(self, delivery_tag=0, requeue=True):\n        \n        if not compatibility.is_integer(delivery_tag):\n            raise AMQPInvalidArgument('delivery_tag should be an integer')\n        elif not isinstance(requeue, bool):\n            raise AMQPInvalidArgument('requeue should be a boolean')\n        reject_frame = specification.Basic.Reject(delivery_tag=delivery_tag,\n                                                  requeue=requeue)\n        self._channel.write_frame(reject_frame)",
    'def num_columns(self):\n        \n        if self.term.is_a_tty:\n            return self.term.width // self.hint_width\n        return 1',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 512]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Evaluation
Metrics
Information Retrieval
Metric Value
cosine_accuracy@1 0.5327
cosine_accuracy@3 0.8385
cosine_accuracy@5 0.8853
cosine_accuracy@10 0.9215
cosine_precision@1 0.5327
cosine_precision@3 0.2795
cosine_precision@5 0.1771
cosine_precision@10 0.0922
cosine_recall@1 0.5327
cosine_recall@3 0.8385
cosine_recall@5 0.8853
cosine_recall@10 0.9215
cosine_ndcg@10 0.7508
cosine_mrr@10 0.6937
cosine_map@100 0.696
Training Details
Training Dataset
Unnamed Dataset
  • Size: 2,789,077 training samples
  • Columns: sentence_0 , sentence_1 , and label
  • Approximate statistics based on the first 1000 samples:
    sentence_0 sentence_1 label
    type string string float
    details
    • min: 5 tokens
    • mean: 97.05 tokens
    • max: 2706 tokens
    • min: 27 tokens
    • mean: 159.11 tokens
    • max: 889 tokens
    • min: 1.0
    • mean: 1.0
    • max: 1.0
  • Samples:
    sentence_0 sentence_1 label
    Set the text for this element.

    Arguments:
    text (str): The text
    cls (str): The class of the text, defaults to current (leave this unless you know what you are doing). There may be only one text content element of each class associated with the element.
    def settext(self, text, cls='current'):

    self.replace(TextContent, value=text, cls=cls)
    1.0
    Associate a document with this element.

    Arguments:
    doc (:class: Document ): A document

    Each element must be associated with a FoLiA document.
    def setdocument(self, doc):

    assert isinstance(doc, Document)

    if not self.doc:
    self.doc = doc
    if self.id:
    if self.id in doc:
    raise DuplicateIDError(self.id)
    else:
    self.doc.index[id] = self

    for e in self: #recursive for all children
    if isinstance(e,AbstractElement): e.setdocument(doc)
    1.0
    Tests whether a new element of this class can be added to the parent.

    This method is mostly for internal use.
    This will use the OCCURRENCES property, but may be overidden by subclasses for more customised behaviour.

    Parameters:
    parent (:class: AbstractElement ): The element that is being added to
    set (str or None): The set
    raiseexceptions (bool): Raise an exception if the element can't be added?

    Returns:
    bool

    Raises:
    ValueError
    def addable(Class, parent, set=None, raiseexceptions=True):



    if not parent. class .accepts(Class, raiseexceptions, parent):
    return False

    if Class.OCCURRENCES > 0:
    #check if the parent doesn't have too many already
    count = parent.count(Class,None,True,[True, AbstractStructureElement]) #never descend into embedded structure annotatioton
    if count >= Class.OCCURRENCES:
    if raiseexceptions:
    if parent.id:
    extra = ' (id=' + parent.id + ')'
    else:
    extra = ''
    raise DuplicateAnnotationError("Unable to add another object of type " + Class. name + " to " + parent. class . name + " " + extra + ". There are already " + str(count) + " instances of this class, which is the maximum.")
    else:
    return False

    if Class.OCCURRENCES_PER_SET > 0 and set and Class.R...
    1.0
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    
Training Hyperparameters
Non-Default Hyperparameters
  • eval_strategy : steps
  • per_device_train_batch_size : 24
  • per_device_eval_batch_size : 24
  • fp16 : True
  • multi_dataset_batch_sampler : round_robin
All Hyperparameters
Click to expand
  • overwrite_output_dir : False
  • do_predict : False
  • eval_strategy : steps
  • prediction_loss_only : True
  • per_device_train_batch_size : 24
  • per_device_eval_batch_size : 24
  • per_gpu_train_batch_size : None
  • per_gpu_eval_batch_size : None
  • gradient_accumulation_steps : 1
  • eval_accumulation_steps : None
  • torch_empty_cache_steps : None
  • learning_rate : 5e-05
  • weight_decay : 0.0
  • adam_beta1 : 0.9
  • adam_beta2 : 0.999
  • adam_epsilon : 1e-08
  • max_grad_norm : 1
  • num_train_epochs : 3
  • max_steps : -1
  • lr_scheduler_type : linear
  • lr_scheduler_kwargs : {}
  • warmup_ratio : 0.0
  • warmup_steps : 0
  • log_level : passive
  • log_level_replica : warning
  • log_on_each_node : True
  • logging_nan_inf_filter : True
  • save_safetensors : True
  • save_on_each_node : False
  • save_only_model : False
  • restore_callback_states_from_checkpoint : False
  • no_cuda : False
  • use_cpu : False
  • use_mps_device : False
  • seed : 42
  • data_seed : None
  • jit_mode_eval : False
  • use_ipex : False
  • bf16 : False
  • fp16 : True
  • fp16_opt_level : O1
  • half_precision_backend : auto
  • bf16_full_eval : False
  • fp16_full_eval : False
  • tf32 : None
  • local_rank : 0
  • ddp_backend : None
  • tpu_num_cores : None
  • tpu_metrics_debug : False
  • debug : []
  • dataloader_drop_last : False
  • dataloader_num_workers : 0
  • dataloader_prefetch_factor : None
  • past_index : -1
  • disable_tqdm : False
  • remove_unused_columns : True
  • label_names : None
  • load_best_model_at_end : False
  • ignore_data_skip : False
  • fsdp : []
  • fsdp_min_num_params : 0
  • fsdp_config : {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • tp_size : 0
  • fsdp_transformer_layer_cls_to_wrap : None
  • accelerator_config : {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • deepspeed : None
  • label_smoothing_factor : 0.0
  • optim : adamw_torch
  • optim_args : None
  • adafactor : False
  • group_by_length : False
  • length_column_name : length
  • ddp_find_unused_parameters : None
  • ddp_bucket_cap_mb : None
  • ddp_broadcast_buffers : False
  • dataloader_pin_memory : True
  • dataloader_persistent_workers : False
  • skip_memory_metrics : True
  • use_legacy_prediction_loop : False
  • push_to_hub : False
  • resume_from_checkpoint : None
  • hub_model_id : None
  • hub_strategy : every_save
  • hub_private_repo : None
  • hub_always_push : False
  • gradient_checkpointing : False
  • gradient_checkpointing_kwargs : None
  • include_inputs_for_metrics : False
  • include_for_metrics : []
  • eval_do_concat_batches : True
  • fp16_backend : auto
  • push_to_hub_model_id : None
  • push_to_hub_organization : None
  • mp_parameters :
  • auto_find_batch_size : False
  • full_determinism : False
  • torchdynamo : None
  • ray_scope : last
  • ddp_timeout : 1800
  • torch_compile : False
  • torch_compile_backend : None
  • torch_compile_mode : None
  • dispatch_batches : None
  • split_batches : None
  • include_tokens_per_second : False
  • include_num_input_tokens_seen : False
  • neftune_noise_alpha : None
  • optim_target_modules : None
  • batch_eval_metrics : False
  • eval_on_start : False
  • use_liger_kernel : False
  • eval_use_gather_object : False
  • average_tokens_across_devices : False
  • prompts : None
  • batch_sampler : batch_sampler
  • multi_dataset_batch_sampler : round_robin
Training Logs
Click to expand
Epoch Step Training Loss code-docstring-retrieval_cosine_ndcg@10
0.0043 500 0.0719 -
0.0086 1000 0.068 -
0.0129 1500 0.0578 -
0.0172 2000 0.0564 -
0.0215 2500 0.0576 -
0.0258 3000 0.0502 -
0.0301 3500 0.06 -
0.0344 4000 0.061 -
0.0387 4500 0.0573 -
0.0430 5000 0.0571 0.7332
0.0473 5500 0.0549 -
0.0516 6000 0.0635 -
0.0559 6500 0.0571 -
0.0602 7000 0.063 -
0.0645 7500 0.0546 -
0.0688 8000 0.0599 -
0.0731 8500 0.0624 -
0.0774 9000 0.0535 -
0.0817 9500 0.0561 -
0.0860 10000 0.0614 0.7337
0.0904 10500 0.0604 -
0.0947 11000 0.0581 -
0.0990 11500 0.0599 -
0.1033 12000 0.0557 -
0.1076 12500 0.0548 -
0.1119 13000 0.0529 -
0.1162 13500 0.0539 -
0.1205 14000 0.0497 -
0.1248 14500 0.0507 -
0.1291 15000 0.0497 0.7284
0.1334 15500 0.0544 -
0.1377 16000 0.0497 -
0.1420 16500 0.0518 -
0.1463 17000 0.0545 -
0.1506 17500 0.055 -
0.1549 18000 0.0429 -
0.1592 18500 0.0563 -
0.1635 19000 0.0564 -
0.1678 19500 0.0492 -
0.1721 20000 0.0441 0.7269
0.1764 20500 0.0494 -
0.1807 21000 0.0536 -
0.1850 21500 0.054 -
0.1893 22000 0.0504 -
0.1936 22500 0.0551 -
0.1979 23000 0.0504 -
0.2022 23500 0.0502 -
0.2065 24000 0.0501 -
0.2108 24500 0.0516 -
0.2151 25000 0.052 0.7329
0.2194 25500 0.0485 -
0.2237 26000 0.0454 -
0.2280 26500 0.0463 -
0.2323 27000 0.0484 -
0.2366 27500 0.0466 -
0.2409 28000 0.0521 -
0.2452 28500 0.0434 -
0.2495 29000 0.0584 -
0.2538 29500 0.0477 -
0.2581 30000 0.0482 0.7275
0.2625 30500 0.0435 -
0.2668 31000 0.0524 -
0.2711 31500 0.0484 -
0.2754 32000 0.0441 -
0.2797 32500 0.049 -
0.2840 33000 0.0525 -
0.2883 33500 0.0472 -
0.2926 34000 0.045 -
0.2969 34500 0.0479 -
0.3012 35000 0.0455 0.7334
0.3055 35500 0.0536 -
0.3098 36000 0.0487 -
0.3141 36500 0.0524 -
0.3184 37000 0.044 -
0.3227 37500 0.0421 -
0.3270 38000 0.0482 -
0.3313 38500 0.0422 -
0.3356 39000 0.0451 -
0.3399 39500 0.0495 -
0.3442 40000 0.0427 0.7306
0.3485 40500 0.0479 -
0.3528 41000 0.0465 -
0.3571 41500 0.0441 -
0.3614 42000 0.0429 -
0.3657 42500 0.047 -
0.3700 43000 0.0462 -
0.3743 43500 0.0479 -
0.3786 44000 0.0461 -
0.3829 44500 0.0409 -
0.3872 45000 0.047 0.7323
0.3915 45500 0.0413 -
0.3958 46000 0.0372 -
0.4001 46500 0.0418 -
0.4044 47000 0.0485 -
0.4087 47500 0.0424 -
0.4130 48000 0.0461 -
0.4173 48500 0.0425 -
0.4216 49000 0.0423 -
0.4259 49500 0.0491 -
0.4302 50000 0.0485 0.7344
0.4346 50500 0.0457 -
0.4389 51000 0.0432 -
0.4432 51500 0.0449 -
0.4475 52000 0.0459 -
0.4518 52500 0.0397 -
0.4561 53000 0.0425 -
0.4604 53500 0.0429 -
0.4647 54000 0.0415 -
0.4690 54500 0.0476 -
0.4733 55000 0.0485 0.7339
0.4776 55500 0.05 -
0.4819 56000 0.044 -
0.4862 56500 0.0436 -
0.4905 57000 0.0415 -
0.4948 57500 0.0441 -
0.4991 58000 0.0407 -
0.5034 58500 0.039 -
0.5077 59000 0.0354 -
0.5120 59500 0.0422 -
0.5163 60000 0.0455 0.7353
0.5206 60500 0.039 -
0.5249 61000 0.0426 -
0.5292 61500 0.038 -
0.5335 62000 0.044 -
0.5378 62500 0.0436 -
0.5421 63000 0.0361 -
0.5464 63500 0.0387 -
0.5507 64000 0.0459 -
0.5550 64500 0.0399 -
0.5593 65000 0.0433 0.7311
0.5636 65500 0.0479 -
0.5679 66000 0.0392 -
0.5722 66500 0.0373 -
0.5765 67000 0.0418 -
0.5808 67500 0.0389 -
0.5851 68000 0.0417 -
0.5894 68500 0.037 -
0.5937 69000 0.0377 -
0.5980 69500 0.0387 -
0.6023 70000 0.0397 0.7332
0.6066 70500 0.0363 -
0.6110 71000 0.0388 -
0.6153 71500 0.0391 -
0.6196 72000 0.0414 -
0.6239 72500 0.0394 -
0.6282 73000 0.0412 -
0.6325 73500 0.0377 -
0.6368 74000 0.0431 -
0.6411 74500 0.0371 -
0.6454 75000 0.0352 0.7397
0.6497 75500 0.0353 -
0.6540 76000 0.0403 -
0.6583 76500 0.0348 -
0.6626 77000 0.0394 -
0.6669 77500 0.0399 -
0.6712 78000 0.0381 -
0.6755 78500 0.0397 -
0.6798 79000 0.0347 -
0.6841 79500 0.045 -
0.6884 80000 0.0409 0.7384
0.6927 80500 0.0356 -
0.6970 81000 0.0382 -
0.7013 81500 0.0383 -
0.7056 82000 0.0351 -
0.7099 82500 0.042 -
0.7142 83000 0.0415 -
0.7185 83500 0.034 -
0.7228 84000 0.0385 -
0.7271 84500 0.0396 -
0.7314 85000 0.0398 0.7372
0.7357 85500 0.0313 -
0.7400 86000 0.0391 -
0.7443 86500 0.0362 -
0.7486 87000 0.0393 -
0.7529 87500 0.0387 -
0.7572 88000 0.0377 -
0.7615 88500 0.0356 -
0.7658 89000 0.0398 -
0.7701 89500 0.0354 -
0.7744 90000 0.036 0.7339
0.7787 90500 0.038 -
0.7831 91000 0.0357 -
0.7874 91500 0.0357 -
0.7917 92000 0.0427 -
0.7960 92500 0.0347 -
0.8003 93000 0.0359 -
0.8046 93500 0.0375 -
0.8089 94000 0.0362 -
0.8132 94500 0.0336 -
0.8175 95000 0.0383 0.7374
0.8218 95500 0.0373 -
0.8261 96000 0.0363 -
0.8304 96500 0.0416 -
0.8347 97000 0.0356 -
0.8390 97500 0.0365 -
0.8433 98000 0.0359 -
0.8476 98500 0.0327 -
0.8519 99000 0.0357 -
0.8562 99500 0.0319 -
0.8605 100000 0.0391 0.7377
0.8648 100500 0.0375 -
0.8691 101000 0.0368 -
0.8734 101500 0.0352 -
0.8777 102000 0.034 -
0.8820 102500 0.0331 -
0.8863 103000 0.0374 -
0.8906 103500 0.0351 -
0.8949 104000 0.0346 -
0.8992 104500 0.0348 -
0.9035 105000 0.0331 0.7359
0.9078 105500 0.0341 -
0.9121 106000 0.0329 -
0.9164 106500 0.0315 -
0.9207 107000 0.035 -
0.9250 107500 0.0346 -
0.9293 108000 0.0352 -
0.9336 108500 0.0309 -
0.9379 109000 0.0313 -
0.9422 109500 0.0356 -
0.9465 110000 0.0338 0.7364
0.9508 110500 0.0319 -
0.9552 111000 0.0378 -
0.9595 111500 0.0293 -
0.9638 112000 0.0358 -
0.9681 112500 0.0257 -
0.9724 113000 0.0322 -
0.9767 113500 0.0388 -
0.9810 114000 0.0306 -
0.9853 114500 0.0339 -
0.9896 115000 0.0337 0.7374
0.9939 115500 0.0317 -
0.9982 116000 0.0338 -
1.0 116212 - 0.7389
1.0025 116500 0.0253 -
1.0068 117000 0.0177 -
1.0111 117500 0.023 -
1.0154 118000 0.0194 -
1.0197 118500 0.0228 -
1.0240 119000 0.0227 -
1.0283 119500 0.0214 -
1.0326 120000 0.0208 0.7399
1.0369 120500 0.0231 -
1.0412 121000 0.0206 -
1.0455 121500 0.022 -
1.0498 122000 0.0223 -
1.0541 122500 0.0209 -
1.0584 123000 0.017 -
1.0627 123500 0.0193 -
1.0670 124000 0.0227 -
1.0713 124500 0.0233 -
1.0756 125000 0.02 0.7392
1.0799 125500 0.0225 -
1.0842 126000 0.021 -
1.0885 126500 0.0193 -
1.0928 127000 0.023 -
1.0971 127500 0.0258 -
1.1014 128000 0.0199 -
1.1057 128500 0.022 -
1.1100 129000 0.023 -
1.1143 129500 0.0225 -
1.1186 130000 0.021 0.7390
1.1229 130500 0.0238 -
1.1273 131000 0.0196 -
1.1316 131500 0.0215 -
1.1359 132000 0.0201 -
1.1402 132500 0.02 -
1.1445 133000 0.0232 -
1.1488 133500 0.0174 -
1.1531 134000 0.0226 -
1.1574 134500 0.0226 -
1.1617 135000 0.02 0.7401
1.1660 135500 0.0243 -
1.1703 136000 0.0229 -
1.1746 136500 0.0219 -
1.1789 137000 0.0197 -
1.1832 137500 0.0212 -
1.1875 138000 0.018 -
1.1918 138500 0.0167 -
1.1961 139000 0.0208 -
1.2004 139500 0.0227 -
1.2047 140000 0.0216 0.7447
1.2090 140500 0.0226 -
1.2133 141000 0.0207 -
1.2176 141500 0.0206 -
1.2219 142000 0.0181 -
1.2262 142500 0.0212 -
1.2305 143000 0.0234 -
1.2348 143500 0.0193 -
1.2391 144000 0.0227 -
1.2434 144500 0.0244 -
1.2477 145000 0.0194 0.7404
1.2520 145500 0.0227 -
1.2563 146000 0.0219 -
1.2606 146500 0.0211 -
1.2649 147000 0.0197 -
1.2692 147500 0.0211 -
1.2735 148000 0.0198 -
1.2778 148500 0.0235 -
1.2821 149000 0.0199 -
1.2864 149500 0.0236 -
1.2907 150000 0.0196 0.7403
1.2950 150500 0.02 -
1.2993 151000 0.0197 -
1.3037 151500 0.0216 -
1.3080 152000 0.0199 -
1.3123 152500 0.0193 -
1.3166 153000 0.0236 -
1.3209 153500 0.0281 -
1.3252 154000 0.0188 -
1.3295 154500 0.0224 -
1.3338 155000 0.0193 0.7446
1.3381 155500 0.0213 -
1.3424 156000 0.0201 -
1.3467 156500 0.0197 -
1.3510 157000 0.0223 -
1.3553 157500 0.0215 -
1.3596 158000 0.0189 -
1.3639 158500 0.0235 -
1.3682 159000 0.0187 -
1.3725 159500 0.0184 -
1.3768 160000 0.0182 0.7410
1.3811 160500 0.0203 -
1.3854 161000 0.02 -
1.3897 161500 0.0189 -
1.3940 162000 0.0216 -
1.3983 162500 0.0206 -
1.4026 163000 0.0232 -
1.4069 163500 0.019 -
1.4112 164000 0.0218 -
1.4155 164500 0.0204 -
1.4198 165000 0.0163 0.7425
1.4241 165500 0.0187 -
1.4284 166000 0.0203 -
1.4327 166500 0.0211 -
1.4370 167000 0.0196 -
1.4413 167500 0.0185 -
1.4456 168000 0.0197 -
1.4499 168500 0.0206 -
1.4542 169000 0.0202 -
1.4585 169500 0.021 -
1.4628 170000 0.022 0.7421
1.4671 170500 0.0197 -
1.4714 171000 0.0181 -
1.4758 171500 0.0189 -
1.4801 172000 0.0232 -
1.4844 172500 0.019 -
1.4887 173000 0.0197 -
1.4930 173500 0.0242 -
1.4973 174000 0.0172 -
1.5016 174500 0.0217 -
1.5059 175000 0.0231 0.7443
1.5102 175500 0.0232 -
1.5145 176000 0.0204 -
1.5188 176500 0.0178 -
1.5231 177000 0.02 -
1.5274 177500 0.0243 -
1.5317 178000 0.0173 -
1.5360 178500 0.0183 -
1.5403 179000 0.0188 -
1.5446 179500 0.0242 -
1.5489 180000 0.0172 0.7431
1.5532 180500 0.018 -
1.5575 181000 0.019 -
1.5618 181500 0.0214 -
1.5661 182000 0.0196 -
1.5704 182500 0.0203 -
1.5747 183000 0.0209 -
1.5790 183500 0.0183 -
1.5833 184000 0.0214 -
1.5876 184500 0.0195 -
1.5919 185000 0.0211 0.7429
1.5962 185500 0.0219 -
1.6005 186000 0.0205 -
1.6048 186500 0.0182 -
1.6091 187000 0.0186 -
1.6134 187500 0.0183 -
1.6177 188000 0.018 -
1.6220 188500 0.0213 -
1.6263 189000 0.0173 -
1.6306 189500 0.0151 -
1.6349 190000 0.0176 0.7466
1.6392 190500 0.02 -
1.6435 191000 0.0186 -
1.6479 191500 0.02 -
1.6522 192000 0.0227 -
1.6565 192500 0.0207 -
1.6608 193000 0.0223 -
1.6651 193500 0.0213 -
1.6694 194000 0.0187 -
1.6737 194500 0.0152 -
1.6780 195000 0.022 0.7434
1.6823 195500 0.0213 -
1.6866 196000 0.0163 -
1.6909 196500 0.0191 -
1.6952 197000 0.0219 -
1.6995 197500 0.0168 -
1.7038 198000 0.019 -
1.7081 198500 0.0181 -
1.7124 199000 0.0202 -
1.7167 199500 0.0185 -
1.7210 200000 0.0191 0.7445
1.7253 200500 0.0197 -
1.7296 201000 0.0151 -
1.7339 201500 0.0207 -
1.7382 202000 0.0189 -
1.7425 202500 0.016 -
1.7468 203000 0.0211 -
1.7511 203500 0.0197 -
1.7554 204000 0.0171 -
1.7597 204500 0.0207 -
1.7640 205000 0.0183 0.7429
1.7683 205500 0.0192 -
1.7726 206000 0.0181 -
1.7769 206500 0.0195 -
1.7812 207000 0.0164 -
1.7855 207500 0.0165 -
1.7898 208000 0.0164 -
1.7941 208500 0.0166 -
1.7984 209000 0.0201 -
1.8027 209500 0.0195 -
1.8070 210000 0.0183 0.7437
1.8113 210500 0.0198 -
1.8156 211000 0.0181 -
1.8199 211500 0.0179 -
1.8243 212000 0.0186 -
1.8286 212500 0.0181 -
1.8329 213000 0.0193 -
1.8372 213500 0.0197 -
1.8415 214000 0.0178 -
1.8458 214500 0.0193 -
1.8501 215000 0.0206 0.7449
1.8544 215500 0.0199 -
1.8587 216000 0.0198 -
1.8630 216500 0.0186 -
1.8673 217000 0.017 -
1.8716 217500 0.0222 -
1.8759 218000 0.0184 -
1.8802 218500 0.0183 -
1.8845 219000 0.0195 -
1.8888 219500 0.019 -
1.8931 220000 0.0188 0.7427
1.8974 220500 0.0152 -
1.9017 221000 0.0169 -
1.9060 221500 0.0166 -
1.9103 222000 0.0206 -
1.9146 222500 0.0186 -
1.9189 223000 0.0182 -
1.9232 223500 0.016 -
1.9275 224000 0.0184 -
1.9318 224500 0.0196 -
1.9361 225000 0.0188 0.7462
1.9404 225500 0.0162 -
1.9447 226000 0.014 -
1.9490 226500 0.016 -
1.9533 227000 0.0171 -
1.9576 227500 0.0161 -
1.9619 228000 0.0158 -
1.9662 228500 0.0177 -
1.9705 229000 0.0172 -
1.9748 229500 0.0198 -
1.9791 230000 0.017 0.7448
1.9834 230500 0.0204 -
1.9877 231000 0.0189 -
1.9920 231500 0.0201 -
1.9964 232000 0.0172 -
2.0 232424 - 0.7460
2.0007 232500 0.0161 -
2.0050 233000 0.0122 -
2.0093 233500 0.0105 -
2.0136 234000 0.0119 -
2.0179 234500 0.0129 -
2.0222 235000 0.0115 0.7450
2.0265 235500 0.0103 -
2.0308 236000 0.0113 -
2.0351 236500 0.0113 -
2.0394 237000 0.0105 -
2.0437 237500 0.0112 -
2.0480 238000 0.0118 -
2.0523 238500 0.0129 -
2.0566 239000 0.0105 -
2.0609 239500 0.0125 -
2.0652 240000 0.0117 0.7475
2.0695 240500 0.0136 -
2.0738 241000 0.011 -
2.0781 241500 0.0132 -
2.0824 242000 0.0097 -
2.0867 242500 0.0103 -
2.0910 243000 0.0145 -
2.0953 243500 0.0103 -
2.0996 244000 0.0136 -
2.1039 244500 0.0113 -
2.1082 245000 0.0107 0.7474
2.1125 245500 0.0136 -
2.1168 246000 0.0099 -
2.1211 246500 0.0091 -
2.1254 247000 0.0086 -
2.1297 247500 0.0127 -
2.1340 248000 0.0124 -
2.1383 248500 0.0113 -
2.1426 249000 0.0115 -
2.1469 249500 0.0107 -
2.1512 250000 0.0137 0.7470
2.1555 250500 0.0136 -
2.1598 251000 0.0089 -
2.1641 251500 0.0128 -
2.1685 252000 0.0116 -
2.1728 252500 0.0107 -
2.1771 253000 0.0104 -
2.1814 253500 0.0133 -
2.1857 254000 0.0079 -
2.1900 254500 0.0098 -
2.1943 255000 0.0104 0.7455
2.1986 255500 0.0088 -
2.2029 256000 0.0129 -
2.2072 256500 0.0091 -
2.2115 257000 0.0109 -
2.2158 257500 0.0123 -
2.2201 258000 0.0114 -
2.2244 258500 0.0157 -
2.2287 259000 0.0139 -
2.2330 259500 0.0087 -
2.2373 260000 0.0114 0.7447
2.2416 260500 0.0109 -
2.2459 261000 0.0127 -
2.2502 261500 0.0105 -
2.2545 262000 0.0132 -
2.2588 262500 0.012 -
2.2631 263000 0.0117 -
2.2674 263500 0.0124 -
2.2717 264000 0.0115 -
2.2760 264500 0.011 -
2.2803 265000 0.0112 0.7470
2.2846 265500 0.0089 -
2.2889 266000 0.0113 -
2.2932 266500 0.0116 -
2.2975 267000 0.0102 -
2.3018 267500 0.0123 -
2.3061 268000 0.0104 -
2.3104 268500 0.009 -
2.3147 269000 0.0135 -
2.3190 269500 0.0087 -
2.3233 270000 0.0109 0.7470
2.3276 270500 0.0099 -
2.3319 271000 0.0077 -
2.3362 271500 0.0091 -
2.3406 272000 0.0127 -
2.3449 272500 0.0106 -
2.3492 273000 0.0093 -
2.3535 273500 0.0123 -
2.3578 274000 0.0094 -
2.3621 274500 0.0118 -
2.3664 275000 0.011 0.7471
2.3707 275500 0.0114 -
2.3750 276000 0.0075 -
2.3793 276500 0.011 -
2.3836 277000 0.0108 -
2.3879 277500 0.0105 -
2.3922 278000 0.0104 -
2.3965 278500 0.0104 -
2.4008 279000 0.0091 -
2.4051 279500 0.0119 -
2.4094 280000 0.0104 0.7476
2.4137 280500 0.0113 -
2.4180 281000 0.0122 -
2.4223 281500 0.0097 -
2.4266 282000 0.0103 -
2.4309 282500 0.0096 -
2.4352 283000 0.014 -
2.4395 283500 0.01 -
2.4438 284000 0.0106 -
2.4481 284500 0.0101 -
2.4524 285000 0.0098 0.7487
2.4567 285500 0.0122 -
2.4610 286000 0.0101 -
2.4653 286500 0.0112 -
2.4696 287000 0.0097 -
2.4739 287500 0.0102 -
2.4782 288000 0.0097 -
2.4825 288500 0.0107 -
2.4868 289000 0.0067 -
2.4911 289500 0.012 -
2.4954 290000 0.0121 0.7458
2.4997 290500 0.0109 -
2.5040 291000 0.0113 -
2.5083 291500 0.0104 -
2.5126 292000 0.0118 -
2.5170 292500 0.0089 -
2.5213 293000 0.0099 -
2.5256 293500 0.0133 -
2.5299 294000 0.0088 -
2.5342 294500 0.0108 -
2.5385 295000 0.0094 0.7468
2.5428 295500 0.0111 -
2.5471 296000 0.0123 -
2.5514 296500 0.0082 -
2.5557 297000 0.01 -
2.5600 297500 0.0111 -
2.5643 298000 0.0097 -
2.5686 298500 0.0076 -
2.5729 299000 0.0124 -
2.5772 299500 0.0096 -
2.5815 300000 0.0097 0.7483
2.5858 300500 0.0084 -
2.5901 301000 0.0112 -
2.5944 301500 0.0123 -
2.5987 302000 0.0102 -
2.6030 302500 0.0114 -
2.6073 303000 0.0104 -
2.6116 303500 0.0109 -
2.6159 304000 0.0118 -
2.6202 304500 0.0104 -
2.6245 305000 0.0089 0.7503
2.6288 305500 0.0121 -
2.6331 306000 0.0108 -
2.6374 306500 0.0104 -
2.6417 307000 0.0099 -
2.6460 307500 0.0117 -
2.6503 308000 0.0097 -
2.6546 308500 0.0104 -
2.6589 309000 0.011 -
2.6632 309500 0.0101 -
2.6675 310000 0.0086 0.7484
2.6718 310500 0.0092 -
2.6761 311000 0.0085 -
2.6804 311500 0.0118 -
2.6847 312000 0.0098 -
2.6891 312500 0.0086 -
2.6934 313000 0.0086 -
2.6977 313500 0.01 -
2.7020 314000 0.011 -
2.7063 314500 0.0088 -
2.7106 315000 0.0089 0.7510
2.7149 315500 0.0097 -
2.7192 316000 0.009 -
2.7235 316500 0.0087 -
2.7278 317000 0.0098 -
2.7321 317500 0.0091 -
2.7364 318000 0.0091 -
2.7407 318500 0.0129 -
2.7450 319000 0.0097 -
2.7493 319500 0.009 -
2.7536 320000 0.011 0.7504
2.7579 320500 0.0085 -
2.7622 321000 0.0114 -
2.7665 321500 0.0093 -
2.7708 322000 0.01 -
2.7751 322500 0.0102 -
2.7794 323000 0.0086 -
2.7837 323500 0.0095 -
2.7880 324000 0.0102 -
2.7923 324500 0.0091 -
2.7966 325000 0.0155 0.7505
2.8009 325500 0.0122 -
2.8052 326000 0.0082 -
2.8095 326500 0.0112 -
2.8138 327000 0.0126 -
2.8181 327500 0.0095 -
2.8224 328000 0.0106 -
2.8267 328500 0.0116 -
2.8310 329000 0.0094 -
2.8353 329500 0.0102 -
2.8396 330000 0.0086 0.7502
2.8439 330500 0.0086 -
2.8482 331000 0.0099 -
2.8525 331500 0.0093 -
2.8568 332000 0.0091 -
2.8612 332500 0.012 -
2.8655 333000 0.0111 -
2.8698 333500 0.0073 -
2.8741 334000 0.0104 -
2.8784 334500 0.0093 -
2.8827 335000 0.0119 0.7510
2.8870 335500 0.0095 -
2.8913 336000 0.0096 -
2.8956 336500 0.0096 -
2.8999 337000 0.0102 -
2.9042 337500 0.0113 -
2.9085 338000 0.0113 -
2.9128 338500 0.0088 -
2.9171 339000 0.0094 -
2.9214 339500 0.0083 -
2.9257 340000 0.0092 0.7509
2.9300 340500 0.0087 -
2.9343 341000 0.0085 -
2.9386 341500 0.0098 -
2.9429 342000 0.0118 -
2.9472 342500 0.0086 -
2.9515 343000 0.0095 -
2.9558 343500 0.0079 -
2.9601 344000 0.0086 -
2.9644 344500 0.0088 -
2.9687 345000 0.0101 0.7508
2.9730 345500 0.0085 -
2.9773 346000 0.0109 -
2.9816 346500 0.0109 -
2.9859 347000 0.0106 -
2.9902 347500 0.0095 -
2.9945 348000 0.01 -
2.9988 348500 0.0087 -
3.0 348636 - 0.7508
Framework Versions
  • Python: 3.11.11
  • Sentence Transformers: 3.4.1
  • Transformers: 4.50.3
  • PyTorch: 2.6.0+cu124
  • Accelerate: 1.5.2
  • Datasets: 3.5.0
  • Tokenizers: 0.21.1
Citation
BibTeX
Sentence Transformers
@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Runs of Shuu12121 CodeSearch-ModernBERT-Snake-1.0 on huggingface.co

8
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About CodeSearch-ModernBERT-Snake-1.0 huggingface.co Model

More CodeSearch-ModernBERT-Snake-1.0 license Visit here:

https://choosealicense.com/licenses/apache-2.0

CodeSearch-ModernBERT-Snake-1.0 huggingface.co

CodeSearch-ModernBERT-Snake-1.0 huggingface.co is an AI model on huggingface.co that provides CodeSearch-ModernBERT-Snake-1.0's model effect (), which can be used instantly with this Shuu12121 CodeSearch-ModernBERT-Snake-1.0 model. huggingface.co supports a free trial of the CodeSearch-ModernBERT-Snake-1.0 model, and also provides paid use of the CodeSearch-ModernBERT-Snake-1.0. Support call CodeSearch-ModernBERT-Snake-1.0 model through api, including Node.js, Python, http.

CodeSearch-ModernBERT-Snake-1.0 huggingface.co Url

https://huggingface.co/Shuu12121/CodeSearch-ModernBERT-Snake-1.0

Shuu12121 CodeSearch-ModernBERT-Snake-1.0 online free

CodeSearch-ModernBERT-Snake-1.0 huggingface.co is an online trial and call api platform, which integrates CodeSearch-ModernBERT-Snake-1.0's modeling effects, including api services, and provides a free online trial of CodeSearch-ModernBERT-Snake-1.0, you can try CodeSearch-ModernBERT-Snake-1.0 online for free by clicking the link below.

Shuu12121 CodeSearch-ModernBERT-Snake-1.0 online free url in huggingface.co:

https://huggingface.co/Shuu12121/CodeSearch-ModernBERT-Snake-1.0

CodeSearch-ModernBERT-Snake-1.0 install

CodeSearch-ModernBERT-Snake-1.0 is an open source model from GitHub that offers a free installation service, and any user can find CodeSearch-ModernBERT-Snake-1.0 on GitHub to install. At the same time, huggingface.co provides the effect of CodeSearch-ModernBERT-Snake-1.0 install, users can directly use CodeSearch-ModernBERT-Snake-1.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

CodeSearch-ModernBERT-Snake-1.0 install url in huggingface.co:

https://huggingface.co/Shuu12121/CodeSearch-ModernBERT-Snake-1.0

Url of CodeSearch-ModernBERT-Snake-1.0

CodeSearch-ModernBERT-Snake-1.0 huggingface.co Url

Provider of CodeSearch-ModernBERT-Snake-1.0 huggingface.co

Shuu12121
ORGANIZATIONS

Other API from Shuu12121