chatbot / README.md
d-e-e-k-11's picture
Fix: Add HF Spaces YAML configuration to README
4758905 verified

A newer version of the Gradio SDK is available: 6.14.0

Upgrade
metadata
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

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

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