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

OpenMed
/
North-Micro-Vision-Instruct-6bit-mlx

Image-Text-to-Text
MLX
Safetensors
cohere_compass
mlx-vlm
openmed
openmedkit
apple-silicon
on-device
vision
multimodal
clinical
medical
privacy
native-resolution
conversational
6-bit
Model card Files Files and versions
xet
Community

Instructions to use OpenMed/North-Micro-Vision-Instruct-6bit-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use OpenMed/North-Micro-Vision-Instruct-6bit-mlx 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("OpenMed/North-Micro-Vision-Instruct-6bit-mlx")
    config = load_config("OpenMed/North-Micro-Vision-Instruct-6bit-mlx")
    
    # 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
North-Micro-Vision-Instruct-6bit-mlx
2.68 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
MaziyarPanahi's picture
MaziyarPanahi
Add files using upload-large-folder tool
6117b25 verified 1 day ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool 1 day ago
  • README.md
    9.95 kB
    Add files using upload-large-folder tool 1 day ago
  • chat_template.jinja
    1.32 kB
    Add files using upload-large-folder tool 1 day ago
  • config.json
    5 kB
    Add files using upload-large-folder tool 1 day ago
  • generation_config.json
    156 Bytes
    Add files using upload-large-folder tool 1 day ago
  • model.safetensors
    2.66 GB
    xet
    Add files using upload-large-folder tool 1 day ago
  • model.safetensors.index.json
    77.8 kB
    Add files using upload-large-folder tool 1 day ago
  • openmed-mlx.json
    922 Bytes
    Add files using upload-large-folder tool 1 day ago
  • openmed-validation.json
    4.62 kB
    Add files using upload-large-folder tool 1 day ago
  • preprocessor_config.json
    747 Bytes
    Add files using upload-large-folder tool 1 day ago
  • processor_config.json
    603 Bytes
    Add files using upload-large-folder tool 1 day ago
  • special_tokens_map.json
    724 Bytes
    Add files using upload-large-folder tool 1 day ago
  • tokenizer.json
    19.6 MB
    xet
    Add files using upload-large-folder tool 1 day ago
  • tokenizer_config.json
    1.06 kB
    Add files using upload-large-folder tool 1 day ago
  • video_preprocessor_config.json
    344 Bytes
    Add files using upload-large-folder tool 1 day ago