]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
main : allow a response-file as the sole parameter (whisper/2019)
authorulatekh <redacted>
Tue, 9 Apr 2024 15:31:16 +0000 (08:31 -0700)
committerGeorgi Gerganov <redacted>
Tue, 9 Apr 2024 17:28:27 +0000 (20:28 +0300)
commita3a80cb2ec78c221da2257a8211de0a423b4ac5d
tree40c0bfc1ef7c1f56044d2264dfb8bea445754afe
parent7607e21a511afa6aeb51fd86bf0b18c2e8c34246
main : allow a response-file as the sole parameter (whisper/2019)

* The "main" example now allows a response-file as the sole parameter.

A response-file is a text file with command-line parameters, one per line.
Prefix the name of the response-file with "@" to identify it as such.
It's used under MS Windows to work around command-line length limits.
It may be useful under other platforms to simplify character-escaping.

* minor : style

---------

Co-authored-by: Georgi Gerganov <redacted>
examples/whisper/main.cpp