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

  • Log In
  • Sign Up

ayang903
/
ds340

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

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

  • Libraries
  • Transformers

    How to use ayang903/ds340 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="ayang903/ds340")
    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("ayang903/ds340")
    model = AutoModelForImageClassification.from_pretrained("ayang903/ds340", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ds340
1.03 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ayang903's picture
ayang903
Upload folder using huggingface_hub
296bdcb over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    843 Bytes
    Upload folder using huggingface_hub over 3 years ago
  • optimizer.pt
    687 MB
    xet
    Upload folder using huggingface_hub over 3 years ago
  • preprocessor_config.json
    327 Bytes
    Upload folder using huggingface_hub over 3 years ago
  • pytorch_model.bin
    343 MB
    xet
    Upload folder using huggingface_hub over 3 years ago
  • rng_state.pth
    13.6 kB
    xet
    Upload folder using huggingface_hub over 3 years ago
  • scheduler.pt
    627 Bytes
    xet
    Upload folder using huggingface_hub over 3 years ago
  • trainer_state.json
    2.33 kB
    Upload folder using huggingface_hub over 3 years ago
  • training_args.bin
    3.58 kB
    xet
    Upload folder using huggingface_hub over 3 years ago