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

  • Log In
  • Sign Up

SoTrxII
/
analytical-pattern-embedder

Sentence Similarity
sentence-transformers
Safetensors
embedding_gemma2
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use SoTrxII/analytical-pattern-embedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use SoTrxII/analytical-pattern-embedder with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("SoTrxII/analytical-pattern-embedder")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
analytical-pattern-embedder
574 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SoTrxII's picture
SoTrxII
Release v2
04edb83 verified 24 days ago
  • 1_Pooling
    Release v1 24 days ago
  • 2_Normalize
    Release v1 24 days ago
  • .gitattributes
    1.57 kB
    Release v1 24 days ago
  • README.md
    1.26 kB
    Release v1 24 days ago
  • chat_template.jinja
    1.02 kB
    Release v1 24 days ago
  • config.json
    2.35 kB
    Release v1 24 days ago
  • config_sentence_transformers.json
    1.33 kB
    Release v1 24 days ago
  • model.safetensors
    542 MB
    xet
    Release v2 24 days ago
  • modules.json
    413 Bytes
    Release v1 24 days ago
  • processor_config.json
    1.79 kB
    Release v1 24 days ago
  • sentence_bert_config.json
    747 Bytes
    Release v1 24 days ago
  • tokenizer.json
    32.2 MB
    xet
    Release v2 24 days ago
  • tokenizer_config.json
    1.57 kB
    Release v2 24 days ago