Sentence Similarity
sentence-transformers
PyTorch
TensorFlow
ONNX
Safetensors
OpenVINO
Transformers
mpnet
feature-extraction
text-embeddings-inference
Instructions to use novelcore/model8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use novelcore/model8 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("novelcore/model8") 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 novelcore/model8 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("novelcore/model8") model = AutoModel.from_pretrained("novelcore/model8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from novelcore/model8: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/novelcore/model8/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://novelcore/model8/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/novelcore/model8/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 56a8e50246759f3595be0f506a8bfe379467cdeaa9f2c17467bd63c899fe8f9e
- Size of remote file:
- 438 MB
- SHA256:
- 6c5e122fb2605764f3d6b5eb3cbf0099b5516aefb24b42577f57b9a09bf65880
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.