Sentence Similarity
sentence-transformers
Safetensors
Ancient Greek (to 1453)
Latin
English
roberta
feature-extraction
cross-lingual
historical-nlp
knowledge-distillation
dataset_size:480534
loss:MSELoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use sebastian-reichbauer/DistilSPhilBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sebastian-reichbauer/DistilSPhilBERTa with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sebastian-reichbauer/DistilSPhilBERTa") sentences = [ "ἐκνεύει πάλιν.", "I found out that he was accused concerning questions of their law, but had nothing charged against him deserving of death or chains.", "he is drawing back.", "In this book I have fully set forth the mechanical methods which I could furnish, and which I thought most useful in times of peace and war." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from sebastian-reichbauer/DistilSPhilBERTa: direct link, hf CLI and curl.
- Browser
- Download file 541 MB
-
https://huggingface.co/sebastian-reichbauer/DistilSPhilBERTa/resolve/main/model.safetensors
- Command line
-
hf download hf://sebastian-reichbauer/DistilSPhilBERTa/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/sebastian-reichbauer/DistilSPhilBERTa/resolve/main/model.safetensors
541 MB
- Xet hash:
- f6b864e012330f472daf8a11c94f3dd81a1489a60d65e243f2525bad894bd4dd
- Size of remote file:
- 541 MB
- SHA256:
- 60634f970fe7e36e7731040b3b914401a06094af05e5b7bc7d129968479ea12c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.