Instructions to use johngiorgi/declutr-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use johngiorgi/declutr-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("johngiorgi/declutr-base") 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] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
480fc7d -
Update bibtex to ACL version
1db545c
-
Add link to sentence transformers
3a644f1 -
Update with instructions on how to use with SentenceTransformers
4292c8d
-
upload flax model
2d2698d -
allow flax
2c57bfd
-
Update call to forward pass to match latest API
6f5f9fa
-
Update README.md
3d0f1f6
-
Update vocab.json
d64acd4 -
Update pytorch_model.bin
681e408 -
Update merges.txt
863c0fe -
Update config.json
a859fe7 -
Update special_tokens_map.json
ffc5e00 -
Update tokenizer_config.json
c14bc0b
-
Update vocab.json
5829d4d -
Update merges.txt
b50fce2 -
Update README.md
196fa34 -
Update config.json
b10e5ee -
Update special_tokens_map.json
93dcb41 -
Update tokenizer_config.json
ca9a29f -
initial commit
5cca772