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