Sentence Similarity
sentence-transformers
Safetensors
English
nomic_bert
legal
legal-retrieval
bns
indian-law
semantic-search
information-retrieval
custom_code
text-embeddings-inference
Instructions to use Ayushi054/CourtInsight-BNS-Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Ayushi054/CourtInsight-BNS-Encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Ayushi054/CourtInsight-BNS-Encoder", trust_remote_code=True) 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
Remove unnecessary training checkpoint files
Browse files
checkpoint-1320/config_sentence_transformers.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"__version__": {
|
| 3 |
-
"pytorch": "2.11.0+cu128",
|
| 4 |
-
"sentence_transformers": "6.0.1",
|
| 5 |
-
"transformers": "5.16.1"
|
| 6 |
-
},
|
| 7 |
-
"default_prompt_name": null,
|
| 8 |
-
"model_type": "SentenceTransformer",
|
| 9 |
-
"prompts": {
|
| 10 |
-
"document": "",
|
| 11 |
-
"query": ""
|
| 12 |
-
},
|
| 13 |
-
"similarity_fn_name": "cosine"
|
| 14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|