Views
No views yet
SentenceTransformer(
(0): Transformer({'max_seq_length': 8192, 'do_lower_case': False, 'architecture': 'XLMRobertaModel'})
(1): Pooling({'word_embedding_dimension': 1024, '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()
)pip install -U sentence-transformers1from sentence_transformers import SentenceTransformer
2
3# Download from the 🤗 Hub
4model = SentenceTransformer("KayaTechAI/BGE-M3-0.56B-Fine-Tuned-Telecom-Technical-Documents-Retrieval-Embedding-With-Config")
5# Run inference
6sentences = [
7 'What is the provisioning scope for the eMLPP service?',
8 'eMLPP is provisioned per subscriber.',
9 'The main objective is to verify that the User Equipment (UE) tracks channel variations and selects the optimal transport format for frequency non-selective scheduling.',
10]
11embeddings = model.encode(sentences)
12print(embeddings.shape)
13# [3, 1024]
14
15# Get the similarity scores for the embeddings
16similarities = model.similarity(embeddings, embeddings)
17print(similarities)
18# tensor([[ 1.0000, 0.7451, -0.1130],
19# [ 0.7451, 1.0000, -0.1339],
20# [-0.1130, -0.1339, 1.0000]])dim_1024InformationRetrievalEvaluator with these parameters:
1{
2 "truncate_dim": 1024
3}| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.7864 |
| cosine_accuracy@3 | 0.9008 |
| cosine_accuracy@5 | 0.9336 |
| cosine_accuracy@10 | 0.9556 |
| cosine_precision@1 | 0.7864 |
| cosine_precision@3 | 0.3003 |
| cosine_precision@5 | 0.1867 |
| cosine_precision@10 | 0.0956 |
| cosine_recall@1 | 0.7864 |
| cosine_recall@3 | 0.9008 |
| cosine_recall@5 | 0.9336 |
| cosine_recall@10 | 0.9556 |
| cosine_ndcg@10 | 0.8753 |
| cosine_mrr@10 | 0.849 |
| cosine_map@100 | 0.851 |
dim_768InformationRetrievalEvaluator with these parameters:
1{
2 "truncate_dim": 768
3}| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.7884 |
| cosine_accuracy@3 | 0.9016 |
| cosine_accuracy@5 | 0.9312 |
| cosine_accuracy@10 | 0.9572 |
| cosine_precision@1 | 0.7884 |
| cosine_precision@3 | 0.3005 |
| cosine_precision@5 | 0.1862 |
| cosine_precision@10 | 0.0957 |
| cosine_recall@1 | 0.7884 |
| cosine_recall@3 | 0.9016 |
| cosine_recall@5 | 0.9312 |
| cosine_recall@10 | 0.9572 |
| cosine_ndcg@10 | 0.8769 |
| cosine_mrr@10 | 0.8507 |
| cosine_map@100 | 0.8526 |
dim_512InformationRetrievalEvaluator with these parameters:
1{
2 "truncate_dim": 512
3}| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.7868 |
| cosine_accuracy@3 | 0.9016 |
| cosine_accuracy@5 | 0.932 |
| cosine_accuracy@10 | 0.9564 |
| cosine_precision@1 | 0.7868 |
| cosine_precision@3 | 0.3005 |
| cosine_precision@5 | 0.1864 |
| cosine_precision@10 | 0.0956 |
| cosine_recall@1 | 0.7868 |
| cosine_recall@3 | 0.9016 |
| cosine_recall@5 | 0.932 |
| cosine_recall@10 | 0.9564 |
| cosine_ndcg@10 | 0.876 |
| cosine_mrr@10 | 0.8497 |
| cosine_map@100 | 0.8514 |
dim_256InformationRetrievalEvaluator with these parameters:
1{
2 "truncate_dim": 256
3}| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.7812 |
| cosine_accuracy@3 | 0.8964 |
| cosine_accuracy@5 | 0.928 |
| cosine_accuracy@10 | 0.9552 |
| cosine_precision@1 | 0.7812 |
| cosine_precision@3 | 0.2988 |
| cosine_precision@5 | 0.1856 |
| cosine_precision@10 | 0.0955 |
| cosine_recall@1 | 0.7812 |
| cosine_recall@3 | 0.8964 |
| cosine_recall@5 | 0.928 |
| cosine_recall@10 | 0.9552 |
| cosine_ndcg@10 | 0.8721 |
| cosine_mrr@10 | 0.845 |
| cosine_map@100 | 0.8467 |
dim_128InformationRetrievalEvaluator with these parameters:
1{
2 "truncate_dim": 128
3}| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.7736 |
| cosine_accuracy@3 | 0.8868 |
| cosine_accuracy@5 | 0.9212 |
| cosine_accuracy@10 | 0.95 |
| cosine_precision@1 | 0.7736 |
| cosine_precision@3 | 0.2956 |
| cosine_precision@5 | 0.1842 |
| cosine_precision@10 | 0.095 |
| cosine_recall@1 | 0.7736 |
| cosine_recall@3 | 0.8868 |
| cosine_recall@5 | 0.9212 |
| cosine_recall@10 | 0.95 |
| cosine_ndcg@10 | 0.8648 |
| cosine_mrr@10 | 0.8372 |
| cosine_map@100 | 0.839 |
dim_64InformationRetrievalEvaluator with these parameters:
1{
2 "truncate_dim": 64
3}| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.7456 |
| cosine_accuracy@3 | 0.8644 |
| cosine_accuracy@5 | 0.9016 |
| cosine_accuracy@10 | 0.9344 |
| cosine_precision@1 | 0.7456 |
| cosine_precision@3 | 0.2881 |
| cosine_precision@5 | 0.1803 |
| cosine_precision@10 | 0.0934 |
| cosine_recall@1 | 0.7456 |
| cosine_recall@3 | 0.8644 |
| cosine_recall@5 | 0.9016 |
| cosine_recall@10 | 0.9344 |
| cosine_ndcg@10 | 0.8427 |
| cosine_mrr@10 | 0.8131 |
| cosine_map@100 | 0.8154 |
anchor and positive| anchor | positive | |
|---|---|---|
| type | string | string |
| details |
|
|
| anchor | positive |
|---|---|
What is the estimated Transmit power considered sufficient for achieving 95% Downlink coverage with a single Base Station? | Approximately 14 dBm Transmit power is considered sufficient. |
What is the primary goal of the Nominal Accuracy requirement? | The primary goal of the Nominal Accuracy requirement is to ensure good accuracy when signal conditions are ideal. |
What happens on the mobile station side if contention resolution fails because the G-RNTI value in the network's acknowledgement message differs from what the mobile station sent? | If the mobile station receives a PACKET UPLINK ACK/NACK message with a G-RNTI value different from the one it included in its first RLC data blocks, it signifies a contention resolution failure, and the mobile station will not transmit a PACKET CONTROL ACKNOWLEDGEMENT. |
MatryoshkaLoss with these parameters:
1{
2 "loss": "MultipleNegativesRankingLoss",
3 "matryoshka_dims": [
4 1024,
5 768,
6 512,
7 256,
8 128,
9 64
10 ],
11 "matryoshka_weights": [
12 1,
13 1,
14 1,
15 1,
16 1,
17 1
18 ],
19 "n_dims_per_step": -1
20}eval_strategy: epochper_device_train_batch_size: 32per_device_eval_batch_size: 32gradient_accumulation_steps: 16learning_rate: 2e-05num_train_epochs: 4lr_scheduler_type: cosinewarmup_ratio: 0.1bf16: Truetf32: Trueload_best_model_at_end: Truebatch_sampler: no_duplicatesoverwrite_output_dir: Falsedo_predict: Falseeval_strategy: epochprediction_loss_only: Trueper_device_train_batch_size: 32per_device_eval_batch_size: 32per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 16eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 2e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1.0num_train_epochs: 4max_steps: -1lr_scheduler_type: cosinelr_scheduler_kwargs: {}warmup_ratio: 0.1warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_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: Truefp16: Falsefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Truelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Trueignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}fsdp_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_torch_fusedoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_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: Falsehub_revision: Nonegradient_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: Falseliger_kernel_config: Noneeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}| Epoch | Step | Training Loss | dim_1024_cosine_ndcg@10 | dim_768_cosine_ndcg@10 | dim_512_cosine_ndcg@10 | dim_256_cosine_ndcg@10 | dim_128_cosine_ndcg@10 | dim_64_cosine_ndcg@10 |
|---|---|---|---|---|---|---|---|---|
| 0.0401 | 10 | 1.8502 | - | - | - | - | - | - |
| 0.0802 | 20 | 1.5404 | - | - | - | - | - | - |
| 0.1202 | 30 | 1.0689 | - | - | - | - | - | - |
| 0.1603 | 40 | 0.7949 | - | - | - | - | - | - |
| 0.2004 | 50 | 0.6734 | - | - | - | - | - | - |
| 0.2405 | 60 | 0.5544 | - | - | - | - | - | - |
| 0.2806 | 70 | 0.4663 | - | - | - | - | - | - |
| 0.3206 | 80 | 0.4347 | - | - | - | - | - | - |
| 0.3607 | 90 | 0.4077 | - | - | - | - | - | - |
| 0.4008 | 100 | 0.3298 | - | - | - | - | - | - |
| 0.4409 | 110 | 0.3129 | - | - | - | - | - | - |
| 0.4810 | 120 | 0.3046 | - | - | - | - | - | - |
| 0.5210 | 130 | 0.2918 | - | - | - | - | - | - |
| 0.5611 | 140 | 0.2973 | - | - | - | - | - | - |
| 0.6012 | 150 | 0.3111 | - | - | - | - | - | - |
| 0.6413 | 160 | 0.2382 | - | - | - | - | - | - |
| 0.6814 | 170 | 0.2729 | - | - | - | - | - | - |
| 0.7214 | 180 | 0.2779 | - | - | - | - | - | - |
| 0.7615 | 190 | 0.2543 | - | - | - | - | - | - |
| 0.8016 | 200 | 0.2585 | - | - | - | - | - | - |
| 0.8417 | 210 | 0.2546 | - | - | - | - | - | - |
| 0.8818 | 220 | 0.2263 | - | - | - | - | - | - |
| 0.9218 | 230 | 0.2343 | - | - | - | - | - | - |
| 0.9619 | 240 | 0.2131 | - | - | - | - | - | - |
| 1.0 | 250 | 0.2042 | 0.8678 | 0.8662 | 0.8626 | 0.8578 | 0.8463 | 0.8150 |
| 1.0401 | 260 | 0.1439 | - | - | - | - | - | - |
| 1.0802 | 270 | 0.1587 | - | - | - | - | - | - |
| 1.1202 | 280 | 0.1613 | - | - | - | - | - | - |
| 1.1603 | 290 | 0.1346 | - | - | - | - | - | - |
| 1.2004 | 300 | 0.1622 | - | - | - | - | - | - |
| 1.2405 | 310 | 0.1655 | - | - | - | - | - | - |
| 1.2806 | 320 | 0.1395 | - | - | - | - | - | - |
| 1.3206 | 330 | 0.1409 | - | - | - | - | - | - |
| 1.3607 | 340 | 0.1415 | - | - | - | - | - | - |
| 1.4008 | 350 | 0.1319 | - | - | - | - | - | - |
| 1.4409 | 360 | 0.1387 | - | - | - | - | - | - |
| 1.4810 | 370 | 0.1238 | - | - | - | - | - | - |
| 1.5210 | 380 | 0.1314 | - | - | - | - | - | - |
| 1.5611 | 390 | 0.123 | - | - | - | - | - | - |
| 1.6012 | 400 | 0.1374 | - | - | - | - | - | - |
| 1.6413 | 410 | 0.1456 | - | - | - | - | - | - |
| 1.6814 | 420 | 0.1571 | - | - | - | - | - | - |
| 1.7214 | 430 | 0.1267 | - | - | - | - | - | - |
| 1.7615 | 440 | 0.1338 | - | - | - | - | - | - |
| 1.8016 | 450 | 0.124 | - | - | - | - | - | - |
| 1.8417 | 460 | 0.1337 | - | - | - | - | - | - |
| 1.8818 | 470 | 0.1051 | - | - | - | - | - | - |
| 1.9218 | 480 | 0.13 | - | - | - | - | - | - |
| 1.9619 | 490 | 0.1293 | - | - | - | - | - | - |
| 2.0 | 500 | 0.1127 | 0.8735 | 0.8746 | 0.8736 | 0.8675 | 0.8565 | 0.8347 |
| 2.0401 | 510 | 0.0809 | - | - | - | - | - | - |
| 2.0802 | 520 | 0.0784 | - | - | - | - | - | - |
| 2.1202 | 530 | 0.0783 | - | - | - | - | - | - |
| 2.1603 | 540 | 0.0733 | - | - | - | - | - | - |
| 2.2004 | 550 | 0.0919 | - | - | - | - | - | - |
| 2.2405 | 560 | 0.0806 | - | - | - | - | - | - |
| 2.2806 | 570 | 0.0885 | - | - | - | - | - | - |
| 2.3206 | 580 | 0.0857 | - | - | - | - | - | - |
| 2.3607 | 590 | 0.0866 | - | - | - | - | - | - |
| 2.4008 | 600 | 0.0819 | - | - | - | - | - | - |
| 2.4409 | 610 | 0.0844 | - | - | - | - | - | - |
| 2.4810 | 620 | 0.0958 | - | - | - | - | - | - |
| 2.5210 | 630 | 0.0814 | - | - | - | - | - | - |
| 2.5611 | 640 | 0.0764 | - | - | - | - | - | - |
| 2.6012 | 650 | 0.0754 | - | - | - | - | - | - |
| 2.6413 | 660 | 0.0863 | - | - | - | - | - | - |
| 2.6814 | 670 | 0.0806 | - | - | - | - | - | - |
| 2.7214 | 680 | 0.0702 | - | - | - | - | - | - |
| 2.7615 | 690 | 0.0809 | - | - | - | - | - | - |
| 2.8016 | 700 | 0.089 | - | - | - | - | - | - |
| 2.8417 | 710 | 0.084 | - | - | - | - | - | - |
| 2.8818 | 720 | 0.0954 | - | - | - | - | - | - |
| 2.9218 | 730 | 0.0737 | - | - | - | - | - | - |
| 2.9619 | 740 | 0.0683 | - | - | - | - | - | - |
| 3.0 | 750 | 0.08 | 0.8771 | 0.8757 | 0.8762 | 0.8726 | 0.8668 | 0.8414 |
| 3.0401 | 760 | 0.0541 | - | - | - | - | - | - |
| 3.0802 | 770 | 0.063 | - | - | - | - | - | - |
| 3.1202 | 780 | 0.0772 | - | - | - | - | - | - |
| 3.1603 | 790 | 0.0722 | - | - | - | - | - | - |
| 3.2004 | 800 | 0.0666 | - | - | - | - | - | - |
| 3.2405 | 810 | 0.0703 | - | - | - | - | - | - |
| 3.2806 | 820 | 0.0734 | - | - | - | - | - | - |
| 3.3206 | 830 | 0.0675 | - | - | - | - | - | - |
| 3.3607 | 840 | 0.0633 | - | - | - | - | - | - |
| 3.4008 | 850 | 0.0623 | - | - | - | - | - | - |
| 3.4409 | 860 | 0.0646 | - | - | - | - | - | - |
| 3.4810 | 870 | 0.0601 | - | - | - | - | - | - |
| 3.5210 | 880 | 0.0711 | - | - | - | - | - | - |
| 3.5611 | 890 | 0.0774 | - | - | - | - | - | - |
| 3.6012 | 900 | 0.0656 | - | - | - | - | - | - |
| 3.6413 | 910 | 0.0652 | - | - | - | - | - | - |
| 3.6814 | 920 | 0.0637 | - | - | - | - | - | - |
| 3.7214 | 930 | 0.0641 | - | - | - | - | - | - |
| 3.7615 | 940 | 0.063 | - | - | - | - | - | - |
| 3.8016 | 950 | 0.066 | - | - | - | - | - | - |
| 3.8417 | 960 | 0.0589 | - | - | - | - | - | - |
| 3.8818 | 970 | 0.0608 | - | - | - | - | - | - |
| 3.9218 | 980 | 0.0723 | - | - | - | - | - | - |
| 3.9619 | 990 | 0.0683 | - | - | - | - | - | - |
| 4.0 | 1000 | 0.0657 | 0.8753 | 0.8769 | 0.8760 | 0.8721 | 0.8648 | 0.8427 |
1@inproceedings{reimers-2019-sentence-bert,
2 title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
3 author = "Reimers, Nils and Gurevych, Iryna",
4 booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
5 month = "11",
6 year = "2019",
7 publisher = "Association for Computational Linguistics",
8 url = "https://arxiv.org/abs/1908.10084",
9}1@misc{kusupati2024matryoshka,
2 title={Matryoshka Representation Learning},
3 author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
4 year={2024},
5 eprint={2205.13147},
6 archivePrefix={arXiv},
7 primaryClass={cs.LG}
8}1@misc{henderson2017efficient,
2 title={Efficient Natural Language Response Suggestion for Smart Reply},
3 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},
4 year={2017},
5 eprint={1705.00652},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL}
8}