Download the example code files
You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/Mastering-NLP-from-Foundations-to-LLMs If there’s an update to the code, it will be updated in the GitHub repository.
Throughout the book we review complete code notebooks that represent solutions on a professional industry level:
Chapter |
Notebook Name |
4 |
Ch4_Preprocessing_Pipeline.ipynb Ch4_NER_and_POS.ipynb |
5 |
Ch5_Text_Classification_Traditional_ML.ipynb |
6 |
Ch6_Text_Classification_DL.ipynb |
8 |
Ch8_Setting_Up_Close_Source_and_Open_Source_LLMs.ipynb Ch8_Setting_Up_LangChain_Configurations_and_Pipeline.ipynb |
9 |
Ch9_Advanced_LangChain_Configurations_and_Pipeline.ipynb Ch9_Advanced_Methods_with_Chains.ipynb Ch9_Completing_a_Complex_Analysis_with_a_Team_of_LLM_Agents.ipynb Ch9_RAGLlamaIndex_Prompt_Compression.ipynb Ch9_Retrieve_Content_from_a_YouTube_Video_and_Summarize.ipynb |
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!