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