Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use simplexico/legalevalrr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use simplexico/legalevalrr with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("simplexico/legalevalrr") 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
Download model_head.pkl from simplexico/legalevalrr: direct link, hf CLI and curl.
- Browser
- Download file 80.8 kB
-
https://huggingface.co/simplexico/legalevalrr/resolve/main/model_head.pkl
- Command line
-
hf download hf://simplexico/legalevalrr/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/simplexico/legalevalrr/resolve/main/model_head.pkl
80.8 kB
- Xet hash:
- 72948a64d0e87c1947f4a61ab003ccf425fbca35d1adabd33a0a4b1c5e33628e
- Size of remote file:
- 80.8 kB
- SHA256:
- 64bd2aff6d7d6625c3febb604ef731c6500c1fc540bbac5bb21d9244294c718c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.