Target Output

def generateRandomPassword():

password = ""
while len(password) < 6:

password += chr(random.randint(65, 90))

return password

Instruction: Given a word, find out its
length and its number of vowels.
Input: Word = "hello"

Instruction: Write a story with three
characters: a person, an animal and an
object.
Input: Person:
Animal: A dog.
Object: A laptop.

John, a programmer.

Instruction: Compose an email and send it
to your friend, asking for advice on what
to do in this situation.
Input: Situation:
and you have been working on a project
for the past few months. The deadline is
approaching, but you haven’t finished yet.
Your manager has asked you to stay late
every day this week to finish it.

You are a programmer

Instruction: What are some ways we can
make our school more eco-friendly?

Instruction: I am looking for a new
apartment. there are many options
available but they are all quite expensive.
i want to move as soon as possible.
me advice on what to do.

give
SELF-INSTRUCT- Aligning Language Model with Self Generated Instructions