Readit News logoReadit News
keiferwiseman commented on Tom and Jerry One-Minute Video Generation with Test-Time Training   test-time-training.github... · Posted by u/walterbell
keiferwiseman · 5 months ago
Looks pretty bad but considering this was impossible a couple years ago(as far as I know) it’s very impressive progress
keiferwiseman commented on Ask HN: Struggling with Anxiety as a Developer – What Are My Options?    · Posted by u/devwithanxiety
keiferwiseman · 5 months ago
Hope and Help for Your Nerves By Claire Weekes
keiferwiseman commented on Ask HN: Struggling with Anxiety as a Developer – What Are My Options?    · Posted by u/devwithanxiety
keiferwiseman · 5 months ago
The book “Hope an Help for your nerves” by Claire Weekes is highly recommended.

Deleted Comment

keiferwiseman commented on Binary modding a water dispenser to save me from pressing a button (2021)   practicapp.com/binary-mod... · Posted by u/trinix912
GranPC · 8 months ago
> In the end, it took about 8 hours to get this project finished, which was spread out over multiple weeks. Considering that I usually fill my bottle once a day, and it takes about 50 seconds to do so, this will have a positive return-on-investment after only about 1.5 years!

Spoken like a true programmer. :)

keiferwiseman · 8 months ago
Way better ROI than I expected! Usually with these things it’s like “it will pay off after 56 years”
keiferwiseman commented on Ketamine Found No Better Than Placebo for Depression in Unique Experiment   gizmodo.com/ketamine-depr... · Posted by u/webmaven
keiferwiseman · 2 years ago
Par for the course in terms of antidepressants, sounds like a success!
keiferwiseman commented on Become an expert in something specific and boring   forum.effectivealtruism.o... · Posted by u/sieste
keiferwiseman · 2 years ago
EA means effective altruist… like our boy Sam Bankrun-Fraud
keiferwiseman commented on Google preemptively banned hundreds of millions of 'pirate' URLs last year   torrentfreak.com/google-p... · Posted by u/CoBE10
keiferwiseman · 2 years ago
Trying to corner the market with Google Drive
keiferwiseman commented on Shit life syndrome   en.wikipedia.org/wiki/Shi... · Posted by u/tjpnz
siwatanejo · 2 years ago
What part of my comment did you miss? I already mentioned government-related stuff. Cryptocurrency is not government related.
keiferwiseman · 2 years ago
Sorry to say the government can take away your cryptocurrency
keiferwiseman commented on Show HN: LLMs can generate valid JSON 100% of the time   github.com/normal-computi... · Posted by u/remilouf
panarky · 2 years ago
I can make GPT4 return valid JSON simply by providing examples in the system message. This works nine times out of ten.

But it's still probabilistic, and nine times out of ten isn't good enough.

Occasionally it will hallucinate responses like this:

{"key1": "value1", "key2": "value2" for i in range(n)}

Re-prompting with the parsing error message is usually enough to get it on the second try.

But escaping double-quotes and newline characters is less reliable. Even after giving it multiple examples, it correctly escapes only about half the time.

Re-prompting for escaping errors still yields a ~50% success rate.

keiferwiseman · 2 years ago
It took some iterations but I've managed to get the OpenAI API to give me valid JSON 100% of the time now(based on my testing). I think I put in the prompt to never use newlines because it was causing issues lol.

u/keiferwiseman

KarmaCake day55July 14, 2023View Original