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

LiquidAI
/
LFM2.5-Embedding-350M

Sentence Similarity
sentence-transformers
Safetensors
lfm2
liquid
lfm2.5
edge
feature-extraction
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use LiquidAI/LFM2.5-Embedding-350M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LiquidAI/LFM2.5-Embedding-350M with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LiquidAI/LFM2.5-Embedding-350M", trust_remote_code=True)
    
    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
LFM2.5-Embedding-350M
714 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
mlabonne's picture
mlabonne
Create LICENSE
f35ae2c verified 7 days ago
  • 1_Pooling
    Initial release 9 days ago
  • .gitattributes
    1.52 kB
    Initial release 9 days ago
  • LICENSE
    10.6 kB
    Create LICENSE 7 days ago
  • README.md
    14.2 kB
    Update README.md 8 days ago
  • chat_template.jinja
    1.3 kB
    Initial release 9 days ago
  • config.json
    1.4 kB
    Initial release 9 days ago
  • config_sentence_transformers.json
    555 Bytes
    Initial release 9 days ago
  • model.safetensors
    709 MB
    xet
    Initial release 9 days ago
  • modeling_lfm2_bidirectional.py
    5.19 kB
    Initial release 9 days ago
  • modules.json
    229 Bytes
    Initial release 9 days ago
  • sentence_bert_config.json
    57 Bytes
    Initial release 9 days ago
  • special_tokens_map.json
    434 Bytes
    Initial release 9 days ago
  • tokenizer.json
    4.73 MB
    Initial release 9 days ago
  • tokenizer_config.json
    92.1 kB
    Initial release 9 days ago