woheller69

Results 417 comments of woheller69

I asked for sothing similar today #2358 I tried to clear() current_chat_session for a new chat without leaving the context manager but that is also being ignored. My simple GUI:...

You might use llama-cpp-agent (https://github.com/Maximilian-Winter/llama-cpp-agent) and llama-cpp-python instead of gpt4all. I am also experimenting with it: https://github.com/woheller69/LLAMA_TK_CHAT/blob/main/LLAMA_TK_GUI.py There you can do things like: self.llama_cpp_agent.chat_history.get_message_store().add_assistant_message(...)

strange, I do not have this issue.

obviously a device specific issue.

are you sure? 2%^9 equals 5.12E-16 Should atanh of this value be the same?

I checked the formula and it is correct. So I guess these are precision issues of Java's Math library.

Java double seems to be good for about 15 digits...

Maybe ClevCal uses some other arithmetic library. The formula used by ArityEngine is: 0.5 * Math.log(1. + (x + x) / (1. - x)); which equals 0.5 * Math.log(1. +...

btw, Java has already problems subtracting 56.3 - 55.7. It gives 0.59999999 I recently fixed that by using BigDecimal for subtractions

well I guess it is the 1 + 2%^9 or 1 - 2%^9. One or both of them probably exceeds the possibilty of "double"