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
6.47 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
yuta24's picture
yuta24
Update model card: intended use, training data scope, box limitations, alpha status
1b8288e verified 9 days ago
  • code
    v0.1.0-alpha: PyTorch LoRA + heads, code, model card 19 days ago
  • mlx
    Add MLX bf16 model 19 days ago
  • pytorch
    v0.1.0-alpha: PyTorch LoRA + heads, code, model card 19 days ago
  • .gitattributes
    1.64 kB
    Add MLX bf16 model 19 days ago
  • LICENSE
    11.5 kB
    v0.1.0-alpha: PyTorch LoRA + heads, code, model card 19 days ago
  • README.md
    5.6 kB
    Update model card: intended use, training data scope, box limitations, alpha status 9 days ago