SentenceTransformer based on sentence-transformers/all-mpnet-base-v2
This is a sentence-transformers model finetuned from sentence-transformers/all-mpnet-base-v2. 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.
1from sentence_transformers import SentenceTransformer
23# Download from the 🤗 Hub4model = SentenceTransformer("JuanIgnacioSolerno/all-mpnet-base-v2-sts")5# Run inference6sentences =[7'AP Analyst',8'AP Specialist',9'ESCO Service Coordinator',10]11embeddings = model.encode(sentences)12print(embeddings.shape)13# [3, 768]1415# Get the similarity scores for the embeddings16similarities = model.similarity(embeddings, embeddings)17print(similarities.shape)18# [3, 3]
Training Details
Training Dataset
Unnamed Dataset
Size: 11,923 training samples
Columns: sentence1, sentence2, and score
Approximate statistics based on the first 1000 samples:
sentence1
sentence2
score
type
string
string
float
details
min: 3 tokens
mean: 7.17 tokens
max: 27 tokens
min: 4 tokens
mean: 4.0 tokens
max: 4 tokens
min: 0.0
mean: 0.04
max: 1.0
Samples:
sentence1
sentence2
score
Land Coordinator, Renewable Development
Energy Analyst
0.0
Customer Service Advocate - Remote within the state of Colorado
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}