Spaces:
Runtime error
Runtime error
| 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) | |