Sentence Similarity
sentence-transformers
Safetensors
qwen2
feature-extraction
text-embeddings-inference
Instructions to use Kwaipilot/OASIS-code-embedding-1.5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Kwaipilot/OASIS-code-embedding-1.5B with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Kwaipilot/OASIS-code-embedding-1.5B") 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,7 @@ tags:
|
|
| 5 |
- sentence-transformers
|
| 6 |
- sentence-similarity
|
| 7 |
- feature-extraction
|
|
|
|
| 8 |
---
|
| 9 |
<div align="center">
|
| 10 |
<img src="https://raw.githubusercontent.com/Anditty/OASIS/refs/heads/main/Group.svg" width="60%" alt="Kwaipilot" />
|
|
|
|
| 5 |
- sentence-transformers
|
| 6 |
- sentence-similarity
|
| 7 |
- feature-extraction
|
| 8 |
+
license: mit
|
| 9 |
---
|
| 10 |
<div align="center">
|
| 11 |
<img src="https://raw.githubusercontent.com/Anditty/OASIS/refs/heads/main/Group.svg" width="60%" alt="Kwaipilot" />
|