---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:193915
- loss:CategoricalContrastiveLoss
widget:
- source_sentence: 科目:コンクリート。名称:均しコンクリート。
sentences:
- 科目:コンクリート。名称:設備基礎コンクリート。摘要:FC21N/mm2 スランプ18。備考:代価表 0036。
- 科目:コンクリート。名称:機械基礎コンクリート。摘要:FC21N/mm2 スランプ15。備考:代価表 0045。
- 科目:コンクリート。名称:コンクリート打設手間。摘要:防水保護コン 人力打設工作物の基礎等 S15~S18- -。備考:代価表 0013。
- source_sentence: 科目:コンクリート。名称:均しコンクリート。
sentences:
- 科目:コンクリート。名称:普通コンクリート。摘要:JIS A5308 FC=21 S15粗骨材20膨張剤 デンカパワーCSA20㎏/m2。備考:代価表 0061屋内土間コンクリート。
- 科目:コンクリート。名称:普通コンクリート。摘要:FC=24 S15粗骨材基礎部。備考:代価表 0065。
- 科目:タイル。名称:段床タイル張り。
- source_sentence: 科目:コンクリート。名称:普通コンクリート。
sentences:
- 科目:コンクリート。名称:コンクリート打設手間。摘要:捨てコンクリート ポンプ打設30m3/回程度 S15~S18- 圧送費、基本料別途。備考:B0-434215
No.1 市場。
- 科目:コンクリート。名称:コンクリート打設手間。摘要:躯体 ポンプ打設50m3/回未満 S15~S18標準階高 圧送費、基本料別途。備考:B0-434215
3101新営地上部コンクリート。
- 科目:コンクリート。名称:普通コンクリート。摘要:JIS A5308 FC=21 S15粗骨材20。備考:B0-114112 No.1 参資基礎部コンクリート。
- source_sentence: 科目:コンクリート。名称:擁壁部コンクリート。
sentences:
- 科目:コンクリート。名称:擁壁部コンクリート。摘要:FC36 S15粗骨材20 高性能AE減水剤躯体防水材 ベストンA同等品以上。備考:代価表 0105。
- 科目:コンクリート。名称:コンクリート打設手間。摘要:躯体 ポンプ打設50m3/回未満 S15~S18標準階高 圧送費、基本料別途。備考:B0-434215
3101新営高流動コンクリート(免震下部基礎)。
- 科目:コンクリート。名称:免震下部コンクリート打設手間。摘要:基礎部 ポンプ打設100m3/回以上 S15~S18- 圧送費、基本料別途。備考:代価表 0115。
- source_sentence: 科目:タイル。名称:階段蹴上タイル。
sentences:
- 科目:コンクリート。名称:コンクリート(個別)。摘要:F0=24N/mm2 S=15 徳島1。備考:B1-111111 H2906BD 個別基礎部躯体コンクリート。
- 科目:コンクリート。名称:免震EXP_J用充填コンクリート。摘要:FC18N/mm2 スランプ18。備考:代価表 0064。
- 科目:タイル。名称:屋外階段A段床床タイルA。
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---
# SentenceTransformer
This is a [sentence-transformers](https://www.SBERT.net) model trained. It maps sentences & paragraphs to a 768-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:** 768 dimensions
- **Similarity Function:** Cosine Similarity
### 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': False}) with Transformer model: BertModel
(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})
)
```
## 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("Detomo/cl-nagoya-sup-simcse-ja-nss-v_1_0_7_13")
# Run inference
sentences = [
'科目:タイル。名称:階段蹴上タイル。',
'科目:タイル。名称:屋外階段A段床床タイルA。',
'科目:コンクリート。名称:免震EXP_J用充填コンクリート。摘要:FC18N/mm2 スランプ18。備考:代価表 0064。',
]
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]
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 193,915 training samples
* Columns: sentence1
, sentence2
, and label
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | label |
|:--------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------|
| type | string | string | int |
| details |
科目:コンクリート。名称:コンクリートポンプ圧送。
| 科目:コンクリート。名称:ポンプ圧送。
| 1
|
| 科目:コンクリート。名称:コンクリートポンプ圧送。
| 科目:コンクリート。名称:コンクリートポンプ圧送。摘要:30m3以上 50m3/回未満基本料金別途加算。備考:B0-434226 No.1 市場免震装置下部コン。
| 2
|
| 科目:コンクリート。名称:コンクリートポンプ圧送。
| 科目:コンクリート。名称:コンクリートポンプ圧送基本料金。
| 0
|
* Loss: sentence_transformer_lib.categorical_constrastive_loss.CategoricalContrastiveLoss
### Training Hyperparameters
#### Non-Default Hyperparameters
- `per_device_train_batch_size`: 256
- `per_device_eval_batch_size`: 256
- `learning_rate`: 1e-05
- `weight_decay`: 0.01
- `num_train_epochs`: 1
- `warmup_ratio`: 0.2
- `fp16`: True
#### All Hyperparameters