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

smanna
/
clip-ship-inspection

Zero-Shot Image Classification
Transformers
TensorBoard
Safetensors
clip
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use smanna/clip-ship-inspection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use smanna/clip-ship-inspection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="smanna/clip-ship-inspection")
    pipe(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
        candidate_labels=["animals", "humans", "landscape"],
    )
    # Load model directly
    from transformers import AutoProcessor, AutoModelForZeroShotImageClassification
    
    processor = AutoProcessor.from_pretrained("smanna/clip-ship-inspection")
    model = AutoModelForZeroShotImageClassification.from_pretrained("smanna/clip-ship-inspection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
clip-ship-inspection
610 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
smanna's picture
smanna
Model save
70288e4 verified about 1 year ago
  • logs
    Model save about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.26 kB
    Model save about 1 year ago
  • config.json
    1.21 kB
    Training in progress, step 150 about 1 year ago
  • merges.txt
    525 kB
    Training in progress, step 150 about 1 year ago
  • model.safetensors
    605 MB
    xet
    Training in progress, step 150 about 1 year ago
  • preprocessor_config.json
    504 Bytes
    Training in progress, step 150 about 1 year ago
  • special_tokens_map.json
    588 Bytes
    Training in progress, step 150 about 1 year ago
  • tokenizer.json
    3.64 MB
    Training in progress, step 150 about 1 year ago
  • tokenizer_config.json
    774 Bytes
    Training in progress, step 150 about 1 year ago
  • training_args.bin

    Detected Pickle imports (10)

    • "transformers.trainer_utils.HubStrategy",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "torch.device",
    • "transformers.training_args.OptimizerNames",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "transformers.trainer_utils.SaveStrategy"

    How to fix it?

    5.37 kB
    xet
    Training in progress, step 150 about 1 year ago
  • vocab.json
    862 kB
    Training in progress, step 150 about 1 year ago