Sentence Similarity
sentence-transformers
PyTorch
Transformers
English
roberta
feature-extraction
text-embeddings-inference
Instructions to use AlgorithmicResearchGroup/arxiv-distilroberta-base-GenQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AlgorithmicResearchGroup/arxiv-distilroberta-base-GenQ with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AlgorithmicResearchGroup/arxiv-distilroberta-base-GenQ") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use AlgorithmicResearchGroup/arxiv-distilroberta-base-GenQ with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/arxiv-distilroberta-base-GenQ") model = AutoModel.from_pretrained("AlgorithmicResearchGroup/arxiv-distilroberta-base-GenQ") - Notebooks
- Google Colab
- Kaggle
ArtifactAI commited on
Commit ·
d16697a
1
Parent(s): 17098dc
Update README.md
Browse files
README.md
CHANGED
|
@@ -133,4 +133,10 @@ SentenceTransformer(
|
|
| 133 |
|
| 134 |
## Citing & Authors
|
| 135 |
|
| 136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
## Citing & Authors
|
| 135 |
|
| 136 |
+
```
|
| 137 |
+
@misc{arxiv-distilroberta-base-GenQ,
|
| 138 |
+
title={arxiv-distilroberta-base-GenQ},
|
| 139 |
+
author={Matthew Kenney},
|
| 140 |
+
year={2023}
|
| 141 |
+
}
|
| 142 |
+
```
|