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

Saminx22
/
text_embedding_model_14M

PyTorch
sentence-transformers
English
text-embeddings
triplet-loss
Model card Files Files and versions
xet
Community

Instructions to use Saminx22/text_embedding_model_14M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Saminx22/text_embedding_model_14M with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Saminx22/text_embedding_model_14M")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
text_embedding_model_14M
59.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Saminx22's picture
Saminx22
Upload folder using huggingface_hub
104ff3a verified 2 months ago
  • tokenizer
    Upload folder using huggingface_hub 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    5.12 kB
    Upload folder using huggingface_hub 2 months ago
  • embedding_model_config.json
    159 Bytes
    Upload folder using huggingface_hub 2 months ago
  • embedding_model_weights.pth

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    55.8 MB
    xet
    Upload folder using huggingface_hub 2 months ago