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

JaydenJH
/
swinv2-tiny-patch4-window8-256-finetuned-5emotions

Image Classification
Transformers
Safetensors
swinv2
Model card Files Files and versions
xet
Community

Instructions to use JaydenJH/swinv2-tiny-patch4-window8-256-finetuned-5emotions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use JaydenJH/swinv2-tiny-patch4-window8-256-finetuned-5emotions with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="JaydenJH/swinv2-tiny-patch4-window8-256-finetuned-5emotions")
    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("JaydenJH/swinv2-tiny-patch4-window8-256-finetuned-5emotions")
    model = AutoModelForImageClassification.from_pretrained("JaydenJH/swinv2-tiny-patch4-window8-256-finetuned-5emotions")
  • Notebooks
  • Google Colab
  • Kaggle
swinv2-tiny-patch4-window8-256-finetuned-5emotions
110 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
JaydenJH's picture
JaydenJH
Upload 4 files
e9688b2 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    24 Bytes
    initial commit almost 2 years ago
  • config.json
    1.32 kB
    Upload 4 files almost 2 years ago
  • model.safetensors
    110 MB
    xet
    Upload 4 files almost 2 years ago
  • preprocessor_config.json
    626 Bytes
    Upload 4 files almost 2 years ago
  • trainer_state.json
    131 kB
    Upload 4 files almost 2 years ago