Feature Extraction
Transformers
Safetensors
sentence-transformers
English
wavlate
audio
audio-text-retrieval
text-to-audio-retrieval
late-interaction
multi-vector
ColBERT
MaxSim
custom_code
Instructions to use chungimungi/WavLate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chungimungi/WavLate with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="chungimungi/WavLate", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chungimungi/WavLate", trust_remote_code=True, device_map="auto") - sentence-transformers
How to use chungimungi/WavLate with sentence-transformers:
from sentence_transformers import MultiVectorEncoder model = MultiVectorEncoder("chungimungi/WavLate", trust_remote_code=True) queries = ["Which planet is known as the Red Planet?"] documents = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", ] query_embeddings = model.encode_query(queries) document_embeddings = model.encode_document(documents) similarities = model.similarity(query_embeddings, document_embeddings) print(similarities) - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!