Feature Extraction
sentence-transformers
Safetensors
bert
retrieval
devdata-search
text-embeddings-inference
Instructions to use ai4data/devdata-search-noinstruct-small-asym-cmnrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ai4data/devdata-search-noinstruct-small-asym-cmnrl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ai4data/devdata-search-noinstruct-small-asym-cmnrl") 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
| { | |
| "types": { | |
| "query_0_Pooling": "sentence_transformers.sentence_transformer.modules.pooling.Pooling", | |
| "document_0_Pooling": "sentence_transformers.sentence_transformer.modules.pooling.Pooling" | |
| }, | |
| "structure": { | |
| "query": [ | |
| "query_0_Pooling" | |
| ], | |
| "document": [ | |
| "document_0_Pooling" | |
| ] | |
| }, | |
| "parameters": { | |
| "default_route": "document", | |
| "allow_empty_key": true, | |
| "route_mappings": {} | |
| } | |
| } |