Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use Youmnaaaa/Semantic-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Youmnaaaa/Semantic-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Youmnaaaa/Semantic-model") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use Youmnaaaa/Semantic-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Youmnaaaa/Semantic-model") model = AutoModel.from_pretrained("Youmnaaaa/Semantic-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
update semantic
Verified signature9291a42
-
update semantic
Verified signature501633c
-
Delete model
Verified signatureeef4bc6 -
Upload model/modules.json with huggingface_hub
Verified signature3ea0eb8 -
Upload model/README.md with huggingface_hub
Verified signature4ecb185 -
Upload model/sentence_bert_config.json with huggingface_hub
Verified signature4ed98f9 -
Upload model/tokenizer_config.json with huggingface_hub
Verified signature63821de -
Upload model/config_sentence_transformers.json with huggingface_hub
Verified signatureb62a968 -
Upload model/config.json with huggingface_hub
Verified signaturedcefb2b -
Upload model/1_Pooling/config.json with huggingface_hub
Verified signature4d2773f -
Upload model/tokenizer.json with huggingface_hub
Verified signature7e05b14 -
Upload model/model.safetensors with huggingface_hub
Verified signature849a3b6