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
|
@@ -6,6 +6,11 @@ language:
|
|
| 6 |
- en
|
| 7 |
license: apache-2.0
|
| 8 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
## Introduction
|
| 11 |
|
|
@@ -113,4 +118,4 @@ If you use this model in your research, please cite the following paper:
|
|
| 113 |
journal={arXiv preprint arXiv:2507.03922},
|
| 114 |
year={2025}
|
| 115 |
}
|
| 116 |
-
```
|
|
|
|
| 6 |
- en
|
| 7 |
license: apache-2.0
|
| 8 |
library_name: transformers
|
| 9 |
+
base_model:
|
| 10 |
+
- google-bert/bert-base-uncased
|
| 11 |
+
model_index:
|
| 12 |
+
- name: kpr-bert-base-uncased
|
| 13 |
+
results:
|
| 14 |
---
|
| 15 |
## Introduction
|
| 16 |
|
|
|
|
| 118 |
journal={arXiv preprint arXiv:2507.03922},
|
| 119 |
year={2025}
|
| 120 |
}
|
| 121 |
+
```
|