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 ·
17098dc
1
Parent(s): 894e318
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,10 @@ tags:
|
|
| 5 |
- feature-extraction
|
| 6 |
- sentence-similarity
|
| 7 |
- transformers
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Arxiv-distilroberta-base-GenQ
|
|
|
|
| 5 |
- feature-extraction
|
| 6 |
- sentence-similarity
|
| 7 |
- transformers
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
library_name: sentence-transformers
|
| 12 |
---
|
| 13 |
|
| 14 |
# Arxiv-distilroberta-base-GenQ
|