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

nateraw
/
vit-base-beans-demo

Image Classification
Transformers
PyTorch
TensorBoard
vit
other-image-classification
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
4

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

  • Libraries
  • Transformers

    How to use nateraw/vit-base-beans-demo with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="nateraw/vit-base-beans-demo")
    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("nateraw/vit-base-beans-demo")
    model = AutoModelForImageClassification.from_pretrained("nateraw/vit-base-beans-demo")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-beans-demo
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
nateraw's picture
nateraw
πŸ› model_index ➑️ model-index
5e0eb1c almost 5 years ago
  • runs
    🍻 cheers almost 5 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • .gitignore
    13 Bytes
    🍻 cheers almost 5 years ago
  • README.md
    1.83 kB
    πŸ› model_index ➑️ model-index almost 5 years ago
  • all_results.json
    371 Bytes
    🍻 cheers almost 5 years ago
  • config.json
    705 Bytes
    🍻 cheers almost 5 years ago
  • eval_results.json
    202 Bytes
    🍻 cheers almost 5 years ago
  • preprocessor_config.json
    228 Bytes
    🍻 cheers almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    343 MB
    xet
    🍻 cheers almost 5 years ago
  • train_results.json
    189 Bytes
    🍻 cheers almost 5 years ago
  • trainer_state.json
    5.17 kB
    🍻 cheers almost 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

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

    How to fix it?

    2.67 kB
    xet
    🍻 cheers almost 5 years ago