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