SmartSDLC – AI-Enhanced
Software Development
Lifecycle
Generative AI with IBM
Project Description:
SmartSDLC uses the Granite model from Hugging Face to speed up software
development. It lets users upload PDFs, generate clear requirements, turn prompts into
code, create tests, fix bugs, write docs, and chat with an AI helper. This project will be
deployed in Google Colab using Granite for easy setup and reliable performance.
Pre-requisites:
1. Gradio Framework Knowledge: Gradio Documentation
2. IBM Granite Models (Hugging Face): IBM Granite models
3. Python Programming Proficiency: Python Documentation
4. Version Control with Git: Git Documentation
5. Google Collab’s T4 GPU Knowledge: Google collab
Project Workflow:
Activity-1: Exploring Naan Mudhalavan Smart Interz Portal.
Activity-2: Choosing a IBM Granite Model From Hugging Face.
Activity-3: Running Application In Google Colab.
Activity-4: Upload your Project in Github.
Activity-1: Exploring Naan Mudhalavan Smart Interz Portal.
● Search for “Naan Mudhalavan Smart Interz” Portal in any Browser.
1
● Then Click on the first link. (Naanmudhalvan Smartinternz) Then login
with your details.
● Then you will be redirected to your account then click on “Projects”
Section. There you can see which project you have enrolled in here it is
“SmartSDLC – AI-Enhanced Software Development Lifecycle”.
2
● Then click on “Access Resources” and go to the “Guided Project” Section.
● Click on the “Go to workspace” section. Then you can find the detailed
3
explanation of Generative AI Project using IBM WatsonX API key.
● Click on “Project Workspace”, there you can find your project progress and
Place to upload “Demo link”.
● Now we have gone through portal understanding, now lets find a IBM
granite model from hugging face to integrate in our project.
4
Activity-2: Choose a IBM Granite model From Hugging Face.
● Search for “Hugging face” in any browser.
● Then click on the first link (Hugging Face), then click on signup and create
your own account in Hugging Face. Then search for “IBM-Granite models”
and choose any model.
5
● Here for this project we are using “granite-3.2-2b-instruct” which is
compatible fast and light weight.
● Now we will start building our project in Google collab.
6
Activity-3: Running Application in Google Collab.
● Search for “Google collab” in any browser.
● Click on the first link (Google Colab), then click on “Files” and then “Open
Notebook”.
7
● Click on “New Notebook”
● Change the title of the notebook “Untitled” to “Health AI”. Then click on
“Runtime”, then go to “Change Runtime Type”.
8
● Choose “T4 GPU” and click on “Save”
● Then run this command in the first cell “!pip install transformers torch
gradio PyPDF2 -q”. To install the required libraries to run our application.
● Then run the rest of the code in the next cell.
9
10
● You can find the code here in this link: SmartSDLC
OUTPUT:
● Now you can see our model is being Downloaded and application is
running
11
● Click on the URl to open the Gradio Application click on the link
● You can View the Application is the running in the other tab
Activity-4: Upload Your Project in GitHub.
● Search for “GitHub” in any browser, then click on the first link (GitHub).
12
● Then click on “Signup” and create your own account in GitHub. If you
already have an account click on “Sign in”
● Click on “Create repository”.
13
● In “General” Name your repo. (Here I have given “IBM-Project” as my repo
name and it is available)
● In “Configurations” Turn On “Add readme” file Option.
14
● Now Download your code from Google collab by Clicking on “File”, then
Goto “Download” then download as “.py”.
● Then your repository is created, then Click on “Add file” Option. Then Click
15
“Upload files” to upload your files.
● Click on “choose your files”.
● Choose your project file and click on “Open”.
16
● After your file has Uploaded Click on “Commit changes”.
17