Sentence Similarity
sentence-transformers
Safetensors
English
bert
retrieval
legal
agriculture
eu-law
cap
text-embeddings-inference
Instructions to use stonarini/grepac-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use stonarini/grepac-e5-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("stonarini/grepac-e5-small") 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 tokenizer.json from stonarini/grepac-e5-small: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/stonarini/grepac-e5-small/resolve/main/tokenizer.json
- Command line
-
hf download hf://stonarini/grepac-e5-small/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/stonarini/grepac-e5-small/resolve/main/tokenizer.json
17.1 MB
- Xet hash:
- 20c5ce2f70e3ab9c910d81344b8aec97066b4b7aeadc56264132ae16db0b6748
- Size of remote file:
- 17.1 MB
- SHA256:
- fb02bfe42ffe0fe115de5c74f76c6480d730e60cc1f6ae567ff4d82cb305a113
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.