Welcome to the Dialogue Summarization Lab, part of the "Generative AI with Large Language Models" course by AWS and DeepLearning.AI! This project showcases the power of FLAN-T5 in summarizing conversations using various prompt engineering techniques. Dive into the world of natural language processing and experience firsthand how large language models can transform raw dialogues into concise, meaningful summaries.
To get started with this lab, follow these steps:
- Clone the repository:
git clone https://github.com/azaynul10/generative-ai-llm-dialogue-summarization.git
- Navigate to the project directory:
cd generative-ai-llm-dialogue-summarization
- Install the required dependencies:
pip install torch torchdata transformers datasets
- Open the Jupyter notebook in the
lab1
directory. - Run the cells to load the DialogSum dataset and initialize the FLAN-T5 model.
- Experiment with different prompt engineering techniques:
- Zero-shot learning
- One-shot learning
- Few-shot learning
- Adjust the sampling temperature to see how it affects the generated summaries.
- Analyze the results and compare the effectiveness of different approaches.
- FLAN-T5 Model: Utilize the powerful FLAN-T5 model for dialogue summarization.
- DialogSum Dataset: Work with a rich, public dataset of conversations.
- Prompt Engineering: Explore zero-shot, one-shot, and few-shot learning techniques.
- Customizable Parameters: Experiment with sampling temperature and other settings.
- Python-based: Leverages popular libraries like PyTorch, Transformers, and Datasets.
We welcome contributions to improve this lab! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- AWS and DeepLearning.AI for creating this insightful course
- Hugging Face for providing the Transformers library and FLAN-T5 model
- The creators of the DialogSum dataset
Happy summarizing! 🚀📚