Instructions to use MicroPhion/wav2vec2-base-lang-id with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MicroPhion/wav2vec2-base-lang-id with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="MicroPhion/wav2vec2-base-lang-id")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("MicroPhion/wav2vec2-base-lang-id") model = AutoModelForAudioClassification.from_pretrained("MicroPhion/wav2vec2-base-lang-id", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 9.99891891891892, | |
| "total_flos": 1.5503579786196265e+19, | |
| "train_loss": 0.927044793691427, | |
| "train_runtime": 4273.8828, | |
| "train_samples_per_second": 51.929, | |
| "train_steps_per_second": 1.621 | |
| } |