Run this model with HF Jobs

Run esc-bench/wav2vec2-aed-librispeech on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/esc-bench/wav2vec2-aed-librispeech. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/esc-bench/wav2vec2-aed-librispeech on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("automatic-speech-recognition", model="esc-bench/wav2vec2-aed-librispeech")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSpeechSeq2Seq

tokenizer = AutoTokenizer.from_pretrained("esc-bench/wav2vec2-aed-librispeech")
model = AutoModelForSpeechSeq2Seq.from_pretrained("esc-bench/wav2vec2-aed-librispeech", device_map="auto")
Quick Links

To reproduce this run, execute:

#!/usr/bin/env bash
python run_flax_speech_recognition_seq2seq.py \
        --dataset_name="esb/datasets" \
        --model_name_or_path="esb/wav2vec2-aed-pretrained" \
        --dataset_config_name="librispeech" \
        --output_dir="./" \
        --wandb_name="wav2vec2-aed-librispeech" \
        --wandb_project="wav2vec2-aed" \
        --per_device_train_batch_size="8" \
        --per_device_eval_batch_size="2" \
        --learning_rate="1e-4" \
        --warmup_steps="500" \
        --logging_steps="25" \
        --max_steps="50001" \
        --eval_steps="10000" \
        --save_steps="10000" \
        --generation_max_length="40" \
        --generation_num_beams="1" \
        --final_generation_max_length="300" \
        --final_generation_num_beams="12" \
        --generation_length_penalty="1.6" \
        --hidden_dropout="0.2" \
        --activation_dropout="0.2" \
        --feat_proj_dropout="0.2" \
        --overwrite_output_dir \
        --gradient_checkpointing \
        --freeze_feature_encoder \
        --predict_with_generate \
        --do_eval \
        --do_train \
        --do_predict \
        --push_to_hub \
        --use_auth_token
Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train esc-bench/wav2vec2-aed-librispeech