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

matrixmaven
/
PaddleOCR-VL-1.6-bf16

Image-Text-to-Text
MLX
Safetensors
English
paddleocr_vl
conversational
custom_code
Model card Files Files and versions
xet
Community

Instructions to use matrixmaven/PaddleOCR-VL-1.6-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use matrixmaven/PaddleOCR-VL-1.6-bf16 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("matrixmaven/PaddleOCR-VL-1.6-bf16")
    config = load_config("matrixmaven/PaddleOCR-VL-1.6-bf16")
    
    # 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
PaddleOCR-VL-1.6-bf16
1.82 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Gvardhan's picture
Gvardhan
Upload 16 files
7fb1845 verified about 2 months ago
  • .gitattributes
    1.57 kB
    Upload 16 files about 2 months ago
  • README.md
    84 Bytes
    Upload 16 files about 2 months ago
  • added_tokens.json
    25.4 kB
    Upload 16 files about 2 months ago
  • chat_template.jinja
    1.47 kB
    Upload 16 files about 2 months ago
  • config.json
    2.28 kB
    Upload 16 files about 2 months ago
  • configuration_paddleocr_vl.py
    8.1 kB
    Upload 16 files about 2 months ago
  • generation_config.json
    133 Bytes
    Upload 16 files about 2 months ago
  • image_processing_paddleocr_vl.py
    25 kB
    Upload 16 files about 2 months ago
  • model.safetensors
    1.81 GB
    xet
    Upload 16 files about 2 months ago
  • model.safetensors.index.json
    36.6 kB
    Upload 16 files about 2 months ago
  • modeling_paddleocr_vl.py
    104 kB
    Upload 16 files about 2 months ago
  • preprocessor_config.json
    641 Bytes
    Upload 16 files about 2 months ago
  • processing_paddleocr_vl.py
    12.3 kB
    Upload 16 files about 2 months ago
  • processor_config.json
    609 Bytes
    Upload 16 files about 2 months ago
  • special_tokens_map.json
    1.15 kB
    Upload 16 files about 2 months ago
  • tokenizer.json
    11.2 MB
    xet
    Upload 16 files about 2 months ago
  • tokenizer_config.json
    782 Bytes
    Upload 16 files about 2 months ago