Skip to content

alefinvest/q4-w2-homework

Repository files navigation

Weekend Project - Week 2 Homework

To consolidate this week's knowledge, students should complete the following project:

  1. Create a GitHub repository for your project
  2. Add all group members as collaborators
  3. Create a README.md file with your project description
  4. Use the story-telling-app as a base repository or create a new application from scratch using NextJS
  5. Implement a table of characters that users can create for the story
    • Users should be able to add, edit, and delete characters
    • Each new character should have a name, description, and personality
  6. Customize the prompt to generate a story using user-created characters, if any
  7. Implement a summary of each character's role in the story after the full text has been generated
  8. Test different models for story generation and compare their outputs
    • Evaluate how well the models "remember" user-created characters
    • Experiment with different context window sizes across models to observe their impact on output
    • Test models of varying sizes and observe how this influences the output
      • Use models compatible with your device, focusing on the experiment rather than overall story quality
  9. Submit your project via the submission form

Getting Started

Setup AI Backend

  • add OpenAI API Key to .env.local
  • or use local AI backend

Install

  • git clone this repo
  • cd into the directory
  • install dependencies
git clone [email protected]:alefinvest/q4-w2-homework.git
cd q4-w2-homework
npm install

Run project

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Screenshot (draft version)

Screenshot 2024-09-06 at 17 20 26

Change OpenAI for local AI

Run the Text Generation UI. The API will be available in http://127.0.0.1:5000/

Testing the app with different models

Story generated with llama-2-7b-chat.Q4_K_M.gguf:

Story generated with Phi-3.5-mini-instruct:

Contributors

This homework has been done by the following members of GROUP 15:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •