Instructions to use kornwtp/ConGen-MiniLM-L3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use kornwtp/ConGen-MiniLM-L3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kornwtp/ConGen-MiniLM-L3") 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 kornwtp/ConGen-MiniLM-L3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("kornwtp/ConGen-MiniLM-L3") model = AutoModel.from_pretrained("kornwtp/ConGen-MiniLM-L3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from kornwtp/ConGen-MiniLM-L3: direct link, hf CLI and curl.
- Browser
- Download file 69.6 MB
-
https://huggingface.co/kornwtp/ConGen-MiniLM-L3/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://kornwtp/ConGen-MiniLM-L3/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/kornwtp/ConGen-MiniLM-L3/resolve/main/pytorch_model.bin
69.6 MB
- Xet hash:
- d8e87888a5db8446c4b2906e2018fcdce735070cc6eb7f8fa35161198725c245
- Size of remote file:
- 69.6 MB
- SHA256:
- 8b6537dfdc1e21a69ba33be57b9b6d96ea01b61daa18e025863588e3210f44fe
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.