Instructions to use daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name") 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
Upload 01_func_docstring_docstring_and_name fine-tuned SentenceTransformer embedding model
a19b60c verified Download modules.json from daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name/resolve/main/modules.json
- Command line
-
hf download hf://daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name/modules.json
-
curl -L -o modules.json https://huggingface.co/daebakgazua/260828_OhLoRA_Embedding_01_func_docstring_docstring_and_name/resolve/main/modules.json
432 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.base.modules.transformer.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling" | |
| }, | |
| { | |
| "idx": 2, | |
| "name": "2", | |
| "path": "2_Normalize", | |
| "type": "sentence_transformers.base.modules.normalize.Normalize" | |
| } | |
| ] |