RonanMcGovern commited on
Commit
1645750
·
verified ·
1 Parent(s): a2ddbe2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -101,7 +101,7 @@ LibriSpeech is used here as an independent check on the extent of degradation ca
101
 
102
  ## Inference
103
  ### Quick Demo (3 samples)
104
- Copy/paste to transcribe the first three rows from a HuggingFace dataset with `transcribe-en_us-spelling-v1-tiny`:
105
 
106
  ```bash
107
  uv run --with datasets --with transformers --with torchaudio python - <<'PY'
@@ -109,7 +109,7 @@ from datasets import load_dataset
109
  from transformers import pipeline
110
 
111
  DATASET_ID = "Trelis/transcribe-to-en_GB-v1"
112
- MODEL_ID = "transcribe-en_us-spelling-v1-tiny"
113
 
114
  print(f"Loading dataset: {DATASET_ID} (first 3 rows)")
115
  dataset = load_dataset(DATASET_ID, split="test[:3]")
@@ -136,7 +136,7 @@ uv run --with transformers --with torchaudio python - <<'PY'
136
  from transformers import pipeline
137
  import torchaudio
138
 
139
- MODEL_ID = "transcribe-en_us-spelling-v1-tiny"
140
  audio_path = "/path/to/audio.wav" # change me
141
 
142
  audio, sr = torchaudio.load(audio_path)
 
101
 
102
  ## Inference
103
  ### Quick Demo (3 samples)
104
+ Copy/paste to transcribe the first three rows from a HuggingFace dataset with `Trelis/transcribe-en_us-spelling-v1-tiny`:
105
 
106
  ```bash
107
  uv run --with datasets --with transformers --with torchaudio python - <<'PY'
 
109
  from transformers import pipeline
110
 
111
  DATASET_ID = "Trelis/transcribe-to-en_GB-v1"
112
+ MODEL_ID = "Trelis/transcribe-en_us-spelling-v1-tiny"
113
 
114
  print(f"Loading dataset: {DATASET_ID} (first 3 rows)")
115
  dataset = load_dataset(DATASET_ID, split="test[:3]")
 
136
  from transformers import pipeline
137
  import torchaudio
138
 
139
+ MODEL_ID = "Trelis/transcribe-en_us-spelling-v1-tiny"
140
  audio_path = "/path/to/audio.wav" # change me
141
 
142
  audio, sr = torchaudio.load(audio_path)