Sentence Similarity
sentence-transformers
PyTorch
Safetensors
bert
feature-extraction
text-embeddings-inference
Instructions to use NetherlandsForensicInstitute/ARM64BERT-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use NetherlandsForensicInstitute/ARM64BERT-embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("NetherlandsForensicInstitute/ARM64BERT-embedding") 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
Squash typo
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ It is a BERT model (Devlin et al. 2019) although the typical Next Sentence Predi
|
|
| 22 |
This architecture has subsequently been finetuned for semantic search purposes. We have followed the procedure proposed by [S-BERT](https://www.sbert.net/examples/applications/semantic-search/README.html).
|
| 23 |
|
| 24 |
### What is the output of the model?
|
| 25 |
-
The model returns an
|
| 26 |
get an indication of which functions are similar to each other.
|
| 27 |
|
| 28 |
### How does the model perform?
|
|
|
|
| 22 |
This architecture has subsequently been finetuned for semantic search purposes. We have followed the procedure proposed by [S-BERT](https://www.sbert.net/examples/applications/semantic-search/README.html).
|
| 23 |
|
| 24 |
### What is the output of the model?
|
| 25 |
+
The model returns an embedding vector of 768 dimensions for each function that it's given. These embeddings can be compared to
|
| 26 |
get an indication of which functions are similar to each other.
|
| 27 |
|
| 28 |
### How does the model perform?
|