CoolFace
Modelpublic

AI4free/JARVIS-tool-search-v1

sourceHugging Faceupdated 4mo agoView on Hugging Face
2likes
Model Card

SentenceTransformer based on minishlab/potion-base-8M

This is a sentence-transformers model finetuned from minishlab/potion-base-8M. It maps sentences & paragraphs to a 256-dimensional dense vector space and can be used for retrieval.

Model Details

Model Description

  • —Model Type: Sentence Transformer
  • —Base model: minishlab/potion-base-8M <!-- at revision bf8b056651a2c21b8d2565580b8569da283cab23 -->
  • —Maximum Sequence Length: inf tokens
  • —Output Dimensionality: 256 dimensions
  • —Similarity Function: Cosine Similarity
  • —Supported Modality: Text <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): StaticEmbedding({})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

bash
pip install -U sentence-transformers

Then you can load this model and run inference.

python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
    'Find python code: Convert the SDP relaxation to a human-readable format.\n\n    :param sdp: The SDP relaxation to write.\n    :type sdp: :class:`ncpol2sdpa.sdp`.\n    :returns: tuple of the objective function in a string and a matrix of\n              strings as the symbolic representation of the moment matrix',
    'python function `convert_to_human_readable`:\ndef convert_to_human_readable(sdp):\n    """Convert the SDP relaxation to a human-readable format.\n\n    :param sdp: The SDP relaxation to write.\n    :type sdp: :class:`ncpol2sdpa.sdp`.\n    :returns: tuple of the objective function in a string and a matrix of\n              strings as the symbolic representation of the moment matrix\n    """\n\n    objective = ""\n    indices_in_objective = []\n    for i, tmp in enumerate(sdp.obj_facvar):\n        candidates = [key for key, v in\n                      sdp.monomial_index.items() if v == i+1]\n        if len(candidates) > 0:\n            monomial = convert_monomial_to_string(candidates[0])\n        else:\n            monomial = ""\n        if tmp > 0:\n            objective += "+"+str(tmp)+monomial\n            indices_in_objective.append(i)\n        elif tmp < 0:\n            objective += str(tmp)+monomial\n            indices_in_objective.append(i)\n\n    matrix_size = 0\n    cumulative_sum = 0\n    row_offsets = [0]\n    block_offset = [0]\n    for bs in sdp.block_struct:\n        matrix_size += abs(bs)\n        cumulative_sum += bs ** 2\n        row_offsets.append(cumulative_sum)\n        block_offset.append(matrix_size)\n\n    matrix = []\n    for i in range(matrix_size):\n        matrix_line = ["0"] * matrix_size\n        matrix.append(matrix_line)\n\n    for row in range(len(sdp.F.rows)):\n        if len(sdp.F.rows[row]) > 0:\n            col_index = 0\n            for k in sdp.F.rows[row]:\n                value = sdp.F.data[row][col_index]\n                col',
    'Solution (swift):\nCustom Collection View Layout Class:\n```swift\nimport UIKit\n\nclass CustomCollectionViewLayout: UICollectionViewLayout {\n    let sectionInset = UIEdgeInsets(top: 20, left: 2, bottom: 20, right: 2)\n    var itemSize: CGFloat = 50 // Replace with the desired item size\n\n    override func prepare() {\n        // Implement layout preparation logic here\n    }\n\n    override var collectionViewContentSize: CGSize {\n        // Calculate and return the total content size of the collection view\n        return CGSize.zero\n    }\n\n    override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {\n        // Calculate and return the layout attributes for the items that intersect with the given rect\n        return nil\n    }\n}\n```\n\nView Controller:\n```swift\nimport UIKit\n\nclass MedicalRecordsViewController: UIViewController {\n    let collectionView = UICollectionView(frame: .zero, collectionViewLayout: CustomCollectionViewLayout())\n    let patient = Patient() // Assume Patient class is defined elsewhere\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        let layout = collectionView.collectionViewLayout as! CustomCollectionViewLayout\n        layout.sectionInset = UIEdgeInsets(top: 20, left: 2, bottom: 20, right: 2)\n        layout.itemSize = CGSize(width: layout.itemSize, height: layout.itemSize)\n        layout.minimumInteritemSpacing = 5\n        layout.minimumLineSpacing = 5\n        self.collectionView.collectionViewLayout = layout\n    }\n\n    o',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 256]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[ 1.0000,  0.6170, -0.1287],
#         [ 0.6170,  1.0000, -0.0954],
#         [-0.1287, -0.0954,  1.0000]])

<!--

Direct Usage (Transformers)

<details><summary>Click to see the direct usage in Transformers</summary>

</details> -->

<!--

Downstream Usage (Sentence Transformers)

You can finetune this model on your own dataset.

<details><summary>Click to expand</summary>

</details> -->

<!--

Out-of-Scope Use

List how the model may foreseeably be misused and address what users ought not to do with the model. -->

<!--

Bias, Risks and Limitations

What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model. -->

<!--

Recommendations

What are recommendations with respect to the foreseeable issues? For example, filtering explicit content. -->

Training Details

Training Dataset

Unnamed Dataset
  • —Size: 421,264 training samples
  • —Columns: <code>anchor</code> and <code>positive</code>
  • —Approximate statistics based on the first 100 samples: | | anchor | positive | |:---------|:--------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------| | type | string | string | | modality | text | text | | details | <ul><li>min: 29 characters</li><li>mean: 238.62 characters</li><li>max: 2706 characters</li></ul> | <ul><li>min: 63 characters</li><li>mean: 533.32 characters</li><li>max: 1573 characters</li></ul> |
  • —Samples: | anchor | positive | |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | <code>Find go code: // SetPriority sets the Priority field's value.</code> | <code>go function SetPriority:<br>func (s UpdateMaintenanceWindowTaskInput) SetPriority(v int64) UpdateMaintenanceWindowTaskInput {<br> s.Priority = &v<br> return s<br>}</code> | | <code>Find php code: Prepare a has-one-deep or has-many-deep relationship from an existing has-many-through relationship.<br><br>@param \Illuminate\Database\Eloquent\Relations\HasManyThrough $relation<br>@param \Illuminate\Database\Eloquent\Model[] $through<br>@param array $foreignKeys<br>@param array $localKeys<br>@return array</code> | <code>php function ConcatenatesRelationships.hasOneOrManyDeepFromHasManyThrough:<br>protected function hasOneOrManyDeepFromHasManyThrough(HasManyThrough $relation, array $through, array $foreignKeys, array $localKeys)<br> {<br> $through[] = get_class($relation->getParent());<br><br> $foreignKeys[] = $relation->getFirstKeyName();<br> $foreignKeys[] = $relation->getForeignKeyName();<br><br> $localKeys[] = $relation->getLocalKeyName();<br> $localKeys[] = $relation->getSecondLocalKeyName();<br><br> return [$through, $foreignKeys, $localKeys];<br> }</code> | | <code>Find go code: // GetServiceInstances returns back a list of managed Service Instances based<br>// off of the provided filters.</code> | <code>go function GetServiceInstances:<br>func (client *Client) GetServiceInstances(filters ...Filter) ([]ServiceInstance, Warnings, error) {<br> request, err := client.newHTTPRequest(requestOptions{<br> RequestName: internal.GetServiceInstancesRequest,<br> Query: ConvertFilterParameters(filters),<br> })<br> if err != nil {<br> return nil, nil, err<br> }<br><br> var fullInstancesList []ServiceInstance<br> warnings, err := client.paginate(request, ServiceInstance{}, func(item interface{}) error {<br> if instance, ok := item.(ServiceInstance); ok {<br> fullInstancesList = append(fullInstancesList, instance)<br> } else {<br> return ccerror.UnknownObjectInListError{<br> Expected: ServiceInstance{},<br> Unexpected: item,<br> }<br> }<br> return nil<br> })<br><br> return fullInstancesList, warnings, err<br>}</code> |
  • —Loss: <code>MultipleNegativesRankingLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim",
      "gather_across_devices": false,
      "directions": [
          "query_to_doc"
      ],
      "partition_mode": "joint",
      "hardness_mode": null,
      "hardness_strength": 0.0
  }

Evaluation Dataset

Unnamed Dataset
  • —Size: 2,000 evaluation samples
  • —Columns: <code>anchor</code> and <code>positive</code>
  • —Approximate statistics based on the first 100 samples: | | anchor | positive | |:---------|:--------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------| | type | string | string | | modality | text | text | | details | <ul><li>min: 28 characters</li><li>mean: 206.54 characters</li><li>max: 1078 characters</li></ul> | <ul><li>min: 76 characters</li><li>mean: 713.74 characters</li><li>max: 1556 characters</li></ul> |
  • —Samples: | anchor | positive | |:--------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | <code>Find php code: {@inheritDoc}</code> | <code>php function BuildConfigsPass.process:<br>public function process(ContainerBuilder $container)<br> {<br> $configs = $this->processTagData($container->findTaggedServiceIds('payum.action'), 'payum.action.', 'payum.prependactions');<br> $configs = arrayreplacerecursive(<br> $configs,<br> $this->processTagData($container->findTaggedServiceIds('payum.api'), 'payum.api.', 'payum.prependapis')<br> );<br> $configs = arrayreplacerecursive(<br> $configs,<br> $this->processTagData($container->findTaggedServiceIds('payum.extension'), 'payum.extension.', 'payum.prepend_extensions')<br> );<br><br> $builder = $container->getDefinition('payum.builder');<br> if ($container->hasDefinition('twig')) {<br> $config = ['twig.env' => '@twig'];<br><br> $builder->addMethodCall('addCoreGatewayFactoryConfig', [$config]);<br> }<br><br> if (false == empty($configs[0])) {<br> $builder->addMethodCall('addCoreGatewayFactoryConfig',...</code> | | <code>Code search (javascript): This function returns the index where we need to split the menu</code> | <code>javascript code:<br>function calculateNumberOfItemsInMenu(menuWidth, items, moreMenuItem){ <br> <br> var itemsWidth = 0; <br> var itemsWidthGrowth = []; <br> var splitMenuAt; <br> items.each(function(i){ <br> var item = jQuery(this); <br> if (item.is(':visible')) { <br> itemsWidth += item.children('a').outerWidth(); <br> } else { <br> item.show(); <br> itemsWidth += item.children('a').outerWidth(); <br> item.hide(); <br> } <br> if (i > 0) { <br> itemsWidth -= 6; <br> } <br> itemsWidthGrowth[i] = itemsWidth; <br> }); <br> <br> //Test if there is room without more-btn <br> if((menuWidth - moreMenuItem.outerWidth(true)) > itemsWidthGrowth[items.length - 1] && moreMenuItem.is(":visible")){ <br> ...</code> | | <code>Find javascript code: get ast of template<br>@param {String} [name] xtemplate name<br>@param {String} tplContent<br>@return {Object}</code> | <code>javascript function ``:<br>function (tplContent, name) {<br> if (tplContent) {<br> var ret;<br> try {<br> ret = parser.parse(tplContent, name);<br> } catch (err) {<br> var e;<br> if (err instanceof Error) {<br> e = err;<br> } else {<br> e = new Error(err);<br> }<br> var errorStr = 'XTemplate error ';<br> e.stack = errorStr + e.stack;<br> e.message = errorStr + e.message;<br> throw e;<br> }<br> return ret;<br> } else {<br> return {<br> statements: []<br> };<br> }<br> }</code> |
  • —Loss: <code>MultipleNegativesRankingLoss</code> with these parameters:
json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim",
      "gather_across_devices": false,
      "directions": [
          "query_to_doc"
      ],
      "partition_mode": "joint",
      "hardness_mode": null,
      "hardness_strength": 0.0
  }

Training Hyperparameters

Non-Default Hyperparameters
  • —per_device_train_batch_size: 512
  • —num_train_epochs: 10
  • —learning_rate: 0.03
  • —lr_scheduler_type: cosine
  • —warmup_steps: 0.1
  • —disable_tqdm: True
  • —per_device_eval_batch_size: 512
  • —load_best_model_at_end: True
  • —dataloader_drop_last: True
  • —batch_sampler: no_duplicates
All Hyperparameters

<details><summary>Click to expand</summary>

  • —per_device_train_batch_size: 512
  • —num_train_epochs: 10
  • —max_steps: -1
  • —learning_rate: 0.03
  • —lr_scheduler_type: cosine
  • —lr_scheduler_kwargs: None
  • —warmup_steps: 0.1
  • —optim: adamwtorchfused
  • —optim_args: None
  • —weight_decay: 0.0
  • —adam_beta1: 0.9
  • —adam_beta2: 0.999
  • —adam_epsilon: 1e-08
  • —optim_target_modules: None
  • —gradient_accumulation_steps: 1
  • —average_tokens_across_devices: True
  • —max_grad_norm: 1.0
  • —label_smoothing_factor: 0.0
  • —bf16: False
  • —fp16: False
  • —bf16_full_eval: False
  • —fp16_full_eval: False
  • —tf32: None
  • —gradient_checkpointing: False
  • —gradient_checkpointing_kwargs: None
  • —torch_compile: False
  • —torch_compile_backend: None
  • —torch_compile_mode: None
  • —use_liger_kernel: False
  • —liger_kernel_config: None
  • —use_cache: False
  • —neftune_noise_alpha: None
  • —torch_empty_cache_steps: None
  • —auto_find_batch_size: False
  • —log_on_each_node: True
  • —logging_nan_inf_filter: True
  • —include_num_input_tokens_seen: no
  • —log_level: passive
  • —log_level_replica: warning
  • —disable_tqdm: True
  • —project: huggingface
  • —trackio_space_id: None
  • —trackio_bucket_id: None
  • —trackio_static_space_id: None
  • —per_device_eval_batch_size: 512
  • —prediction_loss_only: True
  • —eval_on_start: False
  • —eval_do_concat_batches: True
  • —eval_use_gather_object: False
  • —eval_accumulation_steps: None
  • —include_for_metrics: []
  • —batch_eval_metrics: False
  • —save_only_model: False
  • —save_on_each_node: False
  • —enable_jit_checkpoint: False
  • —push_to_hub: False
  • —hub_private_repo: None
  • —hub_model_id: None
  • —hub_strategy: every_save
  • —hub_always_push: False
  • —hub_revision: None
  • —load_best_model_at_end: True
  • —ignore_data_skip: False
  • —restore_callback_states_from_checkpoint: False
  • —full_determinism: False
  • —seed: 42
  • —data_seed: None
  • —use_cpu: False
  • —accelerator_config: {'splitbatches': False, 'dispatchbatches': None, 'evenbatches': True, 'useseedablesampler': True, 'nonblocking': False, 'gradientaccumulationkwargs': None}
  • —parallelism_config: None
  • —dataloader_drop_last: True
  • —dataloader_num_workers: 0
  • —dataloader_pin_memory: True
  • —dataloader_persistent_workers: False
  • —dataloader_prefetch_factor: None
  • —remove_unused_columns: True
  • —label_names: None
  • —train_sampling_strategy: random
  • —length_column_name: length
  • —ddp_find_unused_parameters: None
  • —ddp_bucket_cap_mb: None
  • —ddp_broadcast_buffers: False
  • —ddp_static_graph: None
  • —ddp_backend: None
  • —ddp_timeout: 1800
  • —fsdp: []
  • —fsdp_config: {'minnumparams': 0, 'xla': False, 'xlafsdpv2': False, 'xlafsdpgrad_ckpt': False}
  • —deepspeed: None
  • —debug: []
  • —skip_memory_metrics: True
  • —do_predict: False
  • —resume_from_checkpoint: None
  • —warmup_ratio: None
  • —local_rank: -1
  • —prompts: None
  • —batch_sampler: no_duplicates
  • —multi_dataset_batch_sampler: proportional
  • —router_mapping: {}
  • —learning_rate_mapping: {}

</details>

Training Logs

<details><summary>Click to expand</summary>

EpochStepTraining LossValidation Loss
0.001212.1556-
0.0304252.2146-
0.0608502.1920-
0.0912752.1143-
0.12171001.9792-
0.15211251.9022-
0.18251501.7480-
0.21291751.5972-
0.24332001.5071-
0.27372251.4351-
0.30412501.3025-
0.33452751.2240-
0.36503001.1487-
0.39543251.0857-
0.42583501.0583-
0.45623750.9984-
0.48664000.9691-
0.51704250.9302-
0.54744500.9005-
0.57794750.8575-
0.60835000.8184-
0.63875250.8095-
0.66915500.7817-
0.69955750.7805-
0.72996000.7413-
0.76036250.7297-
0.79086500.7325-
0.82126750.6821-
0.85167000.6786-
0.88207250.6831-
0.91247500.6480-
0.94287750.6537-
0.97328000.6342-
0.9842809-0.6233
1.01958250.5972-
1.04998500.5548-
1.08038750.5521-
1.11079000.5461-
1.14119250.5315-
1.17159500.5343-
1.20199750.5251-
1.232410000.5331-
1.262810250.5055-
1.293210500.5199-
1.323610750.4942-
1.354011000.5070-
1.384411250.4927-
1.414811500.5014-
1.445311750.4886-
1.475712000.4829-
1.506112250.4727-
1.536512500.4537-
1.566912750.4675-
1.597313000.4592-
1.627713250.4599-
1.658213500.4711-
1.688613750.4466-
1.719014000.4511-
1.749414250.4581-
1.779814500.4685-
1.810214750.4434-
1.840615000.4398-
1.871015250.4422-
1.901515500.4420-
1.931915750.4460-
1.962316000.4354-
1.98421618-0.4567
2.008516250.4073-
2.038916500.3666-
2.069316750.3497-
2.099817000.3531-
2.130217250.3478-
2.160617500.3558-
2.191017750.3483-
2.221418000.3477-
2.251818250.3511-
2.282218500.3368-
2.312718750.3519-
2.343119000.3546-
2.373519250.3613-
2.403919500.3486-
2.434319750.3394-
2.464720000.3523-
2.495120250.3384-
2.525520500.3408-
2.556020750.3459-
2.586421000.3444-
2.616821250.3359-
2.647221500.3588-
2.677621750.3336-
2.708022000.3366-
2.738422250.3362-
2.768922500.3364-
2.799322750.3368-
2.829723000.3322-
2.860123250.3442-
2.890523500.3210-
2.920923750.3311-
2.951324000.3449-
2.981824250.3242-
2.98422427-0.4100
3.028024500.2820-
3.058424750.2689-
3.088825000.2688-
3.119225250.2739-
3.149625500.2676-
3.180025750.2774-
3.210526000.2794-
3.240926250.2712-
3.271326500.2759-
3.301726750.2633-
3.332127000.2808-
3.362527250.2787-
3.392927500.2752-
3.423427750.2882-
3.453828000.2836-
3.484228250.2744-
3.514628500.2745-
3.545028750.2642-
3.575429000.2685-
3.605829250.2663-
3.636329500.2817-
3.666729750.2752-
3.697130000.2721-
3.727530250.2657-
3.757930500.2807-
3.788330750.2771-
3.818731000.2742-
3.849131250.2759-
3.879631500.2845-
3.910031750.2788-
3.940432000.2763-
3.970832250.2744-
3.98423236-0.3850
4.017032500.2507-
4.047432750.2222-
4.077933000.2286-
4.108333250.2232-
4.138733500.2302-
4.169133750.2297-
4.199534000.2364-
4.229934250.2301-
4.260334500.2277-
4.290834750.2307-
4.321235000.2327-
4.351635250.2286-
4.382035500.2364-
4.412435750.2453-
4.442836000.2295-
4.473236250.2351-
4.503636500.2305-
4.534136750.2366-
4.564537000.2385-
4.594937250.2285-
4.625337500.2358-
4.655737750.2446-
4.686138000.2348-
4.716538250.2346-
4.747038500.2317-
4.777438750.2305-
4.807839000.2333-
4.838239250.2439-
4.868639500.2411-
4.899039750.2348-
4.929440000.2300-
4.959940250.2339-
4.98424045-0.3736
5.006140500.2394-
5.036540750.2063-
5.066941000.1971-
5.097341250.1967-
5.127741500.1989-
5.158241750.1960-
5.188642000.2003-
5.219042250.2000-
5.249442500.2040-
5.279842750.2102-
5.310243000.2077-
5.340643250.2016-
5.371043500.2127-
5.401543750.2028-
5.431944000.1995-
5.462344250.2021-
5.492744500.2109-
5.523144750.2014-
5.553545000.2105-
5.583945250.2045-
5.614445500.2076-
5.644845750.2138-
5.675246000.2070-
5.705646250.2013-
5.736046500.1973-
5.766446750.2038-
5.796847000.2197-
5.827347250.2078-
5.857747500.1980-
5.888147750.2080-
5.918548000.2066-
5.948948250.2045-
5.979348500.1992-
5.98424854-0.3701
6.025548750.1887-
6.056049000.1894-
6.086449250.1906-
6.116849500.1789-
6.147249750.1870-
6.177650000.1852-
6.208050250.1829-
6.238450500.1800-
6.268950750.1879-
6.299351000.1847-
6.329751250.1810-
6.360151500.1820-
6.390551750.1855-
6.420952000.1825-
6.451352250.1839-
6.481852500.1798-
6.512252750.1817-
6.542653000.1778-
6.573053250.1865-
6.603453500.1861-
6.633853750.1874-
6.664254000.1899-
6.694654250.1816-
6.725154500.1881-
6.755554750.1955-
6.785955000.1883-
6.816355250.1859-
6.846755500.1834-
6.877155750.1937-
6.907556000.1900-
6.938056250.1874-
6.968456500.1911-
6.98425663-0.3659
7.014656750.1842-
7.045057000.1664-
7.075457250.1670-
7.105857500.1692-
7.136357750.1748-
7.166758000.1679-
7.197158250.1726-
7.227558500.1654-
7.257958750.1717-
7.288359000.1759-
7.318759250.1681-
7.349159500.1805-
7.379659750.1720-
7.410060000.1785-
7.440460250.1785-
7.470860500.1722-
7.501260750.1727-
7.531661000.1762-
7.562061250.1753-
7.592561500.1713-
7.622961750.1732-
7.653362000.1692-
7.683762250.1771-
7.714162500.1830-
7.744562750.1715-
7.774963000.1682-
7.805463250.1783-
7.835863500.1725-
7.866263750.1715-
7.896664000.1763-
7.927064250.1653-
7.957464500.1704-
7.98426472-0.3639
8.003664750.1780-
8.034165000.1593-
8.064565250.1630-
8.094965500.1559-
8.125365750.1677-
8.155766000.1565-
8.186166250.1640-
8.216566500.1665-
8.247066750.1651-
8.277467000.1655-
8.307867250.1699-
8.338267500.1682-
8.368667750.1615-
8.399068000.1702-
8.429468250.1638-
8.459968500.1700-
8.490368750.1701-
8.520769000.1627-
8.551169250.1630-
8.581569500.1674-
8.611969750.1652-
8.642370000.1667-
8.672770250.1633-
8.703270500.1744-
8.733670750.1635-
8.764071000.1670-
8.794471250.1680-
8.824871500.1681-
8.855271750.1640-
8.885672000.1697-
8.916172250.1716-
8.946572500.1662-
8.976972750.1655-
8.98427281-0.3631
9.023173000.1672-
9.053573250.1592-
9.083973500.1555-
9.114473750.1582-
9.144874000.1565-
9.175274250.1541-
9.205674500.1571-
9.236074750.1652-
9.266475000.1693-
9.296875250.1599-
9.327375500.1642-
9.357775750.1614-
9.388176000.1595-
9.418576250.1548-
9.448976500.1705-
9.479376750.1644-
9.509777000.1623-
9.540177250.1621-
9.570677500.1629-
9.601077750.1620-
9.631478000.1668-
9.661878250.1618-
9.692278500.1589-
9.722678750.1595-
9.753079000.1641-
9.783579250.1669-
9.813979500.1699-
9.844379750.1671-
9.874780000.1627-
9.905180250.1614-
9.935580500.1635-
9.965980750.1586-
9.98428090-0.3629
  • —The bold row denotes the saved checkpoint. </details>

Training Time

  • —Training: 6.5 hours
  • —Evaluation: 21.0 seconds
  • —Total: 6.5 hours

Framework Versions

  • —Python: 3.13.13
  • —Sentence Transformers: 5.5.1
  • —Transformers: 5.9.0
  • —PyTorch: 2.12.0+cu130
  • —Accelerate: 1.13.0
  • —Datasets: 4.8.5
  • —Tokenizers: 0.22.2

Citation

BibTeX

Sentence Transformers
bibtex
@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
bibtex
@misc{oord2019representationlearningcontrastivepredictive,
      title={Representation Learning with Contrastive Predictive Coding},
      author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
      year={2019},
      eprint={1807.03748},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1807.03748},
}

<!--

Glossary

Clearly define terms in order to be accessible across audiences. -->

<!--

Model Card Authors

Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction. -->

<!--

Model Card Contact

Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors. -->