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