0% found this document useful (0 votes)
7 views4 pages

HarryPotter HomeworkAssignment-2

This homework assignment focuses on designing a custom classification for a Harry Potter chatbot and teaching it to the bot. Students are instructed to submit their responses within specified red tags and include a classification table and chat log. Optional sections allow for comparison of language models and customization of system prompts.

Uploaded by

swapb2704
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

HarryPotter HomeworkAssignment-2

This homework assignment focuses on designing a custom classification for a Harry Potter chatbot and teaching it to the bot. Students are instructed to submit their responses within specified red tags and include a classification table and chat log. Optional sections allow for comparison of language models and customization of system prompts.

Uploaded by

swapb2704
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Harry Potter – Homework Assignment 2

Your name: Your email:

Assignment 2 - Goals
1. Learn how to design a custom classification for your Harry Potter chatbot
2. Learn how to teach your custom classification to your Harry Potter chatbot

Assignment 2 – Instructions:
1. Only submit one PDF document. If editing in Word, you can export your assignment into a PDF file by clicking on: File -> Save
As -> File Format: “PDF”
2. Respond only within the red tags: <Start Student Response> response <End Student Response>. Do not delete the red tags.
3. Copy and paste your CSV table when answering question 2-2. Do not upload a separate CSV file when submitting this
homework assignment.
4. To answer question 2-3, please paste your chat log. (Remember where you save this chat log, as it will be helpful during the
Final Project)

2-1 Classification Table provided by Institute: Here is an example of one such classification table as provided by the AI Institute.

Name of
Spell First Introduced by Subsequent Users How was Spell Used
Lumos Albus Dumbledore Harry Potter To create light
Expelliarm To disarm
us Severus Snape Harry Potter opponents
Avada
Kedavra Voldemort Death Eaters To kill opponents
Alohomora Hermione Granger Harry Potter To unlock doors
Accio Barty Crouch Jr. Harry Potter To summon objects

2-2 Classification Table provided by Students: Please design your own classification table and paste the table below. (Do not submit
an extra .csv file when submitting this assignment.) See file HarryPotterSpell_Assignment_2_Classification.csv as a template for
designing your own classification.

Confidential and Proprietary of AI Institute © 2024


Harry Potter – Homework Assignment 2
Your name: Your email:

<Start Student Response>

<End Student Response>

2-3 Quality of Prompt with Classification Table: Please upload your custom classification CSV file into your chatbot. Then, design 3
to 5 prompts to test your custom classification.

For your convenience, we have listed few prompts which are based upon the classification table provided by AI Institute:
1. Can you list a couple of spells from the book “The Sorcerer’s stone”?

2. Which spells were introduced by Albus Dumbledore?

3. Can you name the spell which levitates a feather.

4. Who introduced this spell?

After testing your custom classification with your sample prompts, please save a copy your chat log to your computer and then paste
the conversation below:

Confidential and Proprietary of AI Institute © 2024


Harry Potter – Homework Assignment 2
Your name: Your email:

<Start Student Response>

<End Student Response>

2-4 LLM Comparison (Optional): Try out the prompts you created in question 2-3 with a different language model (like
Mistral), and compare its performance to the GPT4 model in terms of cost and token size. Report your findings.

<Start Student Response>

<End Student Response>

Confidential and Proprietary of AI Institute © 2024


Harry Potter – Homework Assignment 2
Your name: Your email:

2-5 Customized System Prompt (Optional): Can you customize System Prompt to match your user persona identified earlier.

<Start Student Response>

<End Student Response>

Confidential and Proprietary of AI Institute © 2024

You might also like