Automatic Speech Recognition
Transformers
PyTorch
Chinese
wav2vec2
audio
speech
xlsr-fine-tuning-week
Instructions to use gymeee/demo_code_switching with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gymeee/demo_code_switching with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="gymeee/demo_code_switching")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("gymeee/demo_code_switching") model = AutoModelForCTC.from_pretrained("gymeee/demo_code_switching", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from gymeee/demo_code_switching: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/gymeee/demo_code_switching/resolve/main/train_results.json
- Command line
-
hf download hf://gymeee/demo_code_switching/train_results.json
-
curl -L -o train_results.json https://huggingface.co/gymeee/demo_code_switching/resolve/main/train_results.json
195 Bytes
| { | |
| "epoch": 30.0, | |
| "train_loss": 0.25857088244661236, | |
| "train_runtime": 51050.909, | |
| "train_samples": 9856, | |
| "train_samples_per_second": 5.792, | |
| "train_steps_per_second": 0.724 | |
| } |