Sentence Similarity
sentence-transformers
ONNX
Safetensors
OpenVINO
roberta
feature-extraction
text-embeddings-inference
Instructions to use buelfhood/CodeBERTa-small-v1-ST with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use buelfhood/CodeBERTa-small-v1-ST with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("buelfhood/CodeBERTa-small-v1-ST") 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
Add exported onnx model 'model.onnx'
#1
by buelfhood - opened
- onnx/model.onnx +3 -0
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10c3e1ccc0825e317b5c848005328655064534b28f5bc95c97974c1af5a0035b
|
| 3 |
+
size 331587143
|