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

  • Log In
  • Sign Up

Evan-Lin
/
ast-gtzan

Audio Classification
Transformers
PyTorch
audio-spectrogram-transformer
Model card Files Files and versions
xet
Community
1

Instructions to use Evan-Lin/ast-gtzan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Evan-Lin/ast-gtzan with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("audio-classification", model="Evan-Lin/ast-gtzan")
    # Load model directly
    from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
    
    extractor = AutoFeatureExtractor.from_pretrained("Evan-Lin/ast-gtzan")
    model = AutoModelForAudioClassification.from_pretrained("Evan-Lin/ast-gtzan")
  • Notebooks
  • Google Colab
  • Kaggle
ast-gtzan
690 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
f167dfd verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • config.json
    1.13 kB
    Upload ASTForAudioClassification about 2 years ago
  • model.safetensors
    345 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    345 MB
    xet
    Upload ASTForAudioClassification about 2 years ago