Updated to include three new chapters on transformers, natural language understanding (NLU) with explainable AI, and dabbling with popular LLMs from Hugging Face and OpenAI
Key Features- Leverage ready-to-use recipes with the latest LLMs, including Mistral, Llama, and OpenAI models
- Use LLM-powered agents for custom tasks and real-world interactions
- Gain practical, in-depth knowledge of transformers and their role in implementing various NLP tasks with open-source and advanced LLMs
- Purchase of the print or Kindle book includes a free PDF eBook
- Understand fundamental NLP concepts along with their applications using examples in Python
- Classify text quickly and accurately with rule-based and supervised methods
- Train NER models and perform sentiment analysis to identify entities and emotions in text
- Explore topic modeling and text visualization to reveal themes and relationships within text
- Leverage Hugging Face and OpenAI LLMs to perform advanced NLP tasks
- Use question-answering techniques to handle both open and closed domains
- Apply XAI techniques to better understand your model predictions
This updated edition of the Python Natural Language Processing Cookbook is for data scientists, machine learning engineers, and developers with a background in Python. Whether you’re looking to learn NLP techniques, extract valuable insights from textual data, or create foundational applications, this book will equip you with basic to intermediate skills. No prior NLP knowledge is necessary to get started. All you need is familiarity with basic programming principles. For seasoned developers, the updated sections offer the latest on transformers, explainable AI, and Generative AI with LLMs.