voidash commited on
Commit
cb7c4d4
·
verified ·
1 Parent(s): a3d4e81

document the run_system.py plug-in path

Browse files
Files changed (1) hide show
  1. README.md +11 -5
README.md CHANGED
@@ -40,13 +40,19 @@ rather than deleted so the exclusions stay auditable.
40
 
41
  ```bash
42
  git clone https://github.com/Ampixa/nepaliconformer
43
- huggingface-cli download ampixa/neptel --repo-type dataset --local-dir neptel
44
-
45
- # run your system over neptel/audio/*.wav, write [{"seg": "...", "text": "..."}, ...]
46
- python nepaliconformer/eval/score_reference.py \
47
- --manifest neptel/references.json --hyp your_outputs.json
 
 
 
48
  ```
49
 
 
 
 
50
  The scorer normalizes both sides identically (digits to spoken Nepali words, punctuation
51
  stripped) and reports a paired bootstrap when given `--compare`.
52
 
 
40
 
41
  ```bash
42
  git clone https://github.com/Ampixa/nepaliconformer
43
+ cd nepaliconformer/benchmark
44
+ python fetch_audio.py neptel_audio # pulls this dataset, no login
45
+
46
+ # then plug your system in — pick the adapter that fits:
47
+ python run_system.py --hf openai/whisper-large-v3 --name whisper --lang ne
48
+ python run_system.py --nemo your_model.nemo --name mine
49
+ python run_system.py --cmd "your-cli -f {audio}" --name mine
50
+ python run_system.py --py yourpkg.module:transcribe --name mine
51
  ```
52
 
53
+ Each writes `outputs/<name>.json` and prints the WER; add
54
+ `--compare outputs/nepali-conformer-offline.json` for a paired bootstrap against ours.
55
+
56
  The scorer normalizes both sides identically (digits to spoken Nepali words, punctuation
57
  stripped) and reports a paired bootstrap when given `--compare`.
58