CoolFace
Modelpublic

pj-mathematician/JobGTE-multilingual-base-pruned

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Model Card

Job - Job matching Alibaba-NLP/gte-multilingual-base pruned

Top performing model on TalentCLEF 2025 Task A. Use it for multilingual job title matching

Model Details

Model Description

  • Model Type: Sentence Transformer <!-- - Base model: Unknown -->
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity <!-- - Training Dataset: Unknown --> <!-- - Language: Unknown --> <!-- - License: Unknown -->

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: NewModel 
  (1): Pooling({'word_embedding_dimension': 768, '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()
)

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("pj-mathematician/JobGTE-multilingual-base-pruned")
# Run inference
sentences = [
    'Entwicklerin für mobile Anwendungen',
    'Mergers-and-Acquisitions-Analyst/Mergers-and-Acquisitions-Analystin',
    'fashion design expert',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# 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. -->

Evaluation

Metrics

Information Retrieval
Metricfull_enfull_esfull_defull_zhmix_esmix_demix_zh
cosine_accuracy@10.64760.11890.29560.66020.62970.55640.6086
cosine_accuracy@200.97141.00.97040.97090.91060.88660.9593
cosine_accuracy@500.99051.00.97540.99030.94960.93810.9791
cosine_accuracy@1000.99051.00.99010.99030.9730.95940.9875
cosine_accuracy@1500.99051.00.99010.99030.98340.97090.9911
cosine_accuracy@2000.99051.00.99010.99030.99010.97760.9937
cosine_precision@10.64760.11890.29560.66020.62970.55640.6086
cosine_precision@200.47950.52680.42910.44810.11170.10950.1266
cosine_precision@500.28840.34380.2980.27130.04850.04810.0552
cosine_precision@1000.1730.2190.19430.16650.02540.02530.0287
cosine_precision@1500.12440.16580.14820.12110.01720.01730.0194
cosine_precision@2000.09860.13330.11980.09530.01310.01310.0147
cosine_recall@10.06610.00360.01110.06610.24340.20930.2044
cosine_recall@200.51220.35410.26680.48410.82880.79890.8346
cosine_recall@500.68350.50980.40920.65680.89870.87410.9096
cosine_recall@1000.790.60760.50980.76850.93990.91730.9476
cosine_recall@1500.840.67050.57290.82780.95770.94240.9609
cosine_recall@2000.87590.71250.6120.86170.96950.95360.9698
cosine_ndcg@10.64760.11890.29560.66020.62970.55640.6086
cosine_ndcg@200.64680.57080.46960.62310.7010.65410.6853
cosine_ndcg@500.6580.53550.44490.63830.72010.67480.7067
cosine_ndcg@1000.70950.5590.4670.69170.72910.68450.7154
cosine_ndcg@1500.7310.590.49820.71670.73260.68940.7181
cosine_ndcg@2000.74610.60950.51650.73030.73470.69150.7198
cosine_mrr@10.64760.11890.29560.66020.62970.55640.6086
cosine_mrr@200.79020.55320.50470.80160.70370.64770.7237
cosine_mrr@500.7910.55320.50480.80210.7050.64940.7243
cosine_mrr@1000.7910.55320.5050.80210.70530.64970.7245
cosine_mrr@1500.7910.55320.5050.80210.70540.64980.7245
cosine_mrr@2000.7910.55320.5050.80210.70550.64980.7245
cosine_map@10.64760.11890.29560.66020.62970.55640.6086
cosine_map@200.50260.43790.33660.4750.61940.56480.5652
cosine_map@500.4840.37390.28530.45790.62440.570.5716
cosine_map@1000.51180.37630.28180.48480.62570.57140.5731
cosine_map@1500.52020.38920.29310.49370.6260.57190.5734
cosine_map@2000.52490.39580.29880.49780.62620.5720.5735
cosine_map@5000.53040.40630.31090.5040.62630.57230.5736

<!--

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: 86,648 training samples
  • Columns: <code>sentence</code> and <code>label</code>
  • Approximate statistics based on the first 1000 samples: | | sentence | label | |:--------|:---------------------------------------------------------------------------------|:-------------------------------------| | type | string | list | | details | <ul><li>min: 2 tokens</li><li>mean: 8.25 tokens</li><li>max: 54 tokens</li></ul> | <ul><li>size: 768 elements</li></ul> |
  • Samples: | sentence | label | |:-----------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------| | <code></code> | <code>[-0.07171934843063354, 0.03595816716551781, -0.029780959710478783, 0.006593302357941866, 0.040611181408166885, ...]</code> | | <code>airport environment officer</code> | <code>[-0.022075481712818146, 0.02999737113714218, -0.02189866080880165, 0.016531817615032196, 0.012234307825565338, ...]</code> | | <code>Flake操作员</code> | <code>[-0.04815564677119255, 0.023524893447756767, -0.01583661139011383, 0.042527906596660614, 0.03815540298819542, ...]</code> |
  • Loss: <code>MSELoss</code>

Training Hyperparameters

Non-Default Hyperparameters
  • eval_strategy: steps
  • per_device_train_batch_size: 128
  • per_device_eval_batch_size: 128
  • gradient_accumulation_steps: 2
  • learning_rate: 0.0001
  • num_train_epochs: 5
  • warmup_ratio: 0.05
  • log_on_each_node: False
  • fp16: True
  • dataloader_num_workers: 4
  • ddp_find_unused_parameters: True
  • batch_sampler: no_duplicates
All Hyperparameters

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

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 128
  • per_device_eval_batch_size: 128
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 2
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 0.0001
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 5
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.05
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: False
  • 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: True
  • dataloader_num_workers: 4
  • 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: {'minnumparams': 0, 'xla': False, 'xlafsdpv2': False, 'xlafsdpgrad_ckpt': False}
  • tp_size: 0
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'splitbatches': False, 'dispatchbatches': None, 'evenbatches': True, 'useseedablesampler': True, 'nonblocking': False, 'gradientaccumulationkwargs': 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: True
  • 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
  • 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: no_duplicates
  • multi_dataset_batch_sampler: proportional

</details>

Training Logs

EpochStepTraining Lossfull_en_cosine_ndcg@200full_es_cosine_ndcg@200full_de_cosine_ndcg@200full_zh_cosine_ndcg@200mix_es_cosine_ndcg@200mix_de_cosine_ndcg@200mix_zh_cosine_ndcg@200
-1-1-0.53480.43110.36780.53330.25800.19240.2871
0.003010.0017-------
0.29591000.001-------
0.59172000.00050.67020.52870.45660.68090.58640.53020.4739
0.88763000.0004-------
1.18344000.00040.70570.56430.47900.70330.66040.60550.6003
1.47935000.0004-------
1.77516000.00030.71840.57830.49100.71270.69270.64160.6485
2.07107000.0003-------
2.36698000.00030.73070.59380.50230.72330.71250.66390.6847
2.66279000.0003-------
2.958610000.00030.73710.60020.50850.72280.72220.67610.6998
3.254411000.0003-------
3.550312000.00030.74020.60590.51090.72790.72850.68410.7120
3.846213000.0003-------
4.142014000.00030.74490.60830.51540.72940.73330.68940.7176
4.437915000.0003-------
4.733716000.00030.74610.60950.51650.73030.73470.69150.7198

Framework Versions

  • Python: 3.11.11
  • Sentence Transformers: 4.1.0
  • Transformers: 4.51.3
  • PyTorch: 2.6.0+cu124
  • Accelerate: 1.6.0
  • Datasets: 3.5.0
  • Tokenizers: 0.21.1

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",
}
MSELoss
bibtex
@inproceedings{reimers-2020-multilingual-sentence-bert,
    title = "Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2020",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/2004.09813",
}

<!--

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. -->