--- title: Llama-2 Chatbot emoji: 🦙 colorFrom: blue colorTo: indigo sdk: gradio sdk_version: "4.44.0" python_version: "3.10" app_file: app.py pinned: false --- # 🦙 Llama-2-7B Chatbot A modern AI chatbot powered by **Llama-2-7B** (GGMLv3 Q2_K quantized), running fully offline with a Gradio web interface. ## ✨ Features - **Offline AI**: No internet connection required after model download. - **Llama-2 Chat Template**: Optimized prompting for assistant-style responses. - **Conversation History**: Maintains context across multiple turns. - **Clean UI**: Powered by Gradio with a soft blue theme. ## 🛠️ Setup ### 1. Install Dependencies ```bash pip install -r requirements.txt ``` ### 2. Download the Model Upload `llama-2-7b-chat.ggmlv3.q2_K.bin` (~2.8GB) to this Space's Files tab. ### 3. Run the App ```bash python app.py ``` ## 📂 Files - `app.py` — Gradio web interface - `tkinter_app.py` — Desktop Tkinter version - `requirements.txt` — Python dependencies --- Created by [d-e-e-k-11](https://huggingface.co/d-e-e-k-11)