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

mohit67890
/
imajev-4b

Image-Text-to-Text
PEFT
Safetensors
MLX
English
typed-decisions
jev
decision-model
vision-language
calibrated-probabilities
lora
Eval Results
Model card Files Files and versions
xet
Community
2

Instructions to use mohit67890/imajev-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use mohit67890/imajev-4b with PEFT:

    Task type is invalid.
  • MLX

    How to use mohit67890/imajev-4b 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("mohit67890/imajev-4b")
    config = load_config("mohit67890/imajev-4b")
    
    # 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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Add DecisionBench evaluation result

#2 opened 11 days ago by
stephen-solka

Phase 3 for the 2B and 9B: what's it waiting on?

2
#1 opened 21 days ago by
sudoMoshe
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs