michannne
Joined 7 years ago
Joined 7 years ago
Llama 30B 4-bit has amazing performance, comparable to GPT-3 quality for my search and novel generating use-cases, and fits on a single 3090. In tandem with 3rd party applications such as Llama Index and the Alpaca LoRa, GPT-3 (and potentially GPT-4) has already been democratized in my eyes.
Here's an example regarding grounded characters sticking to walls:
prompt: Thanks! I added walls and ground to my game, as well as detection so that if the player touches the ground, they will be in a grounded state. However, when the touch the vertical face of the ground/wall, they stick to it. Can you tell me what I'm doing wrong?
response: It seems like the issue you're encountering is related to the physics and collision detection in your game. The player is likely detecting the wall as the ground, and it's causing the grounded state to be triggered when it shouldn't be. To fix this, you can modify your ground detection code to take the angle of the surface into account.
Here's a solution using the Physics.Raycast method:
Assuming you have a LayerMask called groundLayer for ground detection, make sure the ground and walls are assigned to the appropriate layers in the Unity Editor
[...further details on using angle detection on collision, as well as accurate sample code]
I can even ask it to give me the reference for the _Physics.Raycast_ method:
response: Certainly! Here's the official Unity documentation for Physics.Raycast:
[URL to official docs filtered out by HN]
Physics.Raycast - Unity Manual The Physics.Raycast method allows you to perform raycasts in your scene to detect collisions with 3D objects.
[...further information on how to use it, including an accurate code example pulled from the docs]
This just drastically reduces time-to-solution, especially when you consider you can lazily leave out information and still get a good response.
In short, I treat it as though each session is a fine-tuned search engine and get a lot of value from it, but it doesn't completely replace forums or Youtube videos, for one it can't argue with itself to provide conflicting but valid alternate solutions - I'd have to argue with it/ask it to produce those.
Unfortunately, I've gone through too many bugs that had to be fixed through valgrind debugging that I'm unwilling to part with it
Truth
My headcanon is that it's tied to the fact that our life spans are limited and we've evolved to derive the most satisfaction when we're working on a task that is difficult for us individually or has vague success criteria, which seems to match up in part with the article's takeaway. It's also how I reason that not only fucking things up, but also complaining about it and trying to fix it are all required for people to feel happy. I see this ethos in a lot of old religions as well - humans striving towards the same qualities as a godhead but never quite getting there no matter how awesome their abilities become, or how our 'perfect' state was when we were ignorant of the consequences of our actions.