Instructions to use hf-internal-testing/tiny-random-Wav2Vec2ForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Wav2Vec2ForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="hf-internal-testing/tiny-random-Wav2Vec2ForSequenceClassification")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-Wav2Vec2ForSequenceClassification") model = AutoModelForAudioClassification.from_pretrained("hf-internal-testing/tiny-random-Wav2Vec2ForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
494046b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:02ee85c0824e92f21b23af59614acadcc485b7b3a07c5efbee645cb58fbd5967
size 240888
|