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
a9eb0b1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:aa8063001d578af3873491907ec9c128fec29712dd6a3a6c53e8180899dc7b0e
size 240888
|