sentence-transformers tensorboard safetensors bert sentence-similarity feature-extraction generated_from_trainer dataset_size:41760 loss:MultipleNegativesRankingLoss arxiv:1908.10084 arxiv:1705.00652 base_model:BAAI/bge-small-en base_model:finetune:BAAI/bge-small-en model-index autotrain_compatible text-embeddings-inference endpoints_compatible region:us
---
base_model: BAAI/bge-small-en
library_name: sentence-transformers
metrics:
- pearson_cosine
- spearman_cosine
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:41760
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: What's the material of the 8700m's flange bolts?
  sentences:
  - 'Info for 3051s

    |Code|Description|Measurement type|

    |---|---|---|

    |E5|USA Explosion-proof, Dust Ignition-proof|• • ★|

    |I5|USA Intrinsically Safe; Nonincendive|• • ★|

    |IE(1)|USA FISCO Intrinsic Safety|• • ★|

    |K5|USA Explosion-proof, Dust Ignition-proof, Intrinsically Safe, Division 2 (combination
    of E5 and I5)|• • ★|

    |E6(2)|Canada Explosion-proof, Dust Ignition-proof, Division 2|• • ★|

    |I6|Canada Intrinsically Safe|• • ★|

    |IF(1)|Canada FISCO Intrinsic Safety|• • ★|

    |K6(2)|Canada Explosion-proof, Dust Ignition-proof, Intrinsically Safe, Division
    2 (combination of E6 and I6)|• • ★|

    |E7|IECEx Flameproof, Dust Ignition-proof|• • ★|

    |I7|IECEx Intrinsic Safety|• • ★|

    |IG(1)|IECEx FISCO Intrinsic Safety|• • ★|

    |N7|IECEx Type n|• • ★|

    |K7|IECEx Flameproof, Dust Ignition-proof, Intrinsic Safety, Type n (combination
    of E7, I7, and N7)|• • ★|

    |E3|China Flameproof|• • ★|

    |I3|China Intrinsic Safety|• • ★|

    |EP|Republic of Korea Flameproof|• • ★|

    |IP|Republic of Korea Intrinsic Safety|• • ★|'
  - 'Info for 3051s

    | |±(0.050 + 0.065 [URL/RDG])% of reading greater than 3:1|±(0.035% URL + 0.125%
    span) from 30:1 to 100:1|

    |DP Range 5|N/A|±(0.025% URL + 0.125% span) from 1:1 to 30:1|

    | | |±(0.035% URL + 0.125% span) from 30:1 to 100:1|

    |DP Range 1|N/A|±(0.1% URL + 0.25% span) from 1:1 to 50:1|

    |AP and GP|±(0.009% URL + 0.025% span) from 1:1 to 10:1;|±(0.0125% URL + 0.0625%
    span) from 1:1 to 10:1;|

    | |±(0.018% URL + 0.08% span) for >10:1(3)|±(0.025% URL + 0.125% span) for >10:1
    to 100:1|'
  - 'Info for 8700m

    |(400) ASME 600 FULL, WN / RTJ|8705 160J7|848|848|848|686|532|326|326|432|80|584|
    |

    |(450) ASME 600 FULL, WN / RF|8705 180D7|886|886|886|743|596|358|358|508|80|696|
    |

    |(450) ASME 1500 WN / RF|8705 180DM|174|174|1174|94|596|358|358|533|86|2003| |

    |(450) ASME 600 FULL, WN / RTJ|8705 180J7|890|890|890|743|596|358|358|492|80|701|
    |

    |(500) ASME 600 FULL, WN / RF|8705 200D7|963|963|963|883|647|384|384|559|80|860|
    |

    |(500) ASME 1500 WN / RF|8705 200DM|1290|1290|1290|984|647|384|384|536|86|2485|
    |

    |(500) ASME 600 FULL, WN / RTJ|8705 200J7|971|971|971|883|647|384|384|533|80|870|
    |

    |(600) ASME 600 FULL, WN / RF|8705 240D7|1067|1067|1067|940|763|442|441|660|80|1292|
    |

    |(600) ASME 1500 WN / RF|8705 240DM|1472|1472|1472|1680|763|442|441|648|86|4002|
    |

    |(600) ASME 600 FULL, WN / RTJ|8705 240J7|1077|1077|1077|940|763|442|441|635|80|1311|
    |

    ---

    # Figure 21: 8705-M Flanged Sensor 1/2 -in. to 36-in. (DN 15mm to 900mm) M2/M4
    coil housing (P ≤ Class 2500)'
- source_sentence: Can a 3051s measure a temperature span of less than 28 °C?
  sentences:
  - 'Info for 3051s

    In-line sensor module (3051S_T, 3051SAM_ _T or E)


    - Ranges 1-4: 11000 psi (758.42 bar)

    - Range 5: 26000 psi (1792.64 bar)


    # Temperature limits


    # Ambient


    - –40 to 185 °F (–40 to 85 °C)

    - With LCD display(3): –40 to 176 °F (–40 to 80 °C)

    - With option code P0: –20 to 185 °F (–28 to 85 °C)

    - With option code BR6: –76 to 185 °F (–60 to 85 °C)

    - Rosemount 3051SMV with SP Range 5: –20 to 185 °F (–28 to 85 °C)


    # Storage


    - –50 to 185 °F (–46 to 85 °C)

    - With LCD display: –40 to 185 °F (–40 to 85 °C)

    - With wireless output: –40 to 185 °F (–40 to 85 °C)

    - With option code BR6: –76 to 185 °F (–60 to 85 °C)


    (3) LCD display may not be readable and LCD display updates will be slower at
    temperatures below –4 °F (–20 °C) to –40 °F (–40 °C). LCD display may be ordered
    with option code BR6, but the display is not functional below –40 °F (–40 °C).
    Functionality recovers as temperature reaches –4 °F (–20 °C) again.

    ---

    # Process temperature limits


    # At atmospheric pressures and above:'
  - 'Info for 8700m

    |(80) Jis 82200 I0K , So / RF|8705 030CP|7.87| |7.75|7.84|7.87| |7.28|1.21|5.82|5.97|4.96|1.70|28|
    | | |

    |3 (80) JIS B22oo 20k _ So / RF|8705 030CR|7.87| |1.75|7.84|7.87| |7.87|1.21|5.82|5.97|5.20|1.70|34|
    | | |

    |(80) JIS 82200 40k , So / RF|8705 030cT|12.40| |12.29|12.39|12.40| |8.27|1.21|5.82|5.97|5.5|1.70|52|
    | | |

    |(80) As4087 PNI6_ So / RF|8705 030CU|7.87| |1.75|7.84|7.87| |1.28|1.21|5.82|5.97|4.80|1.70|20|
    | | |

    |(80) AS4087 Pn2 | , So / RF|8705 030Cw|7.87| |1.75|7.84|7.87| |8.07|1.21|5.82|5.97|5.55|1.70|56|
    | | |

    |(80) AS4087 Pn35 , So / RF|8705 030CY|7.87| |1.75|7.84|7.87| |8.07|1.21|5.82|5.97|5.55|1.70|109|
    | | |

    |(100) ASME 150 So / RF|8705 040c| | | |9.84|9.84|9.69|9.78|9.84|9.84|9.00|1.91|6.17|6.32|6.19|1.70|45|

    |(100) ASME 300 So / RF|8705 040C3|10.88|10.88|10.13|10.82|10.88|10.88|10.00|1.91|6.17|6.32|6.19|1.70|65|
    | | |

    |(100) ASME 600 DERAT , So / RF|8705 040c6|12.83|12.83|12.10|12.79|12.83| |10.75|1.90|6.17|6.32|6.19|1.70|94|
    | | |'
  - 'Info for 3051s

    Process temperature RTD interface (3051SMV_ _1 or 3, 3051SF_1, 3, 5 or 7)


    Minimum span = 50 °F (28 °C)

    ---

    # DP span considerations for ERS applications


    It is recommended that the DP rangedown (operating pressure/DP span) for ERS applications
    not exceed 100:1. Consult with Emerson sales representative when considering a
    Rosemount 3051S ERS System for applications beyond 100:1 rangedown.


    # Service


    Rosemount 3051S, 3051SMV_P, 3051SAM, and 3051SF_5, 6, 7, or D (Direct Process
    Variable Output)


    Liquid, gas, and vapor applications


    Rosemount 3051SAL


    Liquid level applications


    Rosemount 3051SMV_M and 3051SF_1, 2, 3, or 4 (Mass and Energy Flow Output)


    # Note


    For option code A: 4-20mA HART® only. Some fluid types are only supported by certain
    measurement types.


    # Table 25: Fluid Compatibility with Pressure and Temperature Compensation'
- source_sentence: Do I need to order a specific option to get a NACE certificate
    for the 3051s transmitter?
  sentences:
  - 'Info for 3051s

    |A|B|

    |---|---|

    |5.17 (131)|4.51 (114)|

    |4.20 (107)|5.17 (131)|

    |4.20 (107)|8.57 (217.7)|

    |8.04 (204)|3.62 (92)|

    |1.50 (38)| |


    A. Coplanar


    B. In-line


    C. + Direct mount extension length

    ---

    # Figure 24: Rosemount 3051S Scalable Level Transmitter with RT Seal


    Note: Seal dimensions and pressure ratings can be found in the Rosemount DP Level
    Transmitters and 1199 Remote Seals Product Data Sheet.


    |A|B|

    |---|---|

    |5.17 (131)|4.51 4.20 5.17 (114) (107) (131) (107)|

    |8.57 (217.7)|8.04 (204)|

    |3.62 (92)|1.50 (38)|


    A. Coplanar


    B. In-line


    C. + Direct mount extension length

    ---

    # Figure 25: Rosemount 3051S Scalable Level Transmitter with SS Seal


    Note: Seal dimensions and pressure ratings can be found in the Rosemount DP Level
    Transmitters and 1199 Remote Seals Product Data Sheet.


    |A|B|

    |---|---|

    |5.17 (131)|4.51 4.20 5.17 4.20 (114) (107) (131) (107)|

    |8.57 (217.7)|8.04 (204)|

    |3.62 (92)|1.50 (38)|


    A. Coplanar


    B. In-line'
  - 'Info for 8700m

    (1) ASME B16.47 Series A

    ---

    # Rosemount 8711-M/L Wafer Sensors


    The flangeless design of the wafer sensor makes it an economical, compact, and
    lightweight alternative to flanged magnetic flowmeters. Alignment spacers are
    provided with every 8711-M/L which help center the sensor in the process line
    simplifying installation.


    Note


    The starred (★) offerings represent the most common options, and should be selected
    for best delivery.


    # Model code structure


    Figure 5: Guide to model code structure


    |8711 S S A 040 L 1 K5G5MK3PDP05Q4WG|8711 S S A 040 L 1 K5G5MK3PDP05Q4WG|8711
    S S A 040 L 1 K5G5MK3PDP05Q4WG|8711 S S A 040 L 1 K5G5MK3PDP05Q4WG|8711 S S A
    040 L 1 K5G5MK3PDP05Q4WG|8711 S S A 040 L 1 K5G5MK3PDP05Q4WG|8711 S S A 040 L
    1 K5G5MK3PDP05Q4WG|8711 S S A 040 L 1 K5G5MK3PDP05Q4WG|

    |---|

    |A|B|C|D|E|F|G|H|

    |Base model|Lining material|Electrode material|Electrode type|Line size|Transmitter
    mounting configuration|Mating pipe flange pressure rating|Options (Table 15)|'
  - 'Info for 3051s

    |2|Direct mount single seal system|All welded|N/A|N/A|★|

    |---|---|---|---|---|---|

    |3|Tuned-system assembly - one direct mount and one remote mount seal with capillary|Welded-repairable|N/A|N/A|★|

    |4|Tuned-system assembly - one direct mount and one remote mount seal with capillary|All
    welded|N/A|N/A|★|

    |5|Balanced system - two remote mount seals with equal lengths of capillary|Welded-repairable|N/A|N/A|★|

    |B|Balanced system - two remote mount seals with equal lengths of capillary|All
    welded|N/A|N/A|★|

    |7|Remote mount single seal system with capillary - 316L low side transmitter
    isolator|Welded-repairable|Remote mount single seal system with capillary|All
    welded|★|

    |8|Remote mount single seal system with capillary (legacy design)|316L low side
    transmitter isolator - All welded|N/A|N/A|★|

    |C|Remote mount single seal system with capillary - 316L low side transmitter
    isolator|All welded|N/A|N/A|★|'
- source_sentence: Is the 3051s transmitter compatible with transmitter output code
    X or F?
  sentences:
  - 'Info for 3051s

    # Bolting material


    |Code|Description|

    |---|---|

    |L4|Austenitic 316 SST bolts ★|


    # Display type (ERS primary only)


    This is not available with configuration type code S.


    |Code|Description|

    |---|---|

    |M5|Plantweb™ LCD display ★|

    |M7(1)|Remote mount LCD display and interface, Plantweb housing, no cable, SST
    bracket ★|

    |M8|Remote mount LCD display and interface, Plantweb housing, 50 ft. (15.2 m)
    cable, SST bracket ★|

    |M9|Remote mount LCD display and interface, Plantweb housing, 100 ft. (30.5 m)
    cable, SST bracket ★|


    (1) See the Rosemount 3051S Reference Manual for cable requirements. Contact an
    Emerson representative for additional information.


    # Pressure testing


    |Code|Description|

    |---|---|

    |P1|Hydrostatic testing with certificate|


    # Special cleaning


    This is not available with process connection code A11.


    |Code|Description|

    |---|---|

    |P2|Cleaning for special services|

    |P3|Cleaning for less than 1 PPM Chlorine/Fluorine|

    ---

    # Calibration certification'
  - 'Info for 3051s

    (1) Changes the transmitter orientation of the assembly. For more information,
    refer to the J2, J3 options for B31 compliant assembly in the product drawing.

    ---

    # Material conformance


    Materials of construction comply with metallurgical requirements within NACE MR0175/ISO
    15156 for sour oil field production environments. Environmental limits apply to
    certain materials. Consult latest standard for details. Selected materials also
    conform to NACE MR0103 for sour refining environments.


    Selecting J5 option will provide Alloy C-276 transmitter diaphragms.


    # Country certification


    |Code|Description|Measurement type|D|1-7|

    |---|---|---|---|---|

    |J6|European Pressure Directive (PED)|•|•|★|

    |J1|Canadian Registration|•|•| |


    # Transmitter calibration certification


    |Code|Description|Measurement type|D|1-7|

    |---|---|---|---|---|

    |Q4|Calibration certificate for transmitter|•|•|★|


    # Quality certification for safety


    For option code A: 4–20 mA HART® only. Not available with housing code 7J.'
  - 'Info for 3051s

    # Ordering information: Rosemount 3051SF DP Flow Meters


    - Integrates the Rosemount 3051S with Rosemount’s industry leading primary elements
    to create one complete flow meter assembly.

    - Fully assembled, configured and leak tested for out-of-the-box installation.

    - Reduce installed costs by replacing ten parts traditionally used for a DP Flow
    installation with one flow meter.

    - Reduce straight pipe requirements, lower permanent pressure loss, and achieve
    accurate measurement in small line sizes.


    # Rosemount 3051S Electronic Remote Sensor (ERS™) System


    # Rosemount 3051SAM Transmitter


    # Ordering information: Rosemount 3051SAM Transmitter for ERS Applications


    # Rosemount 3051SAL Transmitter


    # Ordering information: Rosemount 3051SAL Transmitter for ERS Applications'
- source_sentence: Can the 3051s transmitter be ordered with a G½ conduit entry size?
  sentences:
  - 'Info for 8700m

    # Process connections


    |ASME B16.5|Class 150 and Class 300: ½ inch to 24 inch (15 mm to 600 mm)|

    |---|---|

    | |Class 600: ½ inch to 24 inch (15 mm to 600 mm)(1)|

    | |Class 900: 1 inch to 12 inch (25 mm to 300 mm)(2)|

    | |Class 1500: 1½ inch to 12 inch (40 mm to 300 mm)(2)|

    | |1½ inch to 6 inch (40 mm to 150 mm)(2)|

    |ASME B16.47|Class 150: 30 inch to 36 inch (750 mm to 900 mm)|

    | |Class 300: 30 inch to 36 inch (750 mm to 900 mm)|

    |AWWA C207|Class D: 30 inch and 36 inch (750 mm and 900 mm)|

    |MSS SP44|Class 150: 30 inch to 36 inch (750 mm to 900 mm)|

    |EN 1092-1|PN10: 200 mm to 900 mm (8 inch to 36 inch)|

    | |PN16: 100 mm to 900 mm (4 inch to 36 inch)|

    | |PN25: 200 mm to 900 mm (8 inch to 36 inch)|

    | |PN40: 15 mm to 900 mm (½ inch to 36 inch)|

    |AS2129|Table D and Table E: 15 mm to 900 mm (½ inch to 36 inch)|

    |AS4087|PN16, PN21, PN35: 50 mm to 600 mm (2 inch to 24 inch)|

    |JIS B2220|10K, 20K, 40K: 15 mm to 200 mm (½ inch to 8 inch)|'
  - 'Info for 8700m

    |2 (50)|ASME 600 DERAT. So / RF|8705 020C6|223|223|221|224|223| |165|132|122|126|92|
    |

    |2 (50)|Din Pn40 So / RF|8705 OzocH|200|200|198|201|200|200|165|132|122|126|102|
    |

    |2 (50)|AS2129 TABLE D, So / RF| |8705|200| |198|201|200| |50|32|122|126|90|

    |2 (50)|AS2129 TABLE E, So / RF|8705 020CL|200| |198|201|200| |50|132|122|126|90|
    |

    |2 (50)|JIS B220 10K, So / RF|8705 02CP|200| |198|201|200| |155|132|122|126|96|
    |

    |2 (50)|JIS B220 20K, So / RF|8705 O2OCR|200| |198|201|200| |55|132|122|126|96|
    |

    |2 (50)|JIS B220 40K, So / RF|8705 O20CI|223| |22|224|223| |165|32|122|126|105|
    |

    |2 (50)|AS4087 Pni6_ Sq / RF|8705 020CU|200| |198|201|200| |150|132|122|126|90|
    |

    |2 (50)|AS4087 Pn2| , So / RF|8705 020CW|200| |198|201|200| |165|132|122|126|103|
    |

    |2 (50)|AS4087 Pn35 , So / RF|8705 O20cy|200| |198|201|200| |65|132|122|126|103|
    |

    |2.5 (65)|ASME 150 So / RF|8705 025C1|199| |197| |78|160|136|140|105|12| | |

    |2.5 (65)|ASME 300 So / RF|8705 025c3|199| |197| |19|60|136|140|105|15| | |'
  - 'Info for 8700m

    # Transmitter selection


    |Transmitter|General characteristics|

    |---|---|

    |8732|- Integral and remote configurations available

    - HART®/Analog and Pulse outputs available

    - FOUNDATION™ Fieldbus and Pulse output available

    - Modbus® RS-485 and Pulse output available

    - Advanced Diagnostics available

    - LCD display, optional (with optional optical switch local operator interface)(1)

    - Three independent totalizers (A/B/C)

    - Two discrete channels (optional)

    |

    |8712|- Wall mount configuration

    - HART/Analog and Pulse outputs available

    - Modbus RS-485 and Pulse output available

    - FOUNDATION™ Fieldbus and pulse output available

    - Advanced Diagnostics available

    - Local LCD display, optional (with optional 15 button tactile key pad(1))

    - Three independent totalizers (A/B/C)

    - Two discrete channels (optional)

    |


    (1) HART or Modbus protocol only.


    # Contents'
model-index:
- name: SentenceTransformer based on BAAI/bge-small-en
  results:
  - task:
      type: semantic-similarity
      name: Semantic Similarity
    dataset:
      name: valid
      type: valid
    metrics:
    - type: pearson_cosine
      value: 0.8612305441989659
      name: Pearson Cosine
    - type: spearman_cosine
      value: 0.7356759775404152
      name: Spearman Cosine
---

# SentenceTransformer based on BAAI/bge-small-en

This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-small-en](https://huggingface.co/BAAI/bge-small-en). It maps sentences & paragraphs to a 384-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
- **Base model:** [BAAI/bge-small-en](https://huggingface.co/BAAI/bge-small-en) <!-- at revision 2275a7bdee235e9b4f01fa73aa60d3311983cfea -->
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 dimensions
- **Similarity Function:** Cosine Similarity
<!-- - **Training Dataset:** Unknown -->
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->

### Model Sources

- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)

### Full Model Architecture

```
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()
)
```

## 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("sentence_transformers_model_id")
# Run inference
sentences = [
    'Can the 3051s transmitter be ordered with a G½ conduit entry size?',
    'Info for 8700m\n|2 (50)|ASME 600 DERAT. So / RF|8705 020C6|223|223|221|224|223| |165|132|122|126|92| |\n|2 (50)|Din Pn40 So / RF|8705 OzocH|200|200|198|201|200|200|165|132|122|126|102| |\n|2 (50)|AS2129 TABLE D, So / RF| |8705|200| |198|201|200| |50|32|122|126|90|\n|2 (50)|AS2129 TABLE E, So / RF|8705 020CL|200| |198|201|200| |50|132|122|126|90| |\n|2 (50)|JIS B220 10K, So / RF|8705 02CP|200| |198|201|200| |155|132|122|126|96| |\n|2 (50)|JIS B220 20K, So / RF|8705 O2OCR|200| |198|201|200| |55|132|122|126|96| |\n|2 (50)|JIS B220 40K, So / RF|8705 O20CI|223| |22|224|223| |165|32|122|126|105| |\n|2 (50)|AS4087 Pni6_ Sq / RF|8705 020CU|200| |198|201|200| |150|132|122|126|90| |\n|2 (50)|AS4087 Pn2| , So / RF|8705 020CW|200| |198|201|200| |165|132|122|126|103| |\n|2 (50)|AS4087 Pn35 , So / RF|8705 O20cy|200| |198|201|200| |65|132|122|126|103| |\n|2.5 (65)|ASME 150 So / RF|8705 025C1|199| |197| |78|160|136|140|105|12| | |\n|2.5 (65)|ASME 300 So / RF|8705 025c3|199| |197| |19|60|136|140|105|15| | |',
    'Info for 8700m\n# Process connections\n\n|ASME B16.5|Class 150 and Class 300: ½ inch to 24 inch (15 mm to 600 mm)|\n|---|---|\n| |Class 600: ½ inch to 24 inch (15 mm to 600 mm)(1)|\n| |Class 900: 1 inch to 12 inch (25 mm to 300 mm)(2)|\n| |Class 1500: 1½ inch to 12 inch (40 mm to 300 mm)(2)|\n| |1½ inch to 6 inch (40 mm to 150 mm)(2)|\n|ASME B16.47|Class 150: 30 inch to 36 inch (750 mm to 900 mm)|\n| |Class 300: 30 inch to 36 inch (750 mm to 900 mm)|\n|AWWA C207|Class D: 30 inch and 36 inch (750 mm and 900 mm)|\n|MSS SP44|Class 150: 30 inch to 36 inch (750 mm to 900 mm)|\n|EN 1092-1|PN10: 200 mm to 900 mm (8 inch to 36 inch)|\n| |PN16: 100 mm to 900 mm (4 inch to 36 inch)|\n| |PN25: 200 mm to 900 mm (8 inch to 36 inch)|\n| |PN40: 15 mm to 900 mm (½ inch to 36 inch)|\n|AS2129|Table D and Table E: 15 mm to 900 mm (½ inch to 36 inch)|\n|AS4087|PN16, PN21, PN35: 50 mm to 600 mm (2 inch to 24 inch)|\n|JIS B2220|10K, 20K, 40K: 15 mm to 200 mm (½ inch to 8 inch)|',
]
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.*
-->

## Evaluation

### Metrics

#### Semantic Similarity

* Dataset: `valid`
* Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)

| Metric              | Value      |
|:--------------------|:-----------|
| pearson_cosine      | 0.8612     |
| **spearman_cosine** | **0.7357** |

<!--
## 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: 41,760 training samples
* Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
* Approximate statistics based on the first 1000 samples:
  |         | sentence_0                                                                         | sentence_1                                                                           | label                                                          |
  |:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:---------------------------------------------------------------|
  | type    | string                                                                             | string                                                                               | float                                                          |
  | details | <ul><li>min: 12 tokens</li><li>mean: 20.93 tokens</li><li>max: 46 tokens</li></ul> | <ul><li>min: 16 tokens</li><li>mean: 304.51 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.25</li><li>max: 1.0</li></ul> |
* Samples:
  | sentence_0                                                                                   | sentence_1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | label            |
  |:---------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
  | <code>How much does the 8705 240CE model weigh in the DIN PNI6 So / RF setup?</code>         | <code>Info for 3051s<br># Process connection size<br><br>|Code|ASME B16.5|EN 1092-1/GOST 33259-15|JIS B2238|<br>|---|---|---|---|<br>|2|1-in.|N/A|25A|<br>|4|1½-in.|N/A|40A|<br><br># Flange/pressure rating<br><br># Materials of construction<br><br>|Code|Isolating diaphragm|Upper housing|Flange|<br>|---|---|---|---|<br>|CA(1)|316L SST|316L SST|CS|<br>|DA|316L SST|316L SST|316 SST|<br>|CB(1)|Alloy C-276|316L SST|CS|<br>|DB|Alloy C-276|316L SST|316 SST|<br>|D5|Duplex 2507 SST|316L SST|316 SST|<br><br>(1) Not available with stud bolt design.<br><br># Flushing connection ring material (lower housing)<br><br>If no intermediate gasket material is selected, a Klingersil C-4401 aramid fiber gasket will be supplied. Lower housings are shipped loose and are not included in option P1 for hydrostatic pressure testing.<br><br>|Code|Description|<br>|---|---|<br>|A|316L SST|<br>|B|Alloy C-276|<br>---<br># Flushing connection quantity and size</code>                                              | <code>0.0</code> |
  | <code>What type of instrument flange is used for the Rosemount 3051S_T with F11 code?</code> | <code>Info for 3051s<br># Electrical connections<br><br>½–14 NPT, G½, and M20 × 1½ conduit. HART® interface connections fixed to terminal block for Output code A and X.<br><br># Process connections<br><br>Coplanar sensor module (Rosemount 3051S_C, 3051SMV, 3051SF, 3051SAM_ _G or A)<br><br>|Standard|¼–18 NPT on 2⅛-in. centers|<br>|---|---|<br>|Flange Adapters|½–14 NPT and RC½ on 2-in. (50.8 mm), 2⅛-in. (54.0 mm), or 2¼-in. (57.2 mm) centers|<br>---<br># In-line sensor module (Rosemount 3051S_T, 3051SAM_ _T or E)<br><br>|Standard|½–14 NPT female|<br>|---|---|<br>|F11 Code|Non-threaded instrument flange (available in SST for sensor ranges 1–4 only)|<br>|G11 Code|G½ A DIN 16288 male (available in SST for sensor ranges 1–4 only)|<br>|H11 Code|Autoclave type F-250C (Pressure relieved 9⁄16–18 gland thread; ¼ OD high pressure tube 60° cone; available in SST for sensor range 5 only)|<br><br># Level transmitter (Rosemount 3051SAL)</code>                                                   | <code>1.0</code> |
  | <code>I need info on the 8700m sensor with ASME -1500 WN / RTJ, can you help?</code>         | <code>Info for 8700m<br>|(350) JIS B2200 20k, So / RF|8705 140CR|23.16| |22.96|23.05|23.08| |21.26|18.92|1.83|1.82|17.32|2.00|385|<br>|(350) JIS B2200 40k, So / RF|8705 140CT|25.74| |25.54|25.64| |23.03|18.92|1.83|11.82|17.91|2.00|702| |<br>|(350) AS4087 Pni6 So / RF|8705 140CU|20.91| |20.71|20.80|20.83| |20.67|18.92|1.83|1.82|17.24|2.00|219|<br>|(350) AS4087 Pn2 | So / RF|8705 140CW|20.91| |20.71|20.80|20.83| |21.65|18.92|1.83|1.82|18.07|2.00|294|<br>|(350) AS4087 Pn35, So / RF|8705 140CY|23.16| |22.96|23.05|23.08| |21.65|18.92|1.83|1.82|16.50|2.00|497|<br>|(400) ASME 150 So / RF|8705 160C|23.88|23.90|23.68|23.77|23.80| |23.50|20.94|12.84|12.83|18.50|3.13|388|<br>|(400) ASME 300 So / RF|8705 160C3|26.13| |25.93|26.02|26.05| |25.50|20.94|12.84|12.83|18.50|3.13|705|<br>|(400) ASME 600 DERAT, So / RF|8705 160C6|29.24| | |27.00|20.94|12.84|12.83|18.50|3.13| |102| | |<br>|(400) DN PNI O So /RF|8705 16OCD|23.88|23.90|23.68|23.77|23.80| |22.24|20.94|12.84|12.83|18.98|3.13|38|</code> | <code>0.0</code> |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }
  ```

### Training Hyperparameters
#### Non-Default Hyperparameters

- `eval_strategy`: steps
- `per_device_train_batch_size`: 64
- `per_device_eval_batch_size`: 64
- `num_train_epochs`: 6
- `multi_dataset_batch_sampler`: round_robin

#### 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`: 64
- `per_device_eval_batch_size`: 64
- `per_gpu_train_batch_size`: None
- `per_gpu_eval_batch_size`: None
- `gradient_accumulation_steps`: 1
- `eval_accumulation_steps`: None
- `torch_empty_cache_steps`: None
- `learning_rate`: 5e-05
- `weight_decay`: 0.0
- `adam_beta1`: 0.9
- `adam_beta2`: 0.999
- `adam_epsilon`: 1e-08
- `max_grad_norm`: 1
- `num_train_epochs`: 6
- `max_steps`: -1
- `lr_scheduler_type`: linear
- `lr_scheduler_kwargs`: {}
- `warmup_ratio`: 0.0
- `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`: round_robin

</details>

### Training Logs
| Epoch  | Step | Training Loss | valid_spearman_cosine |
|:------:|:----:|:-------------:|:---------------------:|
| 0.2496 | 163  | -             | 0.7010                |
| 0.4992 | 326  | -             | 0.7209                |
| 0.7489 | 489  | -             | 0.7259                |
| 0.7657 | 500  | 3.9185        | -                     |
| 0.9985 | 652  | -             | 0.7252                |
| 1.0    | 653  | -             | 0.7253                |
| 1.2481 | 815  | -             | 0.7285                |
| 1.4977 | 978  | -             | 0.7321                |
| 1.5314 | 1000 | 3.7874        | -                     |
| 1.7473 | 1141 | -             | 0.7300                |
| 1.9969 | 1304 | -             | 0.7333                |
| 2.0    | 1306 | -             | 0.7332                |
| 2.2466 | 1467 | -             | 0.7304                |
| 2.2971 | 1500 | 3.7241        | -                     |
| 2.4962 | 1630 | -             | 0.7293                |
| 2.7458 | 1793 | -             | 0.7357                |


### Framework Versions
- Python: 3.11.11
- Sentence Transformers: 3.4.1
- Transformers: 4.48.3
- PyTorch: 2.5.1+cu124
- Accelerate: 1.3.0
- Datasets: 3.3.2
- Tokenizers: 0.21.0

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

#### MultipleNegativesRankingLoss
```bibtex
@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    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},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}
```

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