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

yuta24
/
ui-test-vision-2b-alpha

Image-Text-to-Text
PEFT
Safetensors
MLX
ios
ui-testing
screenshot
lora
clef
alpha
Model card Files Files and versions
xet
Community

Instructions to use yuta24/ui-test-vision-2b-alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use yuta24/ui-test-vision-2b-alpha with PEFT:

    Task type is invalid.
  • MLX

    How to use yuta24/ui-test-vision-2b-alpha 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("yuta24/ui-test-vision-2b-alpha")
    config = load_config("yuta24/ui-test-vision-2b-alpha")
    
    # 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
ui-test-vision-2b-alpha / mlx /4bit
1.79 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
yuta24's picture
yuta24
Add MLX 4bit model
5511847 verified about 1 month ago
  • glint
    Add MLX 4bit model about 1 month ago
  • chat_template.jinja
    7.76 kB
    Add MLX 4bit model about 1 month ago
  • config.json
    3.71 kB
    Add MLX 4bit model about 1 month ago
  • generation_config.json
    116 Bytes
    Add MLX 4bit model about 1 month ago
  • model.safetensors
    1.77 GB
    xet
    Add MLX 4bit model about 1 month ago
  • model.safetensors.index.json
    89.4 kB
    Add MLX 4bit model about 1 month ago
  • processor_config.json
    989 Bytes
    Add MLX 4bit model about 1 month ago
  • tokenizer.json
    20 MB
    xet
    Add MLX 4bit model about 1 month ago
  • tokenizer_config.json
    1.51 kB
    Add MLX 4bit model about 1 month ago