{ "cells": [ { "cell_type": "markdown", "id": "af388e13", "metadata": {}, "source": [ "# ๐ŸŒ€ VoiceShift Hybrid\n", "\n", "This Colab project builds a **hybrid text transformation pipeline** that combines **OpenAI GPT** and a **Hugging Face model** to summarize and restyle text.\n", "\n", "---\n", "\n", "## โš™๏ธ Pipeline\n", "1. **Summarize** with GPT (`gpt-4o-mini`) โ€” concise and factual summary. \n", "2. **Rewrite tone/style** with Hugging Face (`mistralai/Mistral-7B-Instruct-v0.1`). \n", "3. **Streamed output** displayed live through Gradio UI.\n", "\n", "---\n", "\n", "## ๐Ÿง  Highlights\n", "- Combines **frontier + open-source models** in one workflow. \n", "- Supports **4-bit quantized loading** (fallback to fp16/fp32). \n", "- Simple **Gradio interface** with real-time GPT streaming. \n", "\n", "---\n", "\n", "## ๐Ÿ“˜ Notebook\n", "๐Ÿ‘‰ [Open in Google Colab](https://colab.research.google.com/drive/1ZRPHKe9jg6nf1t7zIe2jjpUULl38jPOJ?usp=sharing)\n", "\n", "---\n", "\n", "## ๐Ÿงฉ Tech Stack\n", "`OpenAI API ยท Transformers ยท BitsAndBytes ยท Torch ยท Gradio`\n", "\n", "---\n", "\n", "## ๐Ÿ’ก Summary\n", "**VoiceShift Hybrid** shows how a **frontier model ensures accuracy** while a **local model personalizes style**, achieving both **precision and creativity** in one simple, efficient pipeline.\n" ] } ], "metadata": { "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 5 }