Sentence Similarity
sentence-transformers
PyTorch
roberta
feature-extraction
text-embeddings-inference
Instructions to use ncoop57/codeformer-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ncoop57/codeformer-java with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ncoop57/codeformer-java") 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 pytorch_model.bin from ncoop57/codeformer-java: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/ncoop57/codeformer-java/resolve/b5807f6992bbb062f6824d097e8e43cc9eb030a2/pytorch_model.bin
- Command line
-
hf download hf://ncoop57/codeformer-java@b5807f6992bbb062f6824d097e8e43cc9eb030a2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ncoop57/codeformer-java/resolve/b5807f6992bbb062f6824d097e8e43cc9eb030a2/pytorch_model.bin
499 MB
- Xet hash:
- 65d1e651a3f7a84292b8bea89c210ef9870f08ee17da8c8ca3bcfcd41c96d924
- Size of remote file:
- 499 MB
- SHA256:
- 60ce79a96d7a41a207e79cfea9d5b62876b04591c19495178bedc5ff7c475311
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.