Instructions to use anton-l/wav2vec2-base-lang-id with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anton-l/wav2vec2-base-lang-id with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="anton-l/wav2vec2-base-lang-id")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("anton-l/wav2vec2-base-lang-id") model = AutoModelForAudioClassification.from_pretrained("anton-l/wav2vec2-base-lang-id", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 10.0, | |
| "eval_accuracy": 0.7944972826086957, | |
| "eval_loss": 0.9835737347602844, | |
| "eval_runtime": 167.4825, | |
| "eval_samples_per_second": 35.156, | |
| "eval_steps_per_second": 8.789 | |
| } |