SentenceTransformer based on BAAI/bge-base-zh-v1.5
This is a sentence-transformers model finetuned from BAAI/bge-base-zh-v1.5. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, classification, clustering, and more.
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: BAAI/bge-base-zh-v1.5
- Maximum Sequence Length: 256 tokens
- Output Dimensionality: 768 dimensions
- Similarity Function: Cosine Similarity
- Supported Modality: Text
Model Sources
- Documentation: Sentence Transformers Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Sentence Transformers on Hugging Face
Full Model Architecture
SentenceTransformer(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'BertModel'})
(1): Pooling({'embedding_dimension': 768, 'pooling_mode': 'cls', 'include_prompt': True})
(2): Normalize({})
)
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("liudev/novel-embedding-gpl-base-v1")
# Run inference
sentences = [
'在异能觉醒爆发时安抚对方并带走宝物',
'宴席上有人当众示爱引发全场震惊',
'凶暴巨兽冲破防线引发骚乱',
'山贼讲述当年的恐惧往事,结果再次遭遇强敌被瞬杀',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [4, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]
Training Details
Training Dataset
Unnamed Dataset
- Size: 435,262 training samples
- Columns: anchor, sentence1, sentence2, and label
- Approximate statistics based on the first 100 samples:
anchor sentence1 sentence2 label type string string string float modality text text text details min: 8 tokensmean: 15.5 tokensmax: 25 tokens min: 47 tokensmean: 73.19 tokensmax: 256 tokens min: 29 tokensmean: 69.23 tokensmax: 92 tokens min: 0.02mean: 0.37max: 0.84 - Samples:
anchor sentence1 sentence2 label 看破敌人的隐身手段 周昂在围攻强敌时敏锐察觉到异样,通过观察灵气流动识破并破除隐身法术,最终果断出手将藏匿在墙头的施法者格杀。 李破在马场以赏罚分明的手段收拢人心并大摆酒宴后,在李碧的私下召见中,意外得知其欲随军出征辽东的计划并被征询意见。 0.759356061900818 在仓库意外得到防身宝物 柳渊在医馆仓库意外获得防御法器佛珠及攻击真言,随后通过定星罗盘锁定义务星邪,并凭借缜密的推理引导葛老与辛捕头共同前往后院枯井探查。 沈河在烂尾楼工地通过系统指引接连开启宝箱,获得了具备强控效果的“大力飞砖”与防御性的“安全员安全帽”,在确认工地无剩余宝箱后,随即根据新坐标向十公里外进发。 0.09672797019024215 进宫面圣前,太监好心提醒忌讳规矩 宦官郭穰在权衡利弊后决定拉拢入觐的天子待诏秀才张毅,不仅对其礼遇有加,更在入宫途中悉心传授面圣禁忌与生存经验,双方达成了初步的盟友共识。 在正月初一太子加冠的重大典礼上,南风费尽心思哄劝赖床的太子完成繁琐仪式并接手庞大的东宫官僚体系,同时担忧自己微服出游时的糗事在稍后的公开亮相中被路人认出。 0.5887360227245302 - Loss: MarginMSELoss with these parameters:
{ "similarity_fct": "pairwise_dot_score" }
Training Hyperparameters
Non-Default Hyperparameters
per_device_train_batch_size: 32num_train_epochs: 150learning_rate: 2e-05warmup_steps: 0.02fp16: Truepush_to_hub: Truehub_model_id: liudev/novel-embedding-gpl-base-v1hub_strategy: checkpointdataloader_num_workers: 4
All Hyperparameters
per_device_train_batch_size: 32num_train_epochs: 150max_steps: -1learning_rate: 2e-05lr_scheduler_type: linearlr_scheduler_kwargs: Nonewarmup_steps: 0.02optim: adamw_torch_fusedoptim_args: Noneweight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08optim_target_modules: Nonegradient_accumulation_steps: 1average_tokens_across_devices: Truemax_grad_norm: 1.0label_smoothing_factor: 0.0bf16: Falsefp16: Truebf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Nonetorch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneuse_liger_kernel: Falseliger_kernel_config: Noneuse_cache: Falseneftune_noise_alpha: Nonetorch_empty_cache_steps: Noneauto_find_batch_size: Falselog_on_each_node: Truelogging_nan_inf_filter: Trueinclude_num_input_tokens_seen: nolog_level: passivelog_level_replica: warningdisable_tqdm: Falseproject: huggingfacetrackio_space_id: Nonetrackio_bucket_id: Nonetrackio_static_space_id: Noneper_device_eval_batch_size: 8prediction_loss_only: Trueeval_on_start: Falseeval_do_concat_batches: Trueeval_use_gather_object: Falseeval_accumulation_steps: Noneinclude_for_metrics: []batch_eval_metrics: Falsesave_only_model: Falsesave_on_each_node: Falseenable_jit_checkpoint: Falsepush_to_hub: Truehub_private_repo: Nonehub_model_id: liudev/novel-embedding-gpl-base-v1hub_strategy: checkpointhub_always_push: Falsehub_revision: Noneload_best_model_at_end: Falseignore_data_skip: Falserestore_callback_states_from_checkpoint: Falsefull_determinism: Falseseed: 42data_seed: Noneuse_cpu: Falseaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}parallelism_config: Nonedataloader_drop_last: Truedataloader_num_workers: 4dataloader_pin_memory: Truedataloader_persistent_workers: Falsedataloader_prefetch_factor: Nonedataloader_multiprocessing_context: Nonedataloader_in_order: Trueremove_unused_columns: Truelabel_names: Nonetrain_sampling_strategy: randomlength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falseddp_static_graph: Noneddp_backend: Noneddp_timeout: 1800fsdp: Nonefsdp_config: Nonedeepspeed: Nonedebug: []skip_memory_metrics: Truedo_predict: Falseresume_from_checkpoint: Nonelocal_rank: -1prompts: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}warmup_ratio: None
Training Logs
| Epoch | Step | Training Loss |
|---|---|---|
| 117.6544 | 800050 | 0.0077 |
| 117.6618 | 800100 | 0.0081 |
| 117.6691 | 800150 | 0.0084 |
| 117.6765 | 800200 | 0.0086 |
| 117.6838 | 800250 | 0.0084 |
| 117.6912 | 800300 | 0.0085 |
| 117.6985 | 800350 | 0.0087 |
| 117.7059 | 800400 | 0.0080 |
| 117.7132 | 800450 | 0.0080 |
| 117.7206 | 800500 | 0.0080 |
| 117.7279 | 800550 | 0.0083 |
| 117.7353 | 800600 | 0.0080 |
| 117.7426 | 800650 | 0.0079 |
| 117.75 | 800700 | 0.0082 |
| 117.7574 | 800750 | 0.0078 |
| 117.7647 | 800800 | 0.0079 |
| 117.7721 | 800850 | 0.0082 |
| 117.7794 | 800900 | 0.0078 |
| 117.7868 | 800950 | 0.0081 |
| 117.7941 | 801000 | 0.0083 |
| 117.8015 | 801050 | 0.0082 |
| 117.8088 | 801100 | 0.0082 |
| 117.8162 | 801150 | 0.0084 |
| 117.8235 | 801200 | 0.0083 |
| 117.8309 | 801250 | 0.0084 |
| 117.8382 | 801300 | 0.0082 |
| 117.8456 | 801350 | 0.0084 |
| 117.8529 | 801400 | 0.0084 |
| 117.8603 | 801450 | 0.0077 |
| 117.8676 | 801500 | 0.0084 |
| 117.875 | 801550 | 0.0080 |
| 117.8824 | 801600 | 0.0081 |
| 117.8897 | 801650 | 0.0089 |
| 117.8971 | 801700 | 0.0084 |
| 117.9044 | 801750 | 0.0083 |
| 117.9118 | 801800 | 0.0080 |
| 117.9191 | 801850 | 0.0083 |
| 117.9265 | 801900 | 0.0079 |
| 117.9338 | 801950 | 0.0084 |
| 117.9412 | 802000 | 0.0081 |
| 117.9485 | 802050 | 0.0082 |
| 117.9559 | 802100 | 0.0082 |
| 117.9632 | 802150 | 0.0081 |
| 117.9706 | 802200 | 0.0081 |
| 117.9779 | 802250 | 0.0084 |
| 117.9853 | 802300 | 0.0080 |
| 117.9926 | 802350 | 0.0081 |
| 118.0 | 802400 | 0.0083 |
| 118.0074 | 802450 | 0.0082 |
| 118.0147 | 802500 | 0.0084 |
| 118.0221 | 802550 | 0.0081 |
| 118.0294 | 802600 | 0.0081 |
| 118.0368 | 802650 | 0.0082 |
| 118.0441 | 802700 | 0.0079 |
| 118.0515 | 802750 | 0.0082 |
| 118.0588 | 802800 | 0.0081 |
| 118.0662 | 802850 | 0.0080 |
| 118.0735 | 802900 | 0.0081 |
| 118.0809 | 802950 | 0.0083 |
| 118.0882 | 803000 | 0.0077 |
| 118.0956 | 803050 | 0.0083 |
| 118.1029 | 803100 | 0.0080 |
| 118.1103 | 803150 | 0.0081 |
| 118.1176 | 803200 | 0.0083 |
| 118.125 | 803250 | 0.0081 |
| 118.1324 | 803300 | 0.0080 |
| 118.1397 | 803350 | 0.0079 |
| 118.1471 | 803400 | 0.0083 |
| 118.1544 | 803450 | 0.0080 |
| 118.1618 | 803500 | 0.0084 |
| 118.1691 | 803550 | 0.0084 |
| 118.1765 | 803600 | 0.0084 |
| 118.1838 | 803650 | 0.0084 |
| 118.1912 | 803700 | 0.0079 |
| 118.1985 | 803750 | 0.0084 |
| 118.2059 | 803800 | 0.0083 |
| 118.2132 | 803850 | 0.0080 |
| 118.2206 | 803900 | 0.0082 |
| 118.2279 | 803950 | 0.0083 |
| 118.2353 | 804000 | 0.0081 |
| 118.2426 | 804050 | 0.0082 |
| 118.25 | 804100 | 0.0085 |
| 118.2574 | 804150 | 0.0084 |
| 118.2647 | 804200 | 0.0084 |
| 118.2721 | 804250 | 0.0081 |
| 118.2794 | 804300 | 0.0081 |
| 118.2868 | 804350 | 0.0081 |
| 118.2941 | 804400 | 0.0080 |
| 118.3015 | 804450 | 0.0081 |
| 118.3088 | 804500 | 0.0079 |
| 118.3162 | 804550 | 0.0085 |
| 118.3235 | 804600 | 0.0081 |
| 118.3309 | 804650 | 0.0083 |
| 118.3382 | 804700 | 0.0082 |
| 118.3456 | 804750 | 0.0078 |
| 118.3529 | 804800 | 0.0080 |
| 118.3603 | 804850 | 0.0083 |
| 118.3676 | 804900 | 0.0081 |
| 118.375 | 804950 | 0.0083 |
| 118.3824 | 805000 | 0.0078 |
| 118.3897 | 805050 | 0.0082 |
| 118.3971 | 805100 | 0.0082 |
| 118.4044 | 805150 | 0.0080 |
| 118.4118 | 805200 | 0.0084 |
| 118.4191 | 805250 | 0.0082 |
| 118.4265 | 805300 | 0.0081 |
| 118.4338 | 805350 | 0.0084 |
| 118.4412 | 805400 | 0.0077 |
| 118.4485 | 805450 | 0.0086 |
| 118.4559 | 805500 | 0.0078 |
| 118.4632 | 805550 | 0.0086 |
| 118.4706 | 805600 | 0.0085 |
| 118.4779 | 805650 | 0.0085 |
| 118.4853 | 805700 | 0.0085 |
| 118.4926 | 805750 | 0.0086 |
| 118.5 | 805800 | 0.0081 |
| 118.5074 | 805850 | 0.0082 |
| 118.5147 | 805900 | 0.0079 |
| 118.5221 | 805950 | 0.0082 |
| 118.5294 | 806000 | 0.0082 |
| 118.5368 | 806050 | 0.0080 |
| 118.5441 | 806100 | 0.0081 |
| 118.5515 | 806150 | 0.0081 |
| 118.5588 | 806200 | 0.0082 |
| 118.5662 | 806250 | 0.0086 |
| 118.5735 | 806300 | 0.0084 |
| 118.5809 | 806350 | 0.0082 |
| 118.5882 | 806400 | 0.0082 |
| 118.5956 | 806450 | 0.0082 |
| 118.6029 | 806500 | 0.0084 |
| 118.6103 | 806550 | 0.0089 |
| 118.6176 | 806600 | 0.0081 |
| 118.625 | 806650 | 0.0081 |
| 118.6324 | 806700 | 0.0082 |
| 118.6397 | 806750 | 0.0084 |
| 118.6471 | 806800 | 0.0080 |
| 118.6544 | 806850 | 0.0083 |
| 118.6618 | 806900 | 0.0086 |
| 118.6691 | 806950 | 0.0083 |
| 118.6765 | 807000 | 0.0080 |
| 118.6838 | 807050 | 0.0083 |
| 118.6912 | 807100 | 0.0077 |
| 118.6985 | 807150 | 0.0085 |
| 118.7059 | 807200 | 0.0080 |
| 118.7132 | 807250 | 0.0082 |
| 118.7206 | 807300 | 0.0084 |
| 118.7279 | 807350 | 0.0082 |
| 118.7353 | 807400 | 0.0080 |
| 118.7426 | 807450 | 0.0081 |
| 118.75 | 807500 | 0.0083 |
| 118.7574 | 807550 | 0.0083 |
| 118.7647 | 807600 | 0.0080 |
| 118.7721 | 807650 | 0.0081 |
| 118.7794 | 807700 | 0.0079 |
| 118.7868 | 807750 | 0.0079 |
| 118.7941 | 807800 | 0.0081 |
| 118.8015 | 807850 | 0.0081 |
| 118.8088 | 807900 | 0.0082 |
| 118.8162 | 807950 | 0.0080 |
| 118.8235 | 808000 | 0.0084 |
| 118.8309 | 808050 | 0.0080 |
| 118.8382 | 808100 | 0.0077 |
| 118.8456 | 808150 | 0.0083 |
| 118.8529 | 808200 | 0.0083 |
| 118.8603 | 808250 | 0.0081 |
| 118.8676 | 808300 | 0.0081 |
| 118.875 | 808350 | 0.0078 |
| 118.8824 | 808400 | 0.0076 |
| 118.8897 | 808450 | 0.0082 |
| 118.8971 | 808500 | 0.0079 |
| 118.9044 | 808550 | 0.0078 |
| 118.9118 | 808600 | 0.0082 |
| 118.9191 | 808650 | 0.0081 |
| 118.9265 | 808700 | 0.0080 |
| 118.9338 | 808750 | 0.0086 |
| 118.9412 | 808800 | 0.0083 |
| 118.9485 | 808850 | 0.0083 |
| 118.9559 | 808900 | 0.0084 |
| 118.9632 | 808950 | 0.0082 |
| 118.9706 | 809000 | 0.0078 |
| 118.9779 | 809050 | 0.0081 |
| 118.9853 | 809100 | 0.0080 |
| 118.9926 | 809150 | 0.0082 |
| 119.0 | 809200 | 0.0085 |
| 119.0074 | 809250 | 0.0080 |
| 119.0147 | 809300 | 0.0082 |
| 119.0221 | 809350 | 0.0083 |
| 119.0294 | 809400 | 0.0081 |
| 119.0368 | 809450 | 0.0079 |
| 119.0441 | 809500 | 0.0079 |
| 119.0515 | 809550 | 0.0083 |
| 119.0588 | 809600 | 0.0079 |
| 119.0662 | 809650 | 0.0083 |
| 119.0735 | 809700 | 0.0082 |
| 119.0809 | 809750 | 0.0081 |
| 119.0882 | 809800 | 0.0082 |
| 119.0956 | 809850 | 0.0087 |
| 119.1029 | 809900 | 0.0081 |
| 119.1103 | 809950 | 0.0082 |
| 119.1176 | 810000 | 0.0079 |
| 119.125 | 810050 | 0.0078 |
| 119.1324 | 810100 | 0.0082 |
| 119.1397 | 810150 | 0.0081 |
| 119.1471 | 810200 | 0.0084 |
| 119.1544 | 810250 | 0.0085 |
| 119.1618 | 810300 | 0.0080 |
| 119.1691 | 810350 | 0.0083 |
| 119.1765 | 810400 | 0.0079 |
| 119.1838 | 810450 | 0.0082 |
| 119.1912 | 810500 | 0.0081 |
| 119.1985 | 810550 | 0.0082 |
| 119.2059 | 810600 | 0.0080 |
| 119.2132 | 810650 | 0.0082 |
| 119.2206 | 810700 | 0.0080 |
| 119.2279 | 810750 | 0.0082 |
| 119.2353 | 810800 | 0.0080 |
| 119.2426 | 810850 | 0.0083 |
| 119.25 | 810900 | 0.0080 |
| 119.2574 | 810950 | 0.0083 |
| 119.2647 | 811000 | 0.0080 |
| 119.2721 | 811050 | 0.0082 |
| 119.2794 | 811100 | 0.0083 |
| 119.2868 | 811150 | 0.0084 |
| 119.2941 | 811200 | 0.0083 |
| 119.3015 | 811250 | 0.0080 |
| 119.3088 | 811300 | 0.0078 |
| 119.3162 | 811350 | 0.0077 |
| 119.3235 | 811400 | 0.0080 |
| 119.3309 | 811450 | 0.0082 |
| 119.3382 | 811500 | 0.0078 |
| 119.3456 | 811550 | 0.0080 |
| 119.3529 | 811600 | 0.0084 |
| 119.3603 | 811650 | 0.0080 |
| 119.3676 | 811700 | 0.0076 |
| 119.375 | 811750 | 0.0082 |
| 119.3824 | 811800 | 0.0081 |
| 119.3897 | 811850 | 0.0081 |
| 119.3971 | 811900 | 0.0080 |
| 119.4044 | 811950 | 0.0083 |
| 119.4118 | 812000 | 0.0081 |
| 119.4191 | 812050 | 0.0083 |
| 119.4265 | 812100 | 0.0080 |
| 119.4338 | 812150 | 0.0083 |
| 119.4412 | 812200 | 0.0082 |
| 119.4485 | 812250 | 0.0082 |
| 119.4559 | 812300 | 0.0085 |
| 119.4632 | 812350 | 0.0081 |
| 119.4706 | 812400 | 0.0081 |
| 119.4779 | 812450 | 0.0088 |
| 119.4853 | 812500 | 0.0080 |
| 119.4926 | 812550 | 0.0079 |
| 119.5 | 812600 | 0.0079 |
| 119.5074 | 812650 | 0.0081 |
| 119.5147 | 812700 | 0.0078 |
| 119.5221 | 812750 | 0.0077 |
| 119.5294 | 812800 | 0.0083 |
| 119.5368 | 812850 | 0.0080 |
| 119.5441 | 812900 | 0.0081 |
| 119.5515 | 812950 | 0.0079 |
| 119.5588 | 813000 | 0.0080 |
| 119.5662 | 813050 | 0.0083 |
| 119.5735 | 813100 | 0.0086 |
| 119.5809 | 813150 | 0.0081 |
| 119.5882 | 813200 | 0.0082 |
| 119.5956 | 813250 | 0.0080 |
| 119.6029 | 813300 | 0.0083 |
| 119.6103 | 813350 | 0.0079 |
| 119.6176 | 813400 | 0.0082 |
| 119.625 | 813450 | 0.0081 |
| 119.6324 | 813500 | 0.0083 |
| 119.6397 | 813550 | 0.0081 |
| 119.6471 | 813600 | 0.0083 |
| 119.6544 | 813650 | 0.0081 |
| 119.6618 | 813700 | 0.0082 |
| 119.6691 | 813750 | 0.0082 |
| 119.6765 | 813800 | 0.0082 |
| 119.6838 | 813850 | 0.0078 |
| 119.6912 | 813900 | 0.0082 |
| 119.6985 | 813950 | 0.0085 |
| 119.7059 | 814000 | 0.0084 |
| 119.7132 | 814050 | 0.0082 |
| 119.7206 | 814100 | 0.0078 |
| 119.7279 | 814150 | 0.0083 |
| 119.7353 | 814200 | 0.0077 |
| 119.7426 | 814250 | 0.0083 |
| 119.75 | 814300 | 0.0083 |
| 119.7574 | 814350 | 0.0084 |
| 119.7647 | 814400 | 0.0081 |
| 119.7721 | 814450 | 0.0084 |
| 119.7794 | 814500 | 0.0085 |
| 119.7868 | 814550 | 0.0079 |
| 119.7941 | 814600 | 0.0077 |
| 119.8015 | 814650 | 0.0083 |
| 119.8088 | 814700 | 0.0082 |
| 119.8162 | 814750 | 0.0082 |
| 119.8235 | 814800 | 0.0079 |
| 119.8309 | 814850 | 0.0079 |
| 119.8382 | 814900 | 0.0085 |
| 119.8456 | 814950 | 0.0081 |
| 119.8529 | 815000 | 0.0082 |
| 119.8603 | 815050 | 0.0082 |
| 119.8676 | 815100 | 0.0085 |
| 119.875 | 815150 | 0.0082 |
| 119.8824 | 815200 | 0.0081 |
| 119.8897 | 815250 | 0.0084 |
| 119.8971 | 815300 | 0.0084 |
| 119.9044 | 815350 | 0.0082 |
| 119.9118 | 815400 | 0.0078 |
| 119.9191 | 815450 | 0.0088 |
| 119.9265 | 815500 | 0.0082 |
| 119.9338 | 815550 | 0.0081 |
| 119.9412 | 815600 | 0.0079 |
| 119.9485 | 815650 | 0.0084 |
| 119.9559 | 815700 | 0.0084 |
| 119.9632 | 815750 | 0.0086 |
| 119.9706 | 815800 | 0.0081 |
| 119.9779 | 815850 | 0.0083 |
| 119.9853 | 815900 | 0.0082 |
| 119.9926 | 815950 | 0.0079 |
| 120.0 | 816000 | 0.0080 |
| 120.0074 | 816050 | 0.0078 |
| 120.0147 | 816100 | 0.0080 |
| 120.0221 | 816150 | 0.0078 |
| 120.0294 | 816200 | 0.0077 |
| 120.0368 | 816250 | 0.0084 |
| 120.0441 | 816300 | 0.0080 |
| 120.0515 | 816350 | 0.0079 |
| 120.0588 | 816400 | 0.0086 |
| 120.0662 | 816450 | 0.0082 |
| 120.0735 | 816500 | 0.0079 |
| 120.0809 | 816550 | 0.0084 |
| 120.0882 | 816600 | 0.0080 |
| 120.0956 | 816650 | 0.0082 |
| 120.1029 | 816700 | 0.0080 |
| 120.1103 | 816750 | 0.0080 |
| 120.1176 | 816800 | 0.0084 |
| 120.125 | 816850 | 0.0085 |
| 120.1324 | 816900 | 0.0080 |
| 120.1397 | 816950 | 0.0084 |
| 120.1471 | 817000 | 0.0079 |
| 120.1544 | 817050 | 0.0081 |
| 120.1618 | 817100 | 0.0080 |
| 120.1691 | 817150 | 0.0084 |
| 120.1765 | 817200 | 0.0086 |
| 120.1838 | 817250 | 0.0080 |
| 120.1912 | 817300 | 0.0078 |
| 120.1985 | 817350 | 0.0085 |
| 120.2059 | 817400 | 0.0077 |
| 120.2132 | 817450 | 0.0084 |
| 120.2206 | 817500 | 0.0080 |
| 120.2279 | 817550 | 0.0081 |
| 120.2353 | 817600 | 0.0081 |
| 120.2426 | 817650 | 0.0076 |
| 120.25 | 817700 | 0.0077 |
| 120.2574 | 817750 | 0.0081 |
| 120.2647 | 817800 | 0.0081 |
| 120.2721 | 817850 | 0.0080 |
| 120.2794 | 817900 | 0.0083 |
| 120.2868 | 817950 | 0.0086 |
| 120.2941 | 818000 | 0.0082 |
| 120.3015 | 818050 | 0.0081 |
| 120.3088 | 818100 | 0.0081 |
| 120.3162 | 818150 | 0.0080 |
| 120.3235 | 818200 | 0.0081 |
| 120.3309 | 818250 | 0.0082 |
| 120.3382 | 818300 | 0.0081 |
| 120.3456 | 818350 | 0.0081 |
| 120.3529 | 818400 | 0.0078 |
| 120.3603 | 818450 | 0.0081 |
| 120.3676 | 818500 | 0.0079 |
| 120.375 | 818550 | 0.0080 |
| 120.3824 | 818600 | 0.0082 |
| 120.3897 | 818650 | 0.0078 |
| 120.3971 | 818700 | 0.0077 |
| 120.4044 | 818750 | 0.0082 |
| 120.4118 | 818800 | 0.0084 |
| 120.4191 | 818850 | 0.0079 |
| 120.4265 | 818900 | 0.0081 |
| 120.4338 | 818950 | 0.0086 |
| 120.4412 | 819000 | 0.0084 |
| 120.4485 | 819050 | 0.0081 |
| 120.4559 | 819100 | 0.0083 |
| 120.4632 | 819150 | 0.0083 |
| 120.4706 | 819200 | 0.0087 |
| 120.4779 | 819250 | 0.0080 |
| 120.4853 | 819300 | 0.0083 |
| 120.4926 | 819350 | 0.0081 |
| 120.5 | 819400 | 0.0080 |
| 120.5074 | 819450 | 0.0079 |
| 120.5147 | 819500 | 0.0083 |
| 120.5221 | 819550 | 0.0082 |
| 120.5294 | 819600 | 0.0082 |
| 120.5368 | 819650 | 0.0082 |
| 120.5441 | 819700 | 0.0080 |
| 120.5515 | 819750 | 0.0080 |
| 120.5588 | 819800 | 0.0079 |
| 120.5662 | 819850 | 0.0083 |
| 120.5735 | 819900 | 0.0082 |
| 120.5809 | 819950 | 0.0079 |
| 120.5882 | 820000 | 0.0080 |
Training Time
- Training: 2.8 hours
Framework Versions
- Python: 3.13.15
- Sentence Transformers: 5.7.0
- Transformers: 5.16.1
- PyTorch: 2.11.0+cu128
- Accelerate: 1.14.0
- Datasets: 4.8.5
- Tokenizers: 0.23.1
Additional Resources
- Training and Finetuning Embedding Models with Sentence Transformers: the end-to-end guide for training or finetuning Sentence Transformer models.
- Introduction to Matryoshka Embedding Models: variable-size embeddings that can be truncated with minimal quality loss.
- Binary and Scalar Embedding Quantization for Significantly Faster & Cheaper Retrieval: post-training compression of embedding vectors.
- Multimodal Embedding & Reranker Models with Sentence Transformers: use text, image, audio, and video models through the same API.
- Training and Finetuning Multimodal Embedding & Reranker Models with Sentence Transformers: train multimodal embedding models, with a Visual Document Retrieval walkthrough.
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",
}
MarginMSELoss
@misc{hofstätter2021improving,
title={Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation},
author={Sebastian Hofstätter and Sophia Althammer and Michael Schröder and Mete Sertkan and Allan Hanbury},
year={2021},
eprint={2010.02666},
archivePrefix={arXiv},
primaryClass={cs.IR}
}