/ Модель

Характеристики

Контекст
514 токенов
Параметры
659 млн
Архитектура
xlm-roberta · dense
Библиотека
sentence-transformers
Опубликована
12 мар 2025

measuring-embeddings-v4.3

ЭмбеддингиТекст → embedding

Модель XLM-RoBERTa создаёт 1024-мерные текстовые эмбеддинги для семантического поиска, сравнения и группировки предложений и абзацев.

129скачиваний за 30 дней0лайковвеса обновлены12 мар 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Lauther/measuring-embeddings-v4.3 — модель Sentence Transformer на базе XLM-RoBERTa, обученная разработчиком на наборе measuring-embeddings-v4 из 3 075 пар текстов с оценками сходства. Она преобразует предложения и абзацы в нормализованные плотные векторы размерностью 1024; сходство можно оценивать по косинусной мере. Архитектура включает трансформер, усреднение токеновых представлений и нормализацию. Максимальная длина последовательности — 512 токенов.

Модель предназначена для семантического поиска и сравнения текстов, поиска перефразировок, кластеризации и классификации на основе эмбеддингов. В примерах обучающего набора встречаются англоязычные тексты о измерительных системах и отчётах, однако заявленная поддержка языков шире благодаря XLM-RoBERTa; точный перечень языков карточка не подтверждает. Репозиторий использует Sentence Transformers и хранит веса в формате safetensors. Лицензия в предоставленных данных не указана.

Сценарии применения

  • семантический поиск по текстовым документам
  • сравнение смысловой близости двух текстов
  • поиск перефразировок и похожих предложений
  • кластеризация текстов по смыслу
  • классификация текстов на основе эмбеддингов

Ограничения

Максимальная длина входной последовательности составляет 512 токенов. Указанный обучающий набор содержит 3 075 пар; результаты для языков, кроме английского, отдельно не описаны.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

SentenceTransformer

This is a sentence-transformers model trained on the measuring-embeddings-v4 dataset. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 1024 dimensions
  • Similarity Function: Cosine Similarity
  • Training Dataset:

Model Sources

Full Model Architecture

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

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("Lauther/measuring-embeddings-v4.3")
# Run inference
sentences = [
    'uncertainty points',
    'What is a Fluid?\nA Fluid is the substance measured within a measurement system. It can be a gas or liquid, such as hydrocarbons, water, or other industrial fluids. Proper classification of fluids is essential for ensuring measurement accuracy, regulatory compliance, and operational efficiency. By identifying fluids correctly, the system applies the appropriate measurement techniques, processing methods, and reporting standards.',
    'What is a Calibration Point?\nA Calibration Point represents a specific data entry in a calibration process, comparing an expected reference value to an actual measured value. These points are fundamental in ensuring measurement accuracy and identifying deviations.\n\nKey Aspects of Calibration Points:\n- Calibration Report Association: Each calibration point belongs to a specific calibration report, linking it to a broader calibration procedure.\n- Reference Values: Theoretical or expected values used as a benchmark for measurement validation.\n- Measured Values: The actual recorded values during calibration, reflecting the instrument’s response.\n- Errors: The difference between reference and measured values, indicating possible measurement inaccuracies.\nCalibration points are essential for evaluating instrument performance, ensuring compliance with standards, and maintaining measurement reliability.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

Training Details

Training Dataset

measuring-embeddings-v4

  • Dataset: measuring-embeddings-v4 at 1e3ca2c
  • Size: 3,075 training samples
  • Columns: sentence1, sentence2, and score
  • Approximate statistics based on the first 1000 samples:
    sentence1sentence2score
    typestringstringfloat
    detailsmin: 3 tokensmean: 7.55 tokensmax: 17 tokensmin: 80 tokensmean: 180.22 tokensmax: 406 tokensmin: 0.07mean: 0.21max: 0.95
  • Samples:
    sentence1sentence2score
    last calibrated spanWhat are historical report values?These represent the recorded data points within flow computer reports. Unlike the report index, which serves as a reference to locate reports, these values contain the actual measurements and calculated data stored in the historical records.Flow computer reports store two types of data values:- Hourly data values: Contain measured or calculated values (e.g., operational minutes, alarms set, etc.) recorded on an hourly basis.- Daily data values: Contain measured or calculated values (e.g., operational minutes, alarms set, etc.) recorded on a daily basis.Each value is directly linked to its respective report index, ensuring traceability to the original flow computer record. These values maintain their raw integrity, providing a reliable source for analysis and validation.0.1
    flow computer configurationWhat is a Measurement Type?Measurement types define the classification of measurements used within a system based on their purpose and regulatory requirements. These types include fiscal, appropriation, operational, and custody measurements. - Fiscal measurements are used for tax and regulatory reporting, ensuring accurate financial transactions based on measured quantities. - Appropriation measurements track resource allocation and ownership distribution among stakeholders. - Operational measurements support real-time monitoring and process optimization within industrial operations. - Custody measurements are essential for legal and contractual transactions, ensuring precise handover of fluids between parties. These classifications play a crucial role in compliance, financial accuracy, and operational efficiency across industries such as oil and gas, water management, and energy distribution. 0.1
    uncertainty certificate numberWhat is an Uncertainty Composition?An Uncertainty Composition represents a specific factor that contributes to the overall uncertainty of a measurement system. These components are essential for evaluating the accuracy and reliability of measurements by identifying and quantifying the sources of uncertainty.Key Aspects of an Uncertainty Component:- Component Name: Defines the uncertainty factor (e.g., diameter, density, variance, covariance) influencing the measurement system.- Value of Composition: Quantifies the component’s contribution to the total uncertainty, helping to analyze which factors have the greatest impact.- Uncertainty File ID: Links the component to a specific uncertainty dataset for traceability and validation.Understanding these components is critical for uncertainty analysis, ensuring compliance with industry standards and improving measurement precision.0.1
  • Loss: CoSENTLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "pairwise_cos_sim"
    }
    

Evaluation Dataset

measuring-embeddings-v4

  • Dataset: measuring-embeddings-v4 at 1e3ca2c
  • Size: 659 evaluation samples
  • Columns: sentence1, sentence2, and score
  • Approximate statistics based on the first 659 samples:
    sentence1sentence2score
    typestringstringfloat
    detailsmin: 3 tokensmean: 7.63 tokensmax: 17 tokensmin: 80 tokensmean: 186.36 tokensmax: 406 tokensmin: 0.07mean: 0.2max: 0.9
  • Samples:
    sentence1sentence2score
    measurement system detailsWhat is an Uncertainty Composition?An Uncertainty Composition represents a specific factor that contributes to the overall uncertainty of a measurement system. These components are essential for evaluating the accuracy and reliability of measurements by identifying and quantifying the sources of uncertainty.Key Aspects of an Uncertainty Component:- Component Name: Defines the uncertainty factor (e.g., diameter, density, variance, covariance) influencing the measurement system.- Value of Composition: Quantifies the component’s contribution to the total uncertainty, helping to analyze which factors have the greatest impact.- Uncertainty File ID: Links the component to a specific uncertainty dataset for traceability and validation.Understanding these components is critical for uncertainty analysis, ensuring compliance with industry standards and improving measurement precision.0.15
    measurement system tag EMED-3102-02-010What is a report index or historic index?Indexes represent the recorded reports generated by flow computers, classified into two types: - Hourly reports Index: Store data for hourly events.- Daily reports Index: Strore data for daily events.These reports, also referred to as historical data or flow computer historical records, contain raw, first-hand measurements directly collected from the flow computer. The data has not been processed or used in any calculations, preserving its original state for analysis or validation.The index is essential for locating specific values within the report.0.24
    static pressureWhat is a Meter Stream?A Meter Stream represents a measurement system configured within a flow computer. It serves as the interface between the physical measurement system and the computational processes that record and analyze flow data.Key Aspects of a Meter Stream:- Status: Indicates whether the meter stream is active or inactive.- Measurement System Association: Links the meter stream to a specific measurement system, ensuring that the data collected corresponds to a defined physical setup.- Flow Computer Association: Identifies the flow computer responsible for managing and recording the measurement system's data.Why is a Meter Stream Important?A meter stream is a critical component in flow measurement, as it ensures that the measurement system is correctly integrated into the flow computer for accurate monitoring and reporting. Since each flow computer can handle multiple meter streams, proper configuration is essential for maintaining data integrity and traceability.0.1
  • Loss: CoSENTLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "pairwise_cos_sim"
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • gradient_accumulation_steps: 4
  • learning_rate: 2e-05
  • num_train_epochs: 10
  • warmup_ratio: 0.1

All Hyperparameters

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 4
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 2e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 10
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.1
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • 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: False
  • 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: False
  • dataloader_num_workers: 0
  • 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: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': 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: None
  • 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
  • dispatch_batches: None
  • split_batches: 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: batch_sampler
  • multi_dataset_batch_sampler: proportional

Training Logs

EpochStepTraining LossValidation Loss
0.83221603.0564-
0.88431702.2963-
0.93631801.8767-
0.98831902.8634-
1.04162002.5195-
1.09362102.4094-
1.14562201.5141-
1.19772302.1366-
1.24972401.5389-
1.30172503.8265-
1.35372601.9989-
1.40572702.6037-
1.45772803.898-
1.50982902.9363-
1.56183003.38530.5155
1.61383102.2995-
1.66583201.3945-
1.71783303.8312-
1.76983402.626-
1.82183501.5451-
1.87393601.1062-
1.92593702.6593-
1.97793801.773-
2.02603901.3937-
2.07804002.2228-
2.13004100.7027-
2.18214201.5933-
2.23414302.295-
2.28614401.042-
2.33814502.86710.3661
2.39014601.879-
2.44214704.0556-
2.49414802.9677-
2.54624901.4443-
2.59825003.2575-
2.65025101.6124-
2.70225201.3976-
2.75425301.3161-
2.80625402.5047-
2.85835500.9757-
2.91035602.1051-
2.96235702.4919-
3.01045801.4737-
3.06245901.3318-
3.11446001.44740.4409
3.16646102.3727-
3.21856200.6234-
3.27056301.9529-
3.32256401.5384-
3.37456501.5913-
3.42656600.6265-
3.47856702.1122-
3.53066801.8046-
3.58266900.8298-
3.63467001.4242-
3.68667101.5808-
3.73867201.1792-
3.79067302.7767-
3.84277401.7814-
3.89477500.53740.3227
3.94677601.493-
3.99877701.8282-
4.04687801.6991-
4.09887900.7883-
4.15088000.841-
4.20298100.923-
4.25498200.3459-
4.30698302.3643-
4.35898400.9606-
4.41098500.7961-
4.46298601.749-
4.51508700.6536-
4.56708801.668-
4.61908900.5919-
4.67109001.24760.3258
4.72309101.422-
4.77509200.8616-
4.82709300.2323-
4.87919402.7915-
4.93119500.6705-
4.98319601.7353-
5.03129701.7646-
5.08329801.4311-
5.13529900.7089-
5.187310001.631-
5.239310101.8051-
5.291310200.5302-
5.343310300.7428-
5.395310400.5852-
5.447310500.7370.3283
5.499310601.492-
5.551410700.9142-
5.603410801.8887-
5.655410901.1079-
5.707411000.6984-
5.759411101.7174-
5.811411200.9411-
5.863511301.286-
5.915511402.1944-
5.967511501.2478-
6.015611600.7935-
6.067611701.4886-
6.119611801.3375-
6.171711902.9167-
6.223712000.39030.2734
6.275712101.326-
6.327712200.3135-
6.379712301.0881-
6.431712401.5096-
6.483712500.5525-
6.535812600.3606-
6.587812700.9334-
6.639812800.5658-
6.691812901.5978-
6.743813000.4212-
6.795813101.7793-
6.847913201.5593-
6.899913301.6738-
6.951913400.3041-
7.013500.52860.2737
7.052013601.7618-
7.104013700.4629-
7.156013800.4087-
7.208113900.3099-
7.260114000.6679-
7.312114100.7688-
7.364114201.223-
7.416114300.8108-
7.468114400.24-
7.520214500.6616-
7.572214601.5255-
7.624214701.3865-
7.676214800.2771-
7.728214900.7809-
7.780215000.21140.2259
7.832215101.6341-
7.884315200.7665-
7.936315300.7204-
7.988315400.6557-
8.036415502.0155-
8.088415600.4718-
8.140415700.1254-
8.192515800.8067-
8.244515900.3196-
8.296516000.7162-
8.348516100.1727-
8.400516200.7634-
8.452516300.2472-
8.504616400.264-
8.556616500.59940.1935
8.608616600.4445-
8.660616700.9039-
8.712616800.7927-
8.764616900.4908-
8.816617000.7486-
8.868717101.377-
8.920717201.025-
8.972717301.1134-
9.020817400.271-
9.072817501.0931-
9.124817600.7956-
9.176917701.2794-
9.228917800.3901-
9.280917900.9033-
9.332918000.49340.1680
9.384918100.5104-
9.436918200.2879-
9.488918300.6565-
9.541018400.4523-
9.593018500.7147-
9.645018600.354-
9.697018700.277-
9.749018800.2066-
9.801018900.6588-
9.853119000.3789-
9.905119100.8525-
9.957119200.366-

Framework Versions

  • Python: 3.11.0
  • Sentence Transformers: 3.4.1
  • Transformers: 4.49.0
  • PyTorch: 2.6.0+cu124
  • Accelerate: 1.4.0
  • Datasets: 3.3.2
  • Tokenizers: 0.21.0

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",
}

CoSENTLoss

@online{kexuefm-8847,
    title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
    author={Su Jianlin},
    year={2022},
    month={Jan},
    url={https://kexue.fm/archives/8847},
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
XLMRobertaModel
Ревизия весов
a32d0ce

0 моделей