Giter Site home page Giter Site logo

wisteen / holiday-greeting-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amajai/holiday-greeting-generator

0.0 0.0 0.0 32 KB

AI-powered app for generating personalized holiday greetings using a LLM model, making celebrations special with tailored messages for Christmas, New Year, Eid, and more!

Home Page: https://holiday-greeting-generator.onrender.com

License: MIT License

JavaScript 9.26% Python 44.41% CSS 3.46% HTML 42.86%

holiday-greeting-generator's Introduction

Holiday Greeting Generator App

Animation2

Link: https://holiday-greeting-generator.onrender.com (The web app may take a few seconds to load up)

An Artificial Intelligence (AI) text generation application that lets you generate personalized holiday greetings for various occasions! Whether it's Christmas, New Year, Eid, or any other special day, this app is here to help you spread joy and warmth with customized greetings. It is powered by a Large Language Model (LLM) called Zephyr-7B-β through HuggingFace Inference API.

Overview

The App leverages Zephyr-7B-β, a fine-tuned model in the Zephyr series, designed to act as a helpful assistant. Trained on a mix of publicly available and synthetic datasets using Direct Preference Optimization (DPO), this language model brings a touch of personalization to your holiday greetings.

Technologies Used

  1. Flask - The backend is powered by Flask, providing a robust and scalable foundation.
  2. JavaScript and jQuery - Enhance user interactivity and dynamically update the page without reloading.
  3. Ajax - Asynchronous communication with the server to fetch and display data in real-time.
  4. Bulma for CSS - Stylish and responsive design using Bulma, making the app visually appealing. It's simple to work with.
  5. Render - Hosted flask app with Render web service.

Features

  1. Holiday Selection: Choose from a variety of holidays, occasions, special days/weeks/months to tailor your greeting.
  2. Optional Inputs: Personalize your greeting further by providing optional details:
    • Receiver Name - The name of the person to whom the holiday greeting is addressed.
    • Receiver Location - The location or place where the receiver is currently situated.
    • Sentiments - The emotional tone or feelings expressed in the greeting, such as joyous, warm, or celebratory.
    • Relation - The nature of the relationship between the sender and the receiver (e.g., friend, family, colleague).
    • Greeting Type - The style or formality of the greeting, whether it's formal, casual, or personalized.
    • Keywords - Specific words or phrases to be incorporated into the greeting for added personalization or thematic relevance.
  3. Button to easily copy generated text: with one click, you can copy the generated greeting.

Sample Usage

The greeting generation process involves seven input parameters, with one being mandatory while the remaining six are optional. An illustrative example is provided below for reference:

Required Input:

  • Holiday: New Year

Optional Inputs:

  • Receiver Name: John Doe
  • Receiver Location: Abuja
  • Sentiments: Warm joyful
  • Relation: Friend
  • Greeting Type: Formal
  • Keywords: Peace, Happiness, Celebration

Citation

@misc{tunstall2023zephyr,
      title={Zephyr: Direct Distillation of LM Alignment}, 
      author={Lewis Tunstall and Edward Beeching and Nathan Lambert and Nazneen Rajani and Kashif Rasul and Younes Belkada and Shengyi Huang and Leandro von Werra and Clémentine Fourrier and Nathan Habib and Nathan Sarrazin and Omar Sanseviero and Alexander M. Rush and Thomas Wolf},
      year={2023},
      eprint={2310.16944},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

holiday-greeting-generator's People

Contributors

amajai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.