
Learn to build a document-reading assistant with large language models in Python, using OpenAI, LangChain, and Llama Index in Saturn Cloud, with processing techniques like entity recognition and keyword extraction.
Install and use Anaconda as the data science platform for Python, choose the appropriate edition, manage environments with conda, and run Jupyter notebooks across Windows and macOS.
Explore Google Colab, a cloud-based platform to run Jupyter Notebooks in your browser and save them in a Colab Notebooks folder on Google Drive.
Learn how Google Colab provides access to gpu and tpu for deep learning, compares gpu and cpu, and enables hardware accelerator to run models efficiently.
Google Colab offers many pre-installed deep learning and machine learning packages, such as Keras and TensorFlow, and shows how to install more with pip to hit the ground running.
Explore Saturn Cloud as a cloud environment for python and large language models, offering gpu-enabled jupyter lab, VS Code, git integration, and free hours alongside Colab alternatives.
Launch and navigate the Saturn interface to set up and manage a JupyterLab workspace with Python notebooks, PDFs, Git integration, and kernel management.
Learn how to diagnose and fix memory issues when running large language models, including increasing disk space, RAM, and GPU options on Saturn Cloud.
Develop a document reading virtual assistant with llms, differentiate chatbots, conversational agents, and virtual assistants, and enable abstract generation, text summarization, answer generation, and semantic search.
Learn to access the OpenAI API by creating and managing API keys, logging in, and setting up a paid account with billing and usage limits.
Explore LangChain, a Python library that enables building LLM-powered applications with prompts, models, memory, indexes, and chains, wrappers for OpenAI and Hugging Face, and text splitting, embeddings, and vector stores.
Learn to extract text from a single or multiple PDFs in Colab using PDFx, install the package, load a PDF, and prepare the text for LLMs and NLP tasks.
Read text from multiple PDFs in Python using PyPDF2 and PdfReader. Iterate a pdf_dir, extract text from each page, and handle errors for robust PDF ingestion.
Learn a neater workflow for reading and extracting text from multiple pdfs using a pdf reader, directory iteration, and a reusable extract_pdf_text function, with simple formatting and robust file handling.
Present a rationale for a preliminary natural language processing analysis that helps a virtual reading assistant prioritize papers and generate summaries using LLMs in Python.
Use entity matching to surface PDFs with keywords mangrove and carbon, building an NLP workflow with spaCy, gensim, and LangChain to map entities to PDF sources and identify three papers.
Extract keywords from text chunks and PDFs by preprocessing text, removing stop words, and applying a tf-idf vectorizer to identify top keywords per chunk or file.
Learn how tf-idf measures word importance across pdfs by combining term frequency and inverse document frequency to extract significant keywords, highlighting themes while discussing stop words and customized removal.
Identify text similarity and quantify similarity using tfidf with cosine similarity and euclidean distance on cleaned documents. Explore sentence transformers and BERT for document embeddings to find most similar documents.
Learn a practical workflow to summarize PDFs in Python, using PyPDF2 and transformers to generate chunked summaries. Inspect methodologies, results, and figure references to understand summarization processes.
Set up the open ai key, import packages, and load a pdf summarization pipeline to generate chunked summaries using Langchain and large language models.
Explore how to use LangChain with OpenAI to load PDFs, create embeddings with Chroma, and build a memory-enabled QA system that answers questions from given text.
Configure environment with OpenAPI keys and data paths, load PDFs, split text into 1000 chunks without overlaps, build a Chroma vector store with OpenAI embeddings, and run Q&A with GPT-3.5-turbo-16k.
Learn to use LlamaIndex to connect LLMs with your data, build a vector store index from PDFs, and query documents with an efficient query engine.
Explore prompt engineering by designing prompts that define task definition, set context, use demonstrations, and control generation to guide ai models toward desired outputs.
Explore prompt engineering with LangChain to build text classification prompts for spam vs. ham, using OpenAI, train-test split, and prompt templates. Evaluate accuracy with an extraction chain and examples.
Explore Hugging Face as a platform to access and collaborate on large language models, computer vision, and multimodal tasks, with practical steps to create tokens and use the transformers API.
Provide a brief introduction to NumPy, highlighting its ndarray-based multi-dimensional arrays for data science, and show import conventions like np.array and np.eye.
Explore Pandas data structures, including series and data frames, create them from dictionaries and lists, and use loc and iloc for indexing while reading external data.
Learn to clean data with pandas in Python: read_csv, drop unused columns, and handle nulls with isnull and fillna, imputing age and fare by mean.
Explore data visualization as a visual context for data science, highlighting patterns, trends, and correlations through bar charts, pie charts, histograms, box plots, line charts, and scatter plots.
Explore how distributed computing frameworks coordinate parallel tasks across multiple nodes, handle faults, optimize resources, and scale with growing data using examples like Hadoop and Spark.
Learn to access a large language model using the Hugging Face hub, install required packages, and run the Falcon seven instruct model to generate text from prompts.
Explore how ai hallucinations amplify bias and discrimination, including bias magnification and synthetic discrimination, and adopt a layered approach with data curation, truth checking, bias detection, and human oversight.
Unlock the potential of large language models (LLM) with my comprehensive course: "Introduction to Large Language Models (LLMs) In Python." With a focus on LLM frameworks such as OpenAI, LangChain, and LLMA-Index, this course empowers you to build your own Document-Reading Virtual Assistant. Whether you're new to LLM implementation or seeking to advance your AI skills, this course offers an invaluable opportunity to explore the cutting-edge field of AI.
Course Highlights:
- Cloud-Based Python Environment: Harness the power of Saturn Cloud, a cloud-based Python environment, to implement robust LLM implementations.
- Practical Text Analysis: Learn to implement essential Natural Language Processing (NLP) techniques, including entity recognition and keyword extraction, to deconstruct the text documents
- Leveraging LLM Frameworks: Discover standard techniques for LLM frameworks, including LangChain, OpenAI and LLAMA-Index, for abstract summarization and querying.
Why Enroll in This Course?
By enrolling in this course, you're embarking on a journey to become an expert in harnessing the potential of text data with Large Language Models (LLMs). Driven by the vision of our experienced instructor, who holds an MPhil from the University of Oxford and a data-intensive PhD from Cambridge University, you'll receive the guidance needed to navigate the complexities of LLM implementation.
Beyond the course content, you'll benefit from continuous support, ensuring you extract the maximum value from your investment. Join our community of learners, immerse yourself in LLM analysis, and advance your expertise in AI and data science.
Enroll Now to Unlock the Power of Text Data With LLMs!