Templates for Chat Models
huggingface.co · 1,388 words · saved by 1 readers
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
The chat basics guide covers how to store chat histories and generate text from chat models using TextGenerationPipeline. This guide is intended for more advanced users, and covers the underlying classes and methods, as well as the key concepts for understanding what’s actually going on when you chat with a model. The critical insight needed to understand chat models is this: All causal LMs, whether chat-trained or not, continue a sequence of tokens. When causal LMs are trained, the training usually begins with “pre-training” on a huge corpus of text, which creates a “base” model. These…
related reading
- The Shape of AI | UX Patterns for Artificial Intelligence Designshapeof.ai
- OpenAI | Research & Deploymentopenai.com
- LLM Visualizationbbycroft.net
- openai's chat markup language · GitHubgist.github.com
- Prompting best practicesdocs.anthropic.com
- Cookbookcookbook.openai.com
- API Overview | OpenAI API Referenceplatform.openai.com
- AI Learning Resources & Guides from Anthropic \ Anthropicanthropic.com
- LangChain: the open agent platform to own your intelligencelangchain.com
- Hugging Face – The AI community building the future.huggingface.co
- Parsed | Custom, interpretable AI systems that continuously learnparsed.com
- Prompt generation | OpenAI APIplatform.openai.com