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

LiquidAI
/
d1-omni-600M-MLX-8bit

Image-Text-to-Text
MLX
Safetensors
d1_omni
liquid
lfm2.5
edge
decision
classification
calibration
system-one
multimodal
vision
audio
mlx-vlm
custom_code
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use LiquidAI/d1-omni-600M-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use LiquidAI/d1-omni-600M-MLX-8bit with MLX:

    # Make sure mlx-vlm is installed
    # pip install --upgrade mlx-vlm
    
    from mlx_vlm import load, generate
    from mlx_vlm.prompt_utils import apply_chat_template
    from mlx_vlm.utils import load_config
    
    # Load the model
    model, processor = load("LiquidAI/d1-omni-600M-MLX-8bit")
    config = load_config("LiquidAI/d1-omni-600M-MLX-8bit")
    
    # Prepare input
    image = ["http://images.cocodataset.org/val2017/000000039769.jpg"]
    prompt = "Describe this image."
    
    # Apply chat template
    formatted_prompt = apply_chat_template(
        processor, config, prompt, num_images=1
    )
    
    # Generate output
    output = generate(model, processor, formatted_prompt, image)
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
d1-omni-600M-MLX-8bit
731 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
ykhrustalev's picture
ykhrustalev
Set the config dtype to float16 to match the weights
d927e69 verified 18 days ago
  • .gitattributes
    1.52 kB
    initial commit 18 days ago
  • LICENSE
    10.6 kB
    Add d1-omni-600M-MLX-8bit: MLX export of LiquidAI/d1-omni-600M 18 days ago
  • README.md
    7.01 kB
    Add citation from the original model card 18 days ago
  • config.json
    2.52 kB
    Set the config dtype to float16 to match the weights 18 days ago
  • model.safetensors
    726 MB
    xet
    Add d1-omni-600M-MLX-8bit: MLX export of LiquidAI/d1-omni-600M 18 days ago
  • model.safetensors.index.json
    125 kB
    Add d1-omni-600M-MLX-8bit: MLX export of LiquidAI/d1-omni-600M 18 days ago
  • tokenizer.json
    4.73 MB
    Add d1-omni-600M-MLX-8bit: MLX export of LiquidAI/d1-omni-600M 18 days ago
  • tokenizer_config.json
    307 Bytes
    Add d1-omni-600M-MLX-8bit: MLX export of LiquidAI/d1-omni-600M 18 days ago