-
Notifications
You must be signed in to change notification settings - Fork 160
no way to suppress gptj_model_load:
output lines
#100
Comments
I found someone with the same request at https://stackoverflow.com/questions/76161686/output-full-response-as-string-and-suppress-model-parameters, but no answer there. |
@semorrison I think I answered that question in the discussions, check it here #98 |
Thanks --- unfortunately the |
Using cpp_generate instead of generate seems to partially solve the issue:
Oddly enough, pygpt4all.models.gpt4all 's output are suppressed/non-existent via cpp_generate, but not pygpt4all's outputs for some reason from a similar cpp_generate function. Tried to also modify the source code (%AppData% ...\Local\Programs\Python\Python39\Lib\site-packages\pygpt....\pygptj\model.py) .... related to the unsuppressed output with no success to be similar to the other cpp_generate (%AppData% \Local\Programs\Python\Python39\Lib\site-packages\pyllamacpp...\pyllamacpp\model.py) that doesn't print output to cmd. |
Looks like it boils down to "pp.gptj_generate" in "(%AppData% ...\Local\Programs\Python\Python39\Lib\site-packages\pygpt....\pygptj\model.py".
|
How can I suppress these output lines?
The text was updated successfully, but these errors were encountered: