SentenceTransformer based on sentence-transformers/multi-qa-MiniLM-L6-cos-v1
This is a
sentence-transformers
model finetuned from
sentence-transformers/multi-qa-MiniLM-L6-cos-v1
. 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.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("bau0221/ptz_embedding")
# Run inference
sentences = [
'group1 put Abigail on the right side',
'Move Charlotte to the right on Camera 4',
'Set Evelyn at the right side on Camera 1',
]
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]
Training Details
Training Dataset
Unnamed Dataset
Size: 710 training samples
Columns:
query
,
pos
, and
neg
Approximate statistics based on the first 710 samples:
query
pos
neg
type
string
list
list
details
min: 5 tokens
mean: 11.46 tokens
max: 28 tokens
size: 3 elements
size: 3 elements
Samples:
query
pos
neg
Set camera 1 to track target A at bottom_right with fast speed.
['Set camera 1 to track target A at bottom_right with fast speed.', 'Set camera 1 to track target A at bottom_right with fast speed.', 'Set camera 1 to track target A at bottom_right with fast speed.']
['Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.', 'Turn camera 2 to the right for 5 seconds.']
['Set camera 1 to track target A at bottom_right with fast speed.', 'Set camera 3 to track target B at the top with slow speed.', 'Turn camera 2 to the right for 5 seconds.']
Set camera 3 to track target B at the top with slow speed.
['Set camera 3 to track target B at the top with slow speed.', 'Set camera 3 to track target B at the top with slow speed.', 'Set camera 3 to track target B at the top with slow speed.']
['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Turn camera 2 to the right for 5 seconds.']
Approximate statistics based on the first 71 samples:
query
pos
neg
type
string
list
list
details
min: 6 tokens
mean: 10.35 tokens
max: 12 tokens
size: 3 elements
size: 3 elements
Samples:
query
pos
neg
Camera 3 put Harper at the right side
['Camera 3 put Harper at the right side', 'Cam 3 put Harper at the right side', 'Camera 3 put Harper at the right side']
['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.']
Camera 4 put Amelia on the left side
['Camera 4 put Amelia on the left side', 'Cam 4 put Amelia on the left side', 'Camera 4 put Amelia on the left side']
['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.']
Group2 put Logan at the right side
['Group2 put Logan at the right side', 'Group2 put Logan at the right side', 'Group2 put Logan at the right side']
['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.']
@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
@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}
}
Runs of bau0221 ptz_embedding on huggingface.co
88
Total runs
13
24-hour runs
13
3-day runs
15
7-day runs
26
30-day runs
More Information About ptz_embedding huggingface.co Model
ptz_embedding huggingface.co
ptz_embedding huggingface.co is an AI model on huggingface.co that provides ptz_embedding's model effect (), which can be used instantly with this bau0221 ptz_embedding model. huggingface.co supports a free trial of the ptz_embedding model, and also provides paid use of the ptz_embedding. Support call ptz_embedding model through api, including Node.js, Python, http.
ptz_embedding huggingface.co is an online trial and call api platform, which integrates ptz_embedding's modeling effects, including api services, and provides a free online trial of ptz_embedding, you can try ptz_embedding online for free by clicking the link below.
bau0221 ptz_embedding online free url in huggingface.co:
ptz_embedding is an open source model from GitHub that offers a free installation service, and any user can find ptz_embedding on GitHub to install. At the same time, huggingface.co provides the effect of ptz_embedding install, users can directly use ptz_embedding installed effect in huggingface.co for debugging and trial. It also supports api for free installation.