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.
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.
- Flask - The backend is powered by Flask, providing a robust and scalable foundation.
- JavaScript and jQuery - Enhance user interactivity and dynamically update the page without reloading.
- Ajax - Asynchronous communication with the server to fetch and display data in real-time.
- Bulma for CSS - Stylish and responsive design using Bulma, making the app visually appealing. It's simple to work with.
- Render - Hosted flask app with Render web service.
- Holiday Selection: Choose from a variety of holidays, occasions, special days/weeks/months to tailor your greeting.
- 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.
- Button to easily copy generated text: with one click, you can copy the generated greeting.
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:
- Holiday: New Year
- Receiver Name: John Doe
- Receiver Location: Abuja
- Sentiments: Warm joyful
- Relation: Friend
- Greeting Type: Formal
- Keywords: Peace, Happiness, Celebration
@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}
}