self-chat / README.md
xu-song's picture
Update README.md
a2580f9 verified

A newer version of the Gradio SDK is available: 5.7.1

Upgrade
metadata
title: Self Chat
emoji: πŸ€–~πŸ€–
colorFrom: yellow
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: apache-2.0
tags:
  - chatbot
short_description: Generating synthetic data via self-chatting

Dependency

Install llama-cpp-python with the following script

pip install git+https://github.com/abetlen/llama-cpp-python.git -C cmake.args="-DGGML_BLAS=ON;-DGGML_BLAS_VENDOR=OpenBLAS"

Local Inference

python models/cpp_qwen2.py

Serverless Inference

python client_gradio.py

For streaming inference

python client_streaming.py