Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Youmnaaaa
/
Semantic-model

Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

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:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("Youmnaaaa/Semantic-model")
    model = AutoModel.from_pretrained("Youmnaaaa/Semantic-model")
  • Notebooks
  • Google Colab
  • Kaggle
Semantic-model / model
488 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits

This model has 1 file scanned as unsafe.

Youmnaaaa's picture
Youmnaaaa
update semantic
501633c verified 5 days ago
  • 1_Pooling
    update semantic 5 days ago
  • README.md
    3.89 kB
    update semantic 5 days ago
  • config.json
    746 Bytes
    update semantic 5 days ago
  • config_sentence_transformers.json
    281 Bytes
    update semantic 5 days ago
  • model.safetensors
    471 MB
    xet
    update semantic 5 days ago
  • modules.json
    277 Bytes
    update semantic 5 days ago
  • sentence_bert_config.json
    241 Bytes
    update semantic 5 days ago
  • tokenizer.json
    17.1 MB
    xet
    update semantic 5 days ago
  • tokenizer_config.json
    559 Bytes
    update semantic 5 days ago