Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

pmaheshai
/
train_dir

Image Classification
Transformers
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use pmaheshai/train_dir with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="pmaheshai/train_dir")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("pmaheshai/train_dir")
    model = AutoModelForImageClassification.from_pretrained("pmaheshai/train_dir", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
train_dir
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
pmaheshai's picture
pmaheshai
Update README.md
01557c1 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.27 kB
    Update README.md over 1 year ago
  • config.json
    716 Bytes
    Training in progress, epoch 1 over 1 year ago
  • model.safetensors
    343 MB
    xet
    Model save over 1 year ago
  • preprocessor_config.json
    539 Bytes
    Training in progress, epoch 1 over 1 year ago
  • training_args.bin
    5.3 kB
    xet
    Training in progress, epoch 1 over 1 year ago