Text Retrieval
Transformers
Safetensors
sentence-transformers
English
kpr-bert
feature-extraction
custom_code
Instructions to use knowledgeable-ai/kpr-bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use knowledgeable-ai/kpr-bert-base-uncased with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("knowledgeable-ai/kpr-bert-base-uncased", trust_remote_code=True, device_map="auto") - sentence-transformers
How to use knowledgeable-ai/kpr-bert-base-uncased with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("knowledgeable-ai/kpr-bert-base-uncased", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -27,7 +27,7 @@ Although RAG typically relies on embedding-based retrieval, the embedding models
|
|
| 27 |
|
| 28 |
**The entity knowledge is pluggable and can be dynamically updated with ease.**
|
| 29 |
|
| 30 |
-
For
|
| 31 |
|
| 32 |
## Model List
|
| 33 |
|
|
@@ -116,6 +116,7 @@ This model is licensed under the Apache License, Version 2.0.
|
|
| 116 |
## Citation
|
| 117 |
|
| 118 |
If you use this model in your research, please cite the following paper:
|
|
|
|
| 119 |
[Dynamic Injection of Entity Knowledge into Dense Retrievers](https://arxiv.org/abs/2507.03922)
|
| 120 |
|
| 121 |
```bibtex
|
|
|
|
| 27 |
|
| 28 |
**The entity knowledge is pluggable and can be dynamically updated with ease.**
|
| 29 |
|
| 30 |
+
For further details, refer to [our paper](https://arxiv.org/abs/2507.03922) or [GitHub repository](https://github.com/knowledgeable-embedding/knowledgeable-embedding).
|
| 31 |
|
| 32 |
## Model List
|
| 33 |
|
|
|
|
| 116 |
## Citation
|
| 117 |
|
| 118 |
If you use this model in your research, please cite the following paper:
|
| 119 |
+
|
| 120 |
[Dynamic Injection of Entity Knowledge into Dense Retrievers](https://arxiv.org/abs/2507.03922)
|
| 121 |
|
| 122 |
```bibtex
|