Text Retrieval
Transformers
Safetensors
sentence-transformers
English
kpr-bert
feature-extraction
custom_code
Instructions to use knowledgeable-ai/kpr-retromae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use knowledgeable-ai/kpr-retromae with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("knowledgeable-ai/kpr-retromae", trust_remote_code=True, device_map="auto") - sentence-transformers
How to use knowledgeable-ai/kpr-retromae with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("knowledgeable-ai/kpr-retromae", trust_remote_code=True) 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
Commit History
-
Add pipeline tag: text-retrieval
Verified signatureThis PR improves the model card's metadata by adding the `pipeline_tag: text-retrieval`. This ensures that your model is discoverable by users looking for text retrieval models on the Hugging Face Hub (e.g., at https://huggingface.co/models?pipeline_tag=text-retrieval).81bbff6
-
Upload README.md with huggingface_hub
Verified signaturef75577b -
Add new SentenceTransformer model
Verified signatureafb0a79
-
Upload README.md with huggingface_hub
Verified signatured43e5ab -
Upload README.md with huggingface_hub
Verified signature1b85a70
-
Upload README.md with huggingface_hub
Verified signature1ac5b0f -
Upload README.md with huggingface_hub
Verified signatureaddd421 -
Upload README.md with huggingface_hub
Verified signature48208bb -
Update README.md
Verified signature0d770d3 -
Update README.md
Verified signature312b494 -
Update README.md
Verified signature4ec7d0a -
Update README.md
Verified signature06c9ca1 -
Update README.md
Verified signatureda444af -
Update README.md
Verified signatured9a71ae -
Update README.md
Verified signature2ce5988
-
Add new SentenceTransformer model
Verified signature3d0cff7 -
Add new SentenceTransformer model
Verified signature3bada6a -
Upload model
Verified signature227873d
-
Upload model
Verified signature8f6d837 -
Upload model
Verified signaturef0fb49b
-
Upload tokenizer
Verified signature47aa3d7 -
Upload tokenizer
Verified signature9355881
-
Upload tokenizer
Verified signature5720d2b -
Upload model
Verified signaturecd9bb66 -
initial commit
Verified signature7438be5