Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use AISE-TUDelft/java-expand-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AISE-TUDelft/java-expand-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AISE-TUDelft/java-expand-classifier") 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
Add SetFit model
Browse files- model_head.pkl +1 -1
- pytorch_model.bin +1 -1
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6991
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2acd090524dd53a968f6cc0a6072eb62c47806dda14b35a4a787cb55c1d70ae5
|
| 3 |
size 6991
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438016493
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f1dc28358bae6911e03c8d42d51de9b4ea5d2c7181e27ebc2c3192b6051a1a5
|
| 3 |
size 438016493
|