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 ·
aaaf803
1
Parent(s): 2879afb
chore: add ignore patterns for temp and env files
Browse filesAdds several patterns to .gitignore to exclude temporary files, environment files, beam files, sync files, and codemap files. This prevents these files from being committed to the repository.
- .gitignore +13 -1
.gitignore
CHANGED
|
@@ -14,4 +14,16 @@ wheels/
|
|
| 14 |
.mypy_cache
|
| 15 |
|
| 16 |
# Environment variables
|
| 17 |
-
.env
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
.mypy_cache
|
| 15 |
|
| 16 |
# Environment variables
|
| 17 |
+
.env
|
| 18 |
+
|
| 19 |
+
# Beam
|
| 20 |
+
.beamignore
|
| 21 |
+
|
| 22 |
+
# Sync Dir
|
| 23 |
+
gte_qwen2_m2v
|
| 24 |
+
code_model2vec
|
| 25 |
+
logs
|
| 26 |
+
|
| 27 |
+
# codemap
|
| 28 |
+
documentation
|
| 29 |
+
*.bak
|