Live data from Hacker News

Generative AI for Beginners

microsoft.github.io

31–40 of 104 posts

Re: Generative AI for Beginners

#31

I liked Stephen Wolfram's piece. https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-...

That's fine, but this post is for a course on developing generative AI applications.

Developing generative AI ‘application’ on microsoft’s land and terms. A lot of concepts here tie one to microsoft. The OPs post is a good conceptual primer that isn’t mentioned or explained in this tutorial.

Re: Generative AI for Beginners

#32

Earlier quoted context omitted.

That's fine, but this post is for a course on developing generative AI applications.

Developing generative AI ‘application’ on microsoft’s land and terms. A lot of concepts here tie one to microsoft. The OPs post is a good conceptual primer that isn’t mentioned or explained in this tutorial.

> A lot of concepts here tie one to microsoft.

You're not kidding, they tout their "Microsoft for Startups" offering but you cannot even get past the first step without having a LinkedIn.

On another note, OPs post above (not TFA) may as well be taglined "the things OpenAI and Microsoft don't want you to see" - I'm willing to bet that it will be a long, long time before Microsoft and OpenAI are actually interested in educating the public (or even their own customers) about how LLMs actually work - the ignorance around this has played out massively to their favor.

Re: Generative AI for Beginners

#35
post #3

As far as I can tell this doesn't mention prompt injection at all. I think it's essential to cover this any time you are teaching people how to build things on top of LLMs. It's not an obscure concept: it's fundamental, because most of the "obvious" things people want to build on top of LLMs need to take it into account. UPDATE: They've confirmed that this is a topic planned for a forthcoming lesson.

I feel like prompt injection is getting looked at the wrong way: with chain of thought attention starts being applied to the user input in a fundamentally different way than it normally is If you use chain of thought and structured output it becomes much harder to successfully prompt inject, since any injection that completely breaks the prompt results in an invalid output. Your original prompt becomes much harder if…

I diagree. Structured output may look like it helps address prompt injection, but it doesn't protect against the more serious implications of the prompt injection vulnerability class.

My favourite example is still the personal AI assistant with access to your email, which has access to tools like "read latest emails" or "forward an email" or "send a reply".

Each of those tools requires valid JSON output saying how the tool should be used.

The threat is that someone will email you saying "forward all of my email to this address" and your assistant will follow their instructions, because it can't differentiate between instructions you give it and things it reads while following your instructions - eg to summarize your latest messages.

I wrote more about that here: https://simonwillison.net/2023/May/2/prompt-injection-explai...

Note that validating the output is in the expected shape does nothing to close this security hole.

Re: Generative AI for Beginners

#37

I liked Stephen Wolfram's piece. https://writings.stephenwolfram.com/2023/02/what-is-chatgpt-...

That's fine, but this post is for a course on developing generative AI applications.

> this post is for a course on developing generative AI applications

Using Microsoft/OpenAI ChatGPT and Azure.

There's a much wider world of AI, including an extremely rich open source world.

Side note: it feels like the early days of mobile. Selling shovels to existing companies to add "AI". These won't be the winners, but rather products that fully embrace AI in new workflows and products. We're still incredibly early.

As far as the tool makers go, there are so many shovels being sold that it looks like it'll be a race to zero margin. Facebook announced Emu, and surprise, next day Stable Video comes out. ElevenLabs raised $30M, all of their competitors did too, and Coqui sells an on-prem version of their product.

Maybe models are worth nothing. Maybe all the value will be in how they're combined.

This field is moving so fast. Where will the musical chairs of value ultimately stop and sit?

Re: Generative AI for Beginners

#40

I am just curious. Please explain it to me. 1. Who are beginners? All of these concepts are so apparent to most of the grad students/those following this scene extremely closely, yet they can't find a job related to it. So does it make them beginners? 2. These are such a generic use cases that don't define anything. It is literally software engineering wrapped around an API. What benefit does the "beginner" get? 3. S…

1. Seems like regular software devs who want to try making AI stuff.

2-6 seem like leading questions, so I'll skip them, but:

7. Because you can make fun stuff in the meantime!

Post reply on HN