Instructions to use nategro/contradiction-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nategro/contradiction-mini with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nategro/contradiction-mini") 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
Download pytorch_model.bin from nategro/contradiction-mini: direct link, hf CLI and curl.
- Browser
- Download file 90.9 MB
-
https://huggingface.co/nategro/contradiction-mini/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://nategro/contradiction-mini/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/nategro/contradiction-mini/resolve/main/pytorch_model.bin
90.9 MB
- Xet hash:
- 66108ff879cbf1aa1d0d544f1df07db0ff5e240d11e60d56ef5082cf74e339f5
- Size of remote file:
- 90.9 MB
- SHA256:
- 7779a49e653fba711755ff118ab76896780c0b63daa21539317561eb12e9e1af
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.