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

Suru
/
FruitModel

Image Classification
Transformers
PyTorch
Safetensors
vit
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use Suru/FruitModel with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Suru/FruitModel")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("Suru/FruitModel")
    model = AutoModelForImageClassification.from_pretrained("Suru/FruitModel")
  • Notebooks
  • Google Colab
  • Kaggle
FruitModel
687 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 3 commits
Suru's picture
Suru
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
ef9ae03 almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • all_results.json
    206 Bytes
    Upload . with huggingface_hub (#1) about 3 years ago
  • config.json
    765 Bytes
    Upload . with huggingface_hub (#1) about 3 years ago
  • model.safetensors
    343 MB
    xet
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • preprocessor_config.json
    327 Bytes
    Upload . with huggingface_hub (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    343 MB
    xet
    Upload . with huggingface_hub (#1) about 3 years ago
  • train_results.json
    206 Bytes
    Upload . with huggingface_hub (#1) about 3 years ago
  • trainer_state.json
    924 Bytes
    Upload . with huggingface_hub (#1) about 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "torch.device",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    3.52 kB
    xet
    Upload . with huggingface_hub (#1) about 3 years ago