Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -104,7 +104,7 @@ LibriSpeech is used here as an independent check on the extent of degradation ca
|
|
| 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
|
| 108 |
from datasets import load_dataset
|
| 109 |
from transformers import pipeline
|
| 110 |
|
|
@@ -132,7 +132,7 @@ Make sure you have Hugging Face access to both the dataset and model (`huggingfa
|
|
| 132 |
|
| 133 |
**Transcribe your own audio (`/path/to/audio.wav`):**
|
| 134 |
```bash
|
| 135 |
-
uv run --with transformers --with torchaudio python - <<'PY'
|
| 136 |
from transformers import pipeline
|
| 137 |
import torchaudio
|
| 138 |
|
|
|
|
| 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 --isolated --with transformers --with 'datasets<3.0' --with soundfile --with librosa --with torchaudio python - <<'PY'
|
| 108 |
from datasets import load_dataset
|
| 109 |
from transformers import pipeline
|
| 110 |
|
|
|
|
| 132 |
|
| 133 |
**Transcribe your own audio (`/path/to/audio.wav`):**
|
| 134 |
```bash
|
| 135 |
+
uv run --isolated --with transformers --with 'datasets<3.0' --with soundfile --with librosa --with torchaudio python - <<'PY'
|
| 136 |
from transformers import pipeline
|
| 137 |
import torchaudio
|
| 138 |
|