GLM-4-9B(Q5_K_L) Heptagon Balls sim (multi-prompt)

Posted by danihend@reddit | LocalLLaMA | View on Reddit | 45 comments

Title pretty much says it but just to clarify - it wasn't one-shot. It was prompt->response->error, then this:

Here is an error after running the sim:
<error>
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\username\anaconda3\Lib\tkinter_init_.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\username\anaconda3\Lib\tkinter_init_.py", line 861, in callit
func(*args)
File "c:\Users\username\VSCodeProjects\model_tests\balls\GLM49B_Q5KL_balls.py", line 140, in update
current_time_ms = float(current_time)
^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'after#2'
</error>
Now think as hard as you can about why this is happening. Look at the entire script and consider how the parts work together. You are free to think as long as you need if you use thinking tags like this:
<think>thoughts here</think>.
Once finished thinking, just provide the patch to the code. No need to rewrite it all.

Then I applied the fix, got another error, replaced the original Assistant code block with the new code and presented the new error as if it were the 1st error by editing my message. I think that resulted in the working version.

So TL;DR - couple of prompts to get it working.

Simply pasting error after error did not work, but structured prompting with a bit of thinking seems to bring out some more potential.

Just thought I'd share in case it helps people with prompting it and just to show that it is not a bad model for it's size. The result is very similar to the 32B version.