Coder Social home page Coder Social logo

rochitasundar / generative-ai-with-large-language-models Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 223 KB

This repository contains the lab work for Coursera course on "Generative AI with Large Language Models".

Home Page: https://www.coursera.org/account/accomplishments/certificate/8JAYVEUAQF56

Jupyter Notebook 100.00%
flan-t5 instruction-finetuning kl-divergence large-language-models llm-evaluation low-rank-adaptation parameter-efficient-fine-tuning prompt-engineering proximal-policy-optimization reinforcement-learning reward-model transformer

generative-ai-with-large-language-models's Introduction

Generative-AI-with-Large-Language-Models

This repository contains the lab work for Coursera course on "Generative AI with Large Language Models".

1. Lab 1 - Generative AI Use Case: Summarize Dialogue

Perform dialog summarization using Generative AI. Experiment with in context learning such as zero shot, one shot and few shot inferences and tune associated configuration parameters at inference to influence results.

2. Lab 2 - Fine-tune a generative AI model for dialogue summarization

Perform instruction fine tuning on an existing LLM from Hugging Face, Flan-T5 model. Explore both full fine tuning as well as PEFT (Parameter Efficient Fine Tuning) methods such as LoRA (Low Rank Adaptation) and evaluation using ROUGE metrics.

3. Lab 3 - Fine-tune FLAN-T5 with reinforcement learning to generate more-positive summaries

Further fine tune a Flan-T5 model using reinforcement learning with a reward model such as Meta AI's hate speech reward model to generate less toxic summaries. Use Proximal Policy Optimization (PPO) to fine-tune and detoxify the model.

generative-ai-with-large-language-models's People

Contributors

rochitasundar avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.