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

  • Log In
  • Sign Up

osmanh
/
vit-base-patch16-finetuned-beans

Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use osmanh/vit-base-patch16-finetuned-beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use osmanh/vit-base-patch16-finetuned-beans with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="osmanh/vit-base-patch16-finetuned-beans")
    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("osmanh/vit-base-patch16-finetuned-beans")
    model = AutoModelForImageClassification.from_pretrained("osmanh/vit-base-patch16-finetuned-beans")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-patch16-finetuned-beans
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
osmanh's picture
osmanh
End of training
c6689f4 verified over 1 year ago
  • runs
    End of training over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1.75 kB
    End of training over 1 year ago
  • all_results.json
    387 Bytes
    End of training over 1 year ago
  • config.json
    807 Bytes
    Training in progress, epoch 1 over 1 year ago
  • eval_results.json
    200 Bytes
    End of training over 1 year ago
  • model.safetensors
    343 MB
    xet
    Training in progress, epoch 3 over 1 year ago
  • preprocessor_config.json
    325 Bytes
    Training in progress, epoch 1 over 1 year ago
  • train_results.json
    207 Bytes
    End of training over 1 year ago
  • trainer_state.json
    2.29 kB
    End of training over 1 year ago
  • training_args.bin

    Detected Pickle imports (9)

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

    How to fix it?

    5.3 kB
    xet
    Training in progress, epoch 1 over 1 year ago