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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LCO-Embedding
/
LCO-Embedding-Omni-3B

Feature Extraction
sentence-transformers
Safetensors
Transformers
qwen2_5_omni_thinker
image-text-to-text
multimodal-embedding
Model card Files Files and versions
xet
Community
2

Instructions to use LCO-Embedding/LCO-Embedding-Omni-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LCO-Embedding/LCO-Embedding-Omni-3B with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LCO-Embedding/LCO-Embedding-Omni-3B")
    
    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 LCO-Embedding/LCO-Embedding-Omni-3B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="LCO-Embedding/LCO-Embedding-Omni-3B")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("LCO-Embedding/LCO-Embedding-Omni-3B")
    model = AutoModelForMultimodalLM.from_pretrained("LCO-Embedding/LCO-Embedding-Omni-3B", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
LCO-Embedding-Omni-3B / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
gowitheflow's picture
gowitheflow
Integrate with Sentence Transformers v5.4 (#1)
104bacc 4 months ago
  • config.json
    96 Bytes
    Integrate with Sentence Transformers v5.4 (#1) 4 months ago