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

kanguyen-vn
/
PRIMA

Image Segmentation
Transformers
Safetensors
English
prima
text-generation
computer-vision
multi-image-reasoning
pixel-grounding
vision-language
custom-code
custom_code
Model card Files Files and versions
xet
Community

Instructions to use kanguyen-vn/PRIMA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kanguyen-vn/PRIMA with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="kanguyen-vn/PRIMA", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("kanguyen-vn/PRIMA", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
PRIMA / code /dataset
69.8 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
kanguyen-vn's picture
kanguyen-vn
Keep the PRIMA architecture and verify prediction resume provenance
06b25e4 verified about 7 hours ago
  • multi_image_datasets
    Keep the PRIMA architecture and verify prediction resume provenance about 7 hours ago
  • utils
    Remove debug instrumentation and rename the M4Seg dataset adapter about 8 hours ago
  • __init__.py
    1 Bytes
    Remove debug instrumentation and rename the M4Seg dataset adapter about 8 hours ago
  • dataset.py
    12.7 kB
    Keep the PRIMA architecture and verify prediction resume provenance about 7 hours ago