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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dl4ds
/
herbaria_foundation_model

Zero-Shot Image Classification
Transformers
Safetensors
clip
Generated from Trainer
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use dl4ds/herbaria_foundation_model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="dl4ds/herbaria_foundation_model")
    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("dl4ds/herbaria_foundation_model")
    model = AutoModelForZeroShotImageClassification.from_pretrained("dl4ds/herbaria_foundation_model")
  • Notebooks
  • Google Colab
  • Kaggle
herbaria_foundation_model
1.71 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
smritae01's picture
smritae01
Epoch 1 new model - kaggle 2022 data
b3f0b0b almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.1 kB
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • all_results.json
    211 Bytes
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • command.sh.e7783114
    2.9 MB
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • command.sh.o7783114
    9.41 kB
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • config.json
    749 Bytes
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • model.safetensors
    1.71 GB
    xet
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • train_results.json
    211 Bytes
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • trainer_state.json
    37.6 kB
    Epoch 1 new model - kaggle 2022 data almost 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

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

    How to fix it?

    5.3 kB
    xet
    Epoch 1 new model - kaggle 2022 data almost 2 years ago