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

mlx-community
/
LocateAnything-3B-8bit

Image-Text-to-Text
Safetensors
MLX
English
mlx-vlm
locateanything
vision
object-detection
grounding
nvidia
eagle
conversational
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use mlx-community/LocateAnything-3B-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mlx-community/LocateAnything-3B-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("mlx-community/LocateAnything-3B-8bit")
    config = load_config("mlx-community/LocateAnything-3B-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
  • LM Studio
LocateAnything-3B-8bit
4.28 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
beshkenadze's picture
beshkenadze
Upload folder using huggingface_hub
9c43745 verified 1 day ago
  • assets
    Upload folder using huggingface_hub 1 day ago
  • .gitattributes
    1.98 kB
    Upload folder using huggingface_hub 1 day ago
  • LICENSE
    4.12 kB
    Upload folder using huggingface_hub 1 day ago
  • README.md
    2.23 kB
    Upload folder using huggingface_hub 1 day ago
  • added_tokens.json
    19.8 kB
    Upload folder using huggingface_hub 1 day ago
  • chat_template.jinja
    991 Bytes
    Upload folder using huggingface_hub 1 day ago
  • chat_template.json
    1.03 kB
    Upload folder using huggingface_hub 1 day ago
  • config.json
    2.35 kB
    Upload folder using huggingface_hub 1 day ago
  • generation_config.json
    121 Bytes
    Upload folder using huggingface_hub 1 day ago
  • merges.txt
    1.67 MB
    Upload folder using huggingface_hub 1 day ago
  • model.safetensors
    4.14 GB
    xet
    Upload folder using huggingface_hub 1 day ago
  • model.safetensors.index.json
    103 kB
    Upload folder using huggingface_hub 1 day ago
  • preprocessor_config.json
    480 Bytes
    Upload folder using huggingface_hub 1 day ago
  • processor_config.json
    357 Bytes
    Upload folder using huggingface_hub 1 day ago
  • special_tokens_map.json
    13.9 kB
    Upload folder using huggingface_hub 1 day ago
  • tokenizer_config.json
    195 kB
    Upload folder using huggingface_hub 1 day ago
  • vocab.json
    3.38 MB
    Upload folder using huggingface_hub 1 day ago