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 /tools
38.6 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
  • __init__.py
    1 Bytes
    Remove debug instrumentation and rename the M4Seg dataset adapter about 8 hours ago
  • batch.py
    736 Bytes
    Include clean PRIMA code and evaluator; document metrics, initialization, and MIT contributions about 9 hours ago
  • chat.py
    10.8 kB
    Keep the PRIMA architecture and verify prediction resume provenance about 7 hours ago
  • checkpoint.py
    3.53 kB
    Include clean PRIMA code and evaluator; document metrics, initialization, and MIT contributions about 9 hours ago
  • config.py
    2.59 kB
    Include clean PRIMA code and evaluator; document metrics, initialization, and MIT contributions about 9 hours ago
  • model_loader.py
    8.49 kB
    Keep the PRIMA architecture and verify prediction resume provenance about 7 hours ago
  • outputs.py
    455 Bytes
    Include clean PRIMA code and evaluator; document metrics, initialization, and MIT contributions about 9 hours ago
  • predictions.py
    6.18 kB
    Keep the PRIMA architecture and verify prediction resume provenance about 7 hours ago
  • prompting.py
    282 Bytes
    Include clean PRIMA code and evaluator; document metrics, initialization, and MIT contributions about 9 hours ago
  • utils.py
    5.49 kB
    Remove debug instrumentation and rename the M4Seg dataset adapter about 8 hours ago