Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
text-embeddings-inference
Instructions to use dwulff/mpnet-personality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dwulff/mpnet-personality with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dwulff/mpnet-personality") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ tags:
|
|
| 10 |
|
| 11 |
# dwulff/mpnet-personality
|
| 12 |
|
| 13 |
-
This is a [sentence-transformers](https://www.SBERT.net) model that maps personality-related items or texts into a 768-dimensional dense vector space and can be used for many tasks in personality psychology.
|
| 14 |
|
| 15 |
The model has been generated by fine-tuning [all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) using unsigned empirical correlations of 200k pairs of personality items. The model, therefore, encodes the content of personality-related texts independent of the direction (e.g., negation).
|
| 16 |
|
|
|
|
| 10 |
|
| 11 |
# dwulff/mpnet-personality
|
| 12 |
|
| 13 |
+
This is a [sentence-transformers](https://www.SBERT.net) model that maps personality-related items or texts into a 768-dimensional dense vector space and can be used for many tasks in personality psychology, such as clustering personality items and scales, mapping personality scales to personality constructs, and others.
|
| 14 |
|
| 15 |
The model has been generated by fine-tuning [all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) using unsigned empirical correlations of 200k pairs of personality items. The model, therefore, encodes the content of personality-related texts independent of the direction (e.g., negation).
|
| 16 |
|