Feature Extraction
Safetensors
Model2Vec
sentence-transformers
code
distiller
code-search
code-embeddings
distillation
static-embeddings
tokenlearn
Instructions to use sarthak1/codemalt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use sarthak1/codemalt with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("sarthak1/codemalt") - sentence-transformers
How to use sarthak1/codemalt with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sarthak1/codemalt") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Sarthak commited on
Commit ·
850cf20
1
Parent(s): eb5363b
chore: add env vars
Browse files- .gitignore +4 -1
.gitignore
CHANGED
|
@@ -11,4 +11,7 @@ wheels/
|
|
| 11 |
|
| 12 |
# Cache
|
| 13 |
.ruff_cache
|
| 14 |
-
.mypy_cache
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
# Cache
|
| 13 |
.ruff_cache
|
| 14 |
+
.mypy_cache
|
| 15 |
+
|
| 16 |
+
# Environment variables
|
| 17 |
+
.env
|