Feature Extraction
sentence-transformers
Safetensors
Transformers
qwen2_5_omni_thinker
image-text-to-text
multimodal-embedding
Instructions to use LCO-Embedding/LCO-Embedding-Omni-7B 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-7B with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("LCO-Embedding/LCO-Embedding-Omni-7B") 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-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="LCO-Embedding/LCO-Embedding-Omni-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForImageTextToText tokenizer = AutoTokenizer.from_pretrained("LCO-Embedding/LCO-Embedding-Omni-7B") model = AutoModelForImageTextToText.from_pretrained("LCO-Embedding/LCO-Embedding-Omni-7B") - Notebooks
- Google Colab
- Kaggle
Improve model card: Add pipeline tag, library name, and detailed description
#1
by nielsr HF Staff - opened
This PR significantly enhances the model card for the LCO-Embedding model by adding essential metadata and a more detailed description of its capabilities.
Specifically:
- Adds
pipeline_tag: feature-extractionto improve discoverability on the Hugging Face Hub, as this model is designed for omnimodal representation learning. - Adds
library_name: transformers, indicating compatibility with the Hugging Face Transformers library, as evidenced by theconfig.jsonandtokenizer_config.jsonfiles. - Updates the content to provide a comprehensive overview of the model, including its key contributions (LCO-Embedding framework, Generation-Representation Scaling Law, SeaDoc task), and incorporates evaluation results with illustrative figures directly from the GitHub repository.
- Explicitly links to the paper and the GitHub repository for easy access to more information and code.
Please review and merge this PR if everything looks good.
gowitheflow changed pull request status to merged