Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ksyint
/
sam0222

Mask Generation
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
sam
Model card Files Files and versions
xet
Community

Instructions to use ksyint/sam0222 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ksyint/sam0222 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("mask-generation", model="ksyint/sam0222")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMaskGeneration
    
    processor = AutoProcessor.from_pretrained("ksyint/sam0222")
    model = AutoModelForMaskGeneration.from_pretrained("ksyint/sam0222")
  • Notebooks
  • Google Colab
  • Kaggle
sam0222
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
ksyint's picture
ksyint
Upload preprocessor_config.json
a5a42a3 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • config.json
    465 Bytes
    Upload 2 files about 2 years ago
  • model.safetensors
    367 MB
    xet
    Upload 2 files about 2 years ago
  • preprocessor_config.json
    466 Bytes
    Upload preprocessor_config.json about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    375 MB
    xet
    Upload 2 files about 2 years ago
  • tf_model.h5
    375 MB
    xet
    Upload 2 files about 2 years ago