Why are we calling this "engineering"? Isn't engineering the application of science to solve problems? (math, definitive logic, etc.) Maybe one day we'll have instruments that let us reason about the connections between prompts and the exact state of the AI, so that we can understand the mechanics of causation, but until then, I would not think that being good at asking questions is "engineering" Are most 10 year old…
Brex’s Prompt Engineering Guide
101–110 of 112 posts
Re: Brex’s Prompt Engineering Guide
#102Why are we calling this "engineering"? Isn't engineering the application of science to solve problems? (math, definitive logic, etc.) Maybe one day we'll have instruments that let us reason about the connections between prompts and the exact state of the AI, so that we can understand the mechanics of causation, but until then, I would not think that being good at asking questions is "engineering" Are most 10 year old…
If programming is alchemy, then prompt engineering is more akin to demonic conjurations (communicating with demons): - the Demon knows almost everything, but it can/will lie and trick your bullshit filters so well - then, there's the old trope that you-the conjurer might be able to trick the demon and avoid paying the price for its services (prompt injections) † (dust off your Ars Goetia, my friend) But, in all serio…
Honest question. Do you think this analogy is anyway helpful?
Re: Brex’s Prompt Engineering Guide
#103Earlier quoted context omitted.
Yeah, I think the (worrying) confusion is that Amazon calls it a seq2seq model, which was the name of a SOTA RNN from Google a while back. Ofc now, seq2seq just means what you said (an encoder/decoder model, which is actually what a “truly vanilla” transformer would be anyway). The fact that any serious researcher thinks any other serious researchers are using models without self attention is the real red flag here.…
That's actually not true: https://github.com/BlinkDL/RWKV-LM
Is your understanding different?
Re: Brex’s Prompt Engineering Guide
#104I've been playing Gandalf in the last few days, it does a great job at giving an intuition for some of the subtleties of prompt engineering: https://gandalf.lakera.ai Thanks for putting this together!
Whoa that was a lot of fun. Are you aware of any other games like this? A sort of CTF for AIs?
I also found the nondeterministic behavior of Gandalf robbed it of being "fun," to say nothing of the 429s (which they claim to have fixed but I was so burned by the experience I haven't bothered going back through the lower levels to find out)
Re: Brex’s Prompt Engineering Guide
#105Earlier quoted context omitted.
If programming is alchemy, then prompt engineering is more akin to demonic conjurations (communicating with demons): - the Demon knows almost everything, but it can/will lie and trick your bullshit filters so well - then, there's the old trope that you-the conjurer might be able to trick the demon and avoid paying the price for its services (prompt injections) † (dust off your Ars Goetia, my friend) But, in all serio…
> If programming is alchemy, then prompt engineering is more akin to demonic conjurations (communicating with demons): Honest question. Do you think this analogy is anyway helpful?
Re: Brex’s Prompt Engineering Guide
#106Earlier quoted context omitted.
…was this written by an LLM? I’m starting to doubt anything on the internet that’s overly cherry and polite. Sigh.
> I’m starting to doubt anything on the internet that’s overly cherry and polite. > …was this written by an LLM? do you find that asking this is constructive?
So I'm personally curious in fine-tuning my own "algorithm" for detecting fake content, and pointing it out is helpful for me and, I presume, others who think similarly (and I know there are others).
In this case I may absolutely have been wrong, but even the comments above added to my knowledge and helped.
So yes, I found it very constructive. I hope others did too.
Re: Brex’s Prompt Engineering Guide
#107Earlier quoted context omitted.
Tweaked my comment a little bit to clarify. Surely we'd agree that not everyone who uses software is a software engineer, but writing software is generally agreed upon as "software engineering". If you consider my comment as a whole, and the linked document, then the application of the definition makes sense. Large Language Models are incredibly similar to black-box non-deterministic interpreters. And prompt engineer…
I've never heard of non-deterministic programming languages. Is that really a thing? (I mean - cue the JS jokes and all, but, really?) Fwiw, to me, writing prompts feels most similar to management, directing, maybe psychotherapy (though I never worked in that, just guessing). Knowing how to adapt and use language to guide the "other" to achieve a goal, but without having insight into the exact way they go about it. I…
Re: Brex’s Prompt Engineering Guide
#108Are there established best practices for "engineering" prompts systematically, rather than through trial-and-error? Editing prompts is like playing whack-a-mole: once you clear an edge case, a new problem pops up elsewhere. I'd really like to be able to say, "this new prompt performs 20% better across all our test cases". Because I haven't found a better way, I am building https://github.com/typpo/promptfoo , a CLI t…
Re: Brex’s Prompt Engineering Guide
#109This seems overall well-written and well-explained, but curious for that piece on fine-tuning. This article only recommends it as a last resort. That makes sense for a casual user, but if you're a company seriously using LLMs to provide services for your customers, wouldn't the cost of training data be offset by the potential gains you have and the edge cases you might automatically cover by fine-tuning instead of tr…
Having a hierarchy of prompts with context stuffing allows for rapid switching across models with a few (non-trivial) surface-level prompt updates while the deeper prompts stay static.
Re: Brex’s Prompt Engineering Guide
#110Why are we calling this "engineering"? Isn't engineering the application of science to solve problems? (math, definitive logic, etc.) Maybe one day we'll have instruments that let us reason about the connections between prompts and the exact state of the AI, so that we can understand the mechanics of causation, but until then, I would not think that being good at asking questions is "engineering" Are most 10 year old…
> Isn't engineering the application of science to solve problems? (math, definitive logic, etc.) Most definitely not. Engineering more often than not preceeds the science. You don't have to have an analytical and theoretical understanding of something in order to harness it and make practical use of it. In reality, there's a strong feedback loop, where practical hacks will guide the science, the development of which…
1. Do we start calling travel agents "aviation engineers" because they use airplanes to solve problems?
2. I sure hope the engineers who build planes aren't just winging it (ba doom pssh)
3. Context matters. Scientific knowledge increases over time, but isn't there a difference between willfull and unavoidable ignorance? If an engineer from the early days of flight were transported to SpaceX today, but they ignored the math and constructed rockets that we know with certainty will not fly, but they are convinced it will work due to sheer inner conviction, that's no longer engineering imho. Even if it may have been in their time, as long as they were using the known science of their day.