Instructions to use AlgorithmicResearchGroup/arxiv-t5-small-GenQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AlgorithmicResearchGroup/arxiv-t5-small-GenQ with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AlgorithmicResearchGroup/arxiv-t5-small-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-t5-small-GenQ with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/arxiv-t5-small-GenQ") model = AutoModel.from_pretrained("AlgorithmicResearchGroup/arxiv-t5-small-GenQ") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2841b6dcce6003f05b8b733b699662dd05390c4514e628e7d13b86d8f789e2b1
|
| 3 |
+
size 141329264
|