]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Update README.md
authorGeorgi Gerganov <redacted>
Sun, 30 Oct 2022 15:11:37 +0000 (17:11 +0200)
committerGitHub <redacted>
Sun, 30 Oct 2022 15:11:37 +0000 (17:11 +0200)
examples/main/README.md

index f3fbf05c8eb3bec5073be604982df0937ca5b603..27f47ff580cf290cff6762b88289a81961cd6145 100644 (file)
@@ -6,21 +6,28 @@ It can be used as a reference for using the `whisper.cpp` library in other proje
 ```\r
 ./main -h\r
 \r
-usage: ./main [options] file0.wav file1.wav ...\r
+usage: ./bin/main [options] file0.wav file1.wav ...\r
 \r
 options:\r
   -h,       --help           show this help message and exit\r
   -s SEED,  --seed SEED      RNG seed (default: -1)\r
   -t N,     --threads N      number of threads to use during computation (default: 4)\r
-  -o N,     --offset N       offset in milliseconds (default: 0)\r
+  -p N,     --processors N   number of processors to use during computation (default: 1)\r
+  -ot N,    --offset-t N     time offset in milliseconds (default: 0)\r
+  -on N,    --offset-n N     segment index offset (default: 0)\r
+  -mc N,    --max-context N  maximum number of text context tokens to store (default: max)\r
+  -wt N,    --word-thold N   word timestamp probability threshold (default: 0.010000)\r
   -v,       --verbose        verbose output\r
             --translate      translate from source language to english\r
   -otxt,    --output-txt     output result in a text file\r
   -ovtt,    --output-vtt     output result in a vtt file\r
   -osrt,    --output-srt     output result in a srt file\r
+  -owts,    --output-words   output word-level timestamps to a text file\r
   -ps,      --print_special  print special tokens\r
+  -pc,      --print_colors   print colors\r
   -nt,      --no_timestamps  do not print timestamps\r
   -l LANG,  --language LANG  spoken language (default: en)\r
   -m FNAME, --model FNAME    model path (default: models/ggml-base.en.bin)\r
   -f FNAME, --file FNAME     input WAV file path\r
+\r
 ```\r