Feature Extraction
sentence-transformers
Safetensors
English
bert
sentence-similarity
retrieval
tool-use
llm-agent
r-language
text-embeddings-inference
Instructions to use Stephen-SMJ/DARE-R-Retriever with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Stephen-SMJ/DARE-R-Retriever with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Stephen-SMJ/DARE-R-Retriever") 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
|
@@ -36,6 +36,8 @@ pip install -U sentence-transformers
|
|
| 36 |
```
|
| 37 |
|
| 38 |
### Usage by our RPKB (Optional and Recommended)
|
|
|
|
|
|
|
| 39 |
```python
|
| 40 |
from huggingface_hub import snapshot_download
|
| 41 |
import chromadb
|
|
|
|
| 36 |
```
|
| 37 |
|
| 38 |
### Usage by our RPKB (Optional and Recommended)
|
| 39 |
+
Download the [R Package Knowledge Base(RPKB)](https://huggingface.co/datasets/Stephen-SMJ/RPKB)
|
| 40 |
+
|
| 41 |
```python
|
| 42 |
from huggingface_hub import snapshot_download
|
| 43 |
import chromadb
|