Remove against-llm-maximalism
article thumbnail

Against LLM maximalism

Explosion

LLMs are not a direct solution to most of the NLP use-cases companies have been working on. They are extremely useful, but if you want to deliver reliable software you can improve over time, you can't just write a prompt and call it a day.

LLM 40
article thumbnail

How RLHF Preference Model Tuning Works (And How Things May Go Wrong)

AssemblyAI

This piece should be helpful to anyone who wants a better understanding of LLMs and the challenges in making them safe and reliable. While some familiarity with LLM terminology will be beneficial, we have aimed to make this article accessible to a broad audience. One way to think about it is the following.

LLM 238
professionals

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Against LLM maximalism

Explosion

I don’t want to undersell how impactful LLMs are for this sort of use-case. You can give an LLM a group of comments and ask it to summarize the texts or identify key themes. One vision for how LLMs can be used is what I’ll term LLM maximalist. If you have some task, you try to ask the LLM to do it as directly as possible.

LLM 135
article thumbnail

Architect defense-in-depth security for generative AI applications using the OWASP Top 10 for LLMs

AWS Machine Learning Blog

Understanding and addressing LLM vulnerabilities, threats, and risks during the design and architecture phases helps teams focus on maximizing the economic and productivity benefits generative AI can bring. We then discuss how building on a secure foundation is essential for generative AI.

article thumbnail

Improving your LLMs with RLHF on Amazon SageMaker

AWS Machine Learning Blog

Then, the LLM must be fine-tuned to maximize the reward model’s estimated reward without drifting too far from the original model. In this blog post, we ask annotators to rank model outputs based on specific parameters, such as helpfulness, truthfulness, and harmlessness. That is against the law. Don’t do it.

article thumbnail

Reinventing the data experience: Use generative AI and modern data architecture to unlock insights

AWS Machine Learning Blog

Organizations can maximize the value of their modern data architecture with generative AI solutions while innovating continuously. LangChain, a tool to work with LLMs and prompts, is used in Studio notebooks. LangChain requires an LLM to be defined. The results are passed to the LLM to generate an English answer with the data.

article thumbnail

Introduction to Prompt Templates in LangChain

Heartbeat

These include a text string or template that takes inputs and produces a prompt for the LLM, instructions to train the LLM, few-shot examples to enhance the model’s response, and a question to guide the language model. Generating, sharing, and reusing prompts in a reproducible manner can be achieved using a few key components.

LLM 52