eugeneyan / eugeneyan-comments

1 stars 1 forks source link

https://eugeneyan.com/writing/llm-patterns/ #73

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Patterns for Building LLM-based Systems & Products

Evals, RAG, fine-tuning, caching, guardrails, defensive UX, and collecting user feedback.

https://eugeneyan.com/writing/llm-patterns/

JungeAlexander commented 1 year ago

Thanks for the article, Eugene - a long but excellent read!

eugeneyan commented 1 year ago

Thank you for the kind words 🙇 And wow you're fast! I hadn't even shared it widely yet.

andrewyu0 commented 1 year ago

reading it piecemeal and printed it out - amazing thanks for putting this labor of love together! 🙏

adidoit commented 1 year ago

Wonderful post and love the links to the papers. Thank you!! What do you think about Gorilla LLM and Toolformer? Still early days but wonder if there's a future pattern in there

kirankumarbathula commented 1 year ago

great article, thanks for sharing. Lot of things to dig in

mameshini commented 1 year ago

Thank you for creating such a comprehensive overview of LLM patterns.

AhmedTremo commented 1 year ago

Great Read, thanks for sharing Eugene

KDmytro commented 1 year ago

Lots of wisdom packed in one place. Thank you for putting it all together.

davegoldblatt commented 1 year ago

I summarized this with Claude 2. How did it do?

Here is a bullet point summary with chapter headings for the article:

Introduction

Key Patterns

Evals: To Measure Performance

Retrieval-Augmented Generation (RAG): To Add Knowledge

Fine-tuning: To Get Better at Specific Tasks

Caching: To Reduce Latency and Cost

Guardrails: To Ensure Output Quality

Defensive UX: To Handle Errors Gracefully

Collect User Feedback: To Improve Models

Conclusion

Tylersuard commented 1 year ago

Thank you for putting all this knowledge in one place, it is really helpful. I understood literally not a word of your summary on Retrieval-Enhanced Transformers. It might be an idea to write it a little more simply.

charlestsang commented 1 year ago

Thanks for sharing the knowlegde in such a good way. A lot of inputs gain from your blog. Well done.

caioabe commented 11 months ago

"be waifu"

eusden commented 11 months ago

Thanks for putting this together Eugene. Thorough and comprehensible explanation of the SOTA. The domain and applications are expansive, so this clear and practical summary will be a useful reference for many including me!

mon95 commented 11 months ago

Thank you so much for this article! This was a great read :)

pedro3087 commented 8 months ago

thanks for the great information. Do you have any samples or a blog post where we can find more information about how to automate evals and Guardrails? thanks again.

eugeneyan commented 8 months ago

Here's some thinking on guardrails, especially how to bootstrap them with out-of-domain data.

knownbymanoj commented 7 months ago

Thank you for the article had an amazing time reading it and got so much clarity on the concepts.