Downloads · 30 days
0
pj-mathematician/JobBGE-small-en-v1.5
JobBGE-small-en-v1.5 is a sentence similarity model from pj-mathematician. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
Top performing model on TalentCLEF 2025 Task A. Use it for multilingual job title matching
Downloads · 30 days
0
Access
Public
Updated Jun 20, 2025
Repo size
2 GB
Likes
0
Public
Click a slice to open those files.
.pt1.3 GB · 66%
From the Hugging Face model README
Top performing model on TalentCLEF 2025 Task A. Use it for multilingual job title matching
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)
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 = [
'Volksvertreter',
'Parlamentarier',
'Oberbürgermeister',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
<!--
### 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.*
-->
full_en, full_es, full_de, full_zh, mix_es, mix_de and mix_zh| Metric | full_en | full_es | full_de | full_zh | mix_es | mix_de | mix_zh |
|---|---|---|---|---|---|---|---|
| cosine_accuracy@1 | 0.6571 | 0.1243 | 0.2956 | 0.3495 | 0.4113 | 0.2943 | 0.0971 |
| cosine_accuracy@20 | 0.9905 | 1.0 | 0.9212 | 0.7379 | 0.7613 | 0.65 | 0.3586 |
| cosine_accuracy@50 | 0.9905 | 1.0 | 0.9655 | 0.8252 | 0.8523 | 0.7608 | 0.4901 |
| cosine_accuracy@100 | 0.9905 | 1.0 | 0.9754 | 0.8544 | 0.9121 | 0.8508 | 0.6002 |
| cosine_accuracy@150 | 0.9905 | 1.0 | 0.9852 | 0.9029 | 0.9418 | 0.8898 | 0.6613 |
| cosine_accuracy@200 | 0.9905 | 1.0 | 0.9852 | 0.9417 | 0.9548 | 0.9204 | 0.7062 |
| cosine_precision@1 | 0.6571 | 0.1243 | 0.2956 | 0.3495 | 0.4113 | 0.2943 | 0.0971 |
| cosine_precision@20 | 0.5024 | 0.4897 | 0.4246 | 0.1733 | 0.0892 | 0.0731 | 0.0314 |
| cosine_precision@50 | 0.308 | 0.3179 | 0.2814 | 0.0944 | 0.0418 | 0.0361 | 0.0185 |
| cosine_precision@100 | 0.1863 | 0.1986 | 0.1801 | 0.0589 | 0.0229 | 0.0206 | 0.0116 |
| cosine_precision@150 | 0.1322 | 0.1469 | 0.1362 | 0.0458 | 0.0159 | 0.0147 | 0.0087 |
| cosine_precision@200 | 0.103 | 0.1179 | 0.1105 | 0.0385 | 0.0122 | 0.0116 | 0.0071 |
| cosine_recall@1 | 0.068 | 0.0031 | 0.0111 | 0.0273 | 0.1565 | 0.1109 | 0.0329 |
| cosine_recall@20 | 0.5385 | 0.3221 | 0.2614 | 0.1766 | 0.6594 | 0.5344 | 0.2091 |
| cosine_recall@50 | 0.726 | 0.4638 | 0.3835 | 0.2393 | 0.7705 | 0.6585 | 0.3054 |
| cosine_recall@100 | 0.8329 | 0.5438 | 0.4677 | 0.2863 | 0.8472 | 0.7525 | 0.3835 |
| cosine_recall@150 | 0.8745 | 0.5825 | 0.5183 | 0.3287 | 0.8825 | 0.8026 | 0.4309 |
| cosine_recall@200 | 0.9057 | 0.6147 | 0.5517 | 0.3631 | 0.9051 | 0.8418 | 0.4715 |
| cosine_ndcg@1 | 0.6571 | 0.1243 | 0.2956 | 0.3495 | 0.4113 | 0.2943 | 0.0971 |
| cosine_ndcg@20 | 0.6845 | 0.5385 | 0.4601 | 0.2468 | 0.5117 | 0.3919 | 0.1385 |
| cosine_ndcg@50 | 0.704 | 0.5012 | 0.4229 | 0.2394 | 0.542 | 0.4256 | 0.1656 |
| cosine_ndcg@100 | 0.7589 | 0.5147 | 0.4371 | 0.2619 | 0.5588 | 0.4462 | 0.1835 |
| cosine_ndcg@150 | 0.7774 | 0.5348 | 0.4629 | 0.2787 | 0.5656 | 0.4561 | 0.1931 |
| cosine_ndcg@200 | 0.7893 | 0.5505 | 0.4797 | 0.2919 | 0.5697 | 0.4632 | 0.2007 |
| cosine_mrr@1 | 0.6571 | 0.1243 | 0.2956 | 0.3495 | 0.4113 | 0.2943 | 0.0971 |
| cosine_mrr@20 | 0.8103 | 0.5515 | 0.4896 | 0.4485 | 0.4979 | 0.3779 | 0.1522 |
| cosine_mrr@50 | 0.8103 | 0.5515 | 0.4909 | 0.4515 | 0.501 | 0.3815 | 0.1564 |
| cosine_mrr@100 | 0.8103 | 0.5515 | 0.4911 | 0.4519 | 0.5018 | 0.3827 | 0.158 |
| cosine_mrr@150 | 0.8103 | 0.5515 | 0.4912 | 0.4523 | 0.5021 | 0.3831 | 0.1585 |
| cosine_mrr@200 | 0.8103 | 0.5515 | 0.4912 | 0.4525 | 0.5021 | 0.3832 | 0.1588 |
| cosine_map@1 | 0.6571 | 0.1243 | 0.2956 | 0.3495 | 0.4113 | 0.2943 | 0.0971 |
| cosine_map@20 | 0.5418 | 0.4028 | 0.3236 | 0.147 | 0.4264 | 0.3097 | 0.0875 |
| cosine_map@50 | 0.5327 | 0.3422 | 0.2644 | 0.1267 | 0.4338 | 0.3174 | 0.093 |
| cosine_map@100 | 0.5657 | 0.3395 | 0.2576 | 0.1326 | 0.436 | 0.3199 | 0.095 |
| cosine_map@150 | 0.5734 | 0.3478 | 0.2669 | 0.1352 | 0.4366 | 0.3207 | 0.0957 |
| cosine_map@200 | 0.5772 | 0.3534 | 0.2722 | 0.1368 | 0.4368 | 0.3212 | 0.0961 |
| cosine_map@500 | 0.5814 | 0.3631 | 0.2833 | 0.1407 | 0.4373 | 0.3219 | 0.0971 |
| anchor | positive | |
|---|---|---|
| type | string | string |
| details | <ul><li>min: 3 tokens</li><li>mean: 5.0 tokens</li><li>max: 10 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.01 tokens</li><li>max: 13 tokens</li></ul> |
| anchor | positive |
|---|---|
| <code>air commodore</code> | <code>flight lieutenant</code> |
| <code>command and control officer</code> | <code>flight officer</code> |
| <code>air commodore</code> | <code>command and control officer</code> |
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, '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})
(2): Normalize()
), 'temperature': 0.01, 'margin_strategy': 'absolute', 'margin': 0.0}
| anchor | positive | |
|---|---|---|
| type | string | string |
| details | <ul><li>min: 3 tokens</li><li>mean: 11.05 tokens</li><li>max: 45 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 11.43 tokens</li><li>max: 45 tokens</li></ul> |
| anchor | positive |
|---|---|
| <code>Staffelkommandantin</code> | <code>Kommodore</code> |
| <code>Luftwaffenoffizierin</code> | <code>Luftwaffenoffizier/Luftwaffenoffizierin</code> |
| <code>Staffelkommandantin</code> | <code>Luftwaffenoffizierin</code> |
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, '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})
(2): Normalize()
), 'temperature': 0.01, 'margin_strategy': 'absolute', 'margin': 0.0}
| anchor | positive | |
|---|---|---|
| type | string | string |
| details | <ul><li>min: 3 tokens</li><li>mean: 12.95 tokens</li><li>max: 50 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 12.57 tokens</li><li>max: 50 tokens</li></ul> |
| anchor | positive |
|---|---|
| <code>jefe de escuadrón</code> | <code>instructor</code> |
| <code>comandante de aeronave</code> | <code>instructor de simulador</code> |
| <code>instructor</code> | <code>oficial del Ejército del Aire</code> |
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, '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})
(2): Normalize()
), 'temperature': 0.01, 'margin_strategy': 'absolute', 'margin': 0.0}
| anchor | positive | |
|---|---|---|
| type | string | string |
| details | <ul><li>min: 4 tokens</li><li>mean: 8.36 tokens</li><li>max: 20 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 8.95 tokens</li><li>max: 27 tokens</li></ul> |
| anchor | positive |
|---|---|
| <code>技术总监</code> | <code>技术和运营总监</code> |
| <code>技术总监</code> | <code>技术主管</code> |
| <code>技术总监</code> | <code>技术艺术总监</code> |
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, '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})
(2): Normalize()
), 'temperature': 0.01, 'margin_strategy': 'absolute', 'margin': 0.0}
| anchor | positive | |
|---|---|---|
| type | string | string |
| details | <ul><li>min: 2 tokens</li><li>mean: 5.65 tokens</li><li>max: 14 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 10.08 tokens</li><li>max: 30 tokens</li></ul> |
| anchor | positive |
|---|---|
| <code>technical manager</code> | <code>Technischer Direktor für Bühne, Film und Fernsehen</code> |
| <code>head of technical</code> | <code>directora técnica</code> |
| <code>head of technical department</code> | <code>技术艺术总监</code> |
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, '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})
(2): Normalize()
), 'temperature': 0.01, 'margin_strategy': 'absolute', 'margin': 0.0}
eval_strategy: stepsper_device_train_batch_size: 128per_device_eval_batch_size: 128gradient_accumulation_steps: 2num_train_epochs: 5warmup_ratio: 0.05log_on_each_node: Falsefp16: Truedataloader_num_workers: 4ddp_find_unused_parameters: Truebatch_sampler: no_duplicatesoverwrite_output_dir: Falsedo_predict: Falseeval_strategy: stepsprediction_loss_only: Trueper_device_train_batch_size: 128per_device_eval_batch_size: 128per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 2eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 5e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1.0num_train_epochs: 5max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: {}warmup_ratio: 0.05warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Falselogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Falsefp16: Truefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Truedataloader_num_workers: 4dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}tp_size: 0fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Trueddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters:auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportional| Epoch | Step | Training Loss | full_en_cosine_ndcg@200 | full_es_cosine_ndcg@200 | full_de_cosine_ndcg@200 | full_zh_cosine_ndcg@200 | mix_es_cosine_ndcg@200 | mix_de_cosine_ndcg@200 | mix_zh_cosine_ndcg@200 |
|---|---|---|---|---|---|---|---|---|---|
| -1 | -1 | - | 0.7322 | 0.4690 | 0.3853 | 0.2723 | 0.3209 | 0.2244 | 0.0919 |
| 0.0021 | 1 | 23.8878 | - | - | - | - | - | - | - |
| 0.2058 | 100 | 7.2098 | - | - | - | - | - | - | - |
| 0.4115 | 200 | 4.2635 | 0.7800 | 0.5132 | 0.4268 | 0.2798 | 0.4372 | 0.2996 | 0.1447 |
| 0.6173 | 300 | 4.1931 | - | - | - | - | - | - | - |
| 0.8230 | 400 | 3.73 | 0.7863 | 0.5274 | 0.4451 | 0.2805 | 0.4762 | 0.3455 | 0.1648 |
| 1.0309 | 500 | 3.3569 | - | - | - | - | - | - | - |
| 1.2366 | 600 | 3.6464 | 0.7868 | 0.5372 | 0.4540 | 0.2813 | 0.5063 | 0.3794 | 0.1755 |
| 1.4424 | 700 | 3.0772 | - | - | - | - | - | - | - |
| 1.6481 | 800 | 3.114 | 0.7906 | 0.5391 | 0.4576 | 0.2832 | 0.5221 | 0.4047 | 0.1779 |
| 1.8539 | 900 | 2.9246 | - | - | - | - | - | - | - |
| 2.0617 | 1000 | 2.7479 | 0.7873 | 0.5423 | 0.4631 | 0.2871 | 0.5323 | 0.4143 | 0.1843 |
| 2.2675 | 1100 | 3.049 | - | - | - | - | - | - | - |
| 2.4733 | 1200 | 2.6137 | 0.7878 | 0.5418 | 0.4685 | 0.2870 | 0.5470 | 0.4339 | 0.1932 |
| 2.6790 | 1300 | 2.8607 | - | - | - | - | - | - | - |
| 2.8848 | 1400 | 2.7071 | 0.7889 | 0.5465 | 0.4714 | 0.2891 | 0.5504 | 0.4362 | 0.1944 |
| 3.0926 | 1500 | 2.7012 | - | - | - | - | - | - | - |
| 3.2984 | 1600 | 2.7423 | 0.7882 | 0.5471 | 0.4748 | 0.2868 | 0.5542 | 0.4454 | 0.1976 |
| 3.5041 | 1700 | 2.5316 | - | - | - | - | - | - | - |
| 3.7099 | 1800 | 2.6344 | 0.7900 | 0.5498 | 0.4763 | 0.2857 | 0.5639 | 0.4552 | 0.1954 |
| 3.9156 | 1900 | 2.4983 | - | - | - | - | - | - | - |
| 4.1235 | 2000 | 2.5423 | 0.7894 | 0.5499 | 0.4786 | 0.2870 | 0.5644 | 0.4576 | 0.1974 |
| 4.3292 | 2100 | 2.5674 | - | - | - | - | - | - | - |
| 4.5350 | 2200 | 2.6237 | 0.7899 | 0.5502 | 0.4802 | 0.2843 | 0.5674 | 0.4607 | 0.1993 |
| 4.7407 | 2300 | 2.3776 | - | - | - | - | - | - | - |
| 4.9465 | 2400 | 2.1116 | 0.7893 | 0.5505 | 0.4797 | 0.2919 | 0.5697 | 0.4632 | 0.2007 |
@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",
}
@misc{solatorio2024gistembed,
title={GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuning},
author={Aivin V. Solatorio},
year={2024},
eprint={2402.16829},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
<!--
## 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.*
-->