Instructions to use fyaronskiy/code_retriever-saved-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use fyaronskiy/code_retriever-saved-checkpoints with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("fyaronskiy/code_retriever-saved-checkpoints") 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -45,7 +45,6 @@ hf download fyaronskiy/code_retriever-saved-checkpoints \
|
|
| 45 |
--local-dir models/saved_checkpoints
|
| 46 |
```
|
| 47 |
|
| 48 |
-
> **Note:** `huggingface-cli` is deprecated. Use `hf` instead (`pip install -U huggingface_hub`).
|
| 49 |
|
| 50 |
## Resume training
|
| 51 |
|
|
|
|
| 45 |
--local-dir models/saved_checkpoints
|
| 46 |
```
|
| 47 |
|
|
|
|
| 48 |
|
| 49 |
## Resume training
|
| 50 |
|