ggerganov commited on
Commit
c39ebff
·
unverified ·
1 Parent(s): 65621fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -21
README.md CHANGED
@@ -89,27 +89,36 @@ c++ -I. -I./examples -O3 -std=c++11 -pthread examples/main/main.cpp whisper.o gg
89
  usage: ./main [options] file0.wav file1.wav ...
90
 
91
  options:
92
- -h, --help [default] show this help message and exit
93
- -t N, --threads N [4 ] number of threads to use during computation
94
- -p N, --processors N [1 ] number of processors to use during computation
95
- -ot N, --offset-t N [0 ] time offset in milliseconds
96
- -on N, --offset-n N [0 ] segment index offset
97
- -d N, --duration N [0 ] duration of audio to process in milliseconds
98
- -mc N, --max-context N [-1 ] maximum number of text context tokens to store
99
- -ml N, --max-len N [0 ] maximum segment length in characters
100
- -wt N, --word-thold N [0.01 ] word timestamp probability threshold
101
- -su, --speed-up [false ] speed up audio by x2 (reduced accuracy)
102
- -tr, --translate [false ] translate from source language to english
103
- -otxt, --output-txt [false ] output result in a text file
104
- -ovtt, --output-vtt [false ] output result in a vtt file
105
- -osrt, --output-srt [false ] output result in a srt file
106
- -owts, --output-words [false ] output script for generating karaoke video
107
- -ps, --print-special [false ] print special tokens
108
- -pc, --print-colors [false ] print colors
109
- -nt, --no-timestamps [true ] do not print timestamps
110
- -l LANG, --language LANG [en ] spoken language
111
- -m FNAME, --model FNAME [models/ggml-base.en.bin] model path
112
- -f FNAME, --file FNAME [ ] input WAV file path
 
 
 
 
 
 
 
 
 
113
 
114
  bash ./models/download-ggml-model.sh base.en
115
  Downloading ggml model base.en ...
 
89
  usage: ./main [options] file0.wav file1.wav ...
90
 
91
  options:
92
+ -h, --help [default] show this help message and exit
93
+ -t N, --threads N [4 ] number of threads to use during computation
94
+ -p N, --processors N [1 ] number of processors to use during computation
95
+ -ot N, --offset-t N [0 ] time offset in milliseconds
96
+ -on N, --offset-n N [0 ] segment index offset
97
+ -d N, --duration N [0 ] duration of audio to process in milliseconds
98
+ -mc N, --max-context N [-1 ] maximum number of text context tokens to store
99
+ -ml N, --max-len N [0 ] maximum segment length in characters
100
+ -bo N, --best-of N [5 ] number of best candidates to keep
101
+ -bs N, --beam-size N [-1 ] beam size for beam search
102
+ -wt N, --word-thold N [0.01 ] word timestamp probability threshold
103
+ -et N, --entropy-thold N [2.40 ] entropy threshold for decoder fail
104
+ -lpt N, --logprob-thold N [-1.00 ] log probability threshold for decoder fail
105
+ -su, --speed-up [false ] speed up audio by x2 (reduced accuracy)
106
+ -tr, --translate [false ] translate from source language to english
107
+ -di, --diarize [false ] stereo audio diarization
108
+ -otxt, --output-txt [false ] output result in a text file
109
+ -ovtt, --output-vtt [false ] output result in a vtt file
110
+ -osrt, --output-srt [false ] output result in a srt file
111
+ -owts, --output-words [false ] output script for generating karaoke video
112
+ -ocsv, --output-csv [false ] output result in a CSV file
113
+ -ps, --print-special [false ] print special tokens
114
+ -pc, --print-colors [false ] print colors
115
+ -pp, --print-progress [false ] print progress
116
+ -nt, --no-timestamps [true ] do not print timestamps
117
+ -l LANG, --language LANG [en ] spoken language ('auto' for auto-detect)
118
+ --prompt PROMPT [ ] initial prompt
119
+ -m FNAME, --model FNAME [models/ggml-base.en.bin] model path
120
+ -f FNAME, --file FNAME [ ] input WAV file path
121
+
122
 
123
  bash ./models/download-ggml-model.sh base.en
124
  Downloading ggml model base.en ...