Skip to content

Build a chatbot using Python and pre-trained models and then retrain it to speak like a character from a Shakespearean tavern.

Notifications You must be signed in to change notification settings

izzycrouch/ye-olde-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ye-olde-chatbot

Summary

In this repo I have huilt a chatbot using Python and pre-trained models (LLMs) and then retrained it to speak like a character from a Shakespearean tavern.

Objectives

- Build a chatbot using Python and pre-trained models
- Explore parameters and configurations for model behaviour
- Implement a simple user interface for interaction
- Explain the role of a system prompt in guiding chatbot responses
- Experiment with fine-tuning and custom prompts to guide chatbot behaviour

How to Run

  1. Clone repo
  2. Create and activate a venv
  3. Run pip install pytest transformers torch rich
  4. Run pytest to check that tests pass
  5. Run main.py

About

Build a chatbot using Python and pre-trained models and then retrain it to speak like a character from a Shakespearean tavern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages