Web UI for LLMs, built with Keras, Langchain, and Fastchat
Top 99.7% on sourcepulse
This project provides a web UI for interacting with and learning about large language models, targeting developers and researchers. It enables offline deployment and testing of Hugging Face models, offering features like chat, quantization, fine-tuning, RAG, and multimodal capabilities, aiming to simplify LLM experimentation.
How It Works
The project leverages Langchain and Fastchat for its core architecture, with a Streamlit-based UI. It supports loading various open-source LLMs, including quantized versions, and integrates auxiliary models for RAG, code interpretation, speech recognition/generation, and image recognition/generation. This modular approach allows for combining multiple models to achieve complex functionalities like Agents and multimodal interactions.
Quick Start & Requirements
conda create -n keras-llm-robot python==3.11.5
), activate it (conda activate keras-llm-robot
), and install dependencies (pip install -r requirements-ubuntu.txt
or platform-specific equivalent).build-essential
, ffmpeg
, portaudio19-dev
. Windows requires CMake.python __webgui_server__.py --webui
for local access. Reverse proxy setup is recommended for cloud deployments.Highlighted Details
Maintenance & Community
The project is actively updated, with recent additions including support for Gemma, Qwen2, and Google Photos tool. It is based on Langchain and Fastchat.
Licensing & Compatibility
The project appears to be open-source, but the specific license is not explicitly stated in the README. Compatibility for commercial use would require verification of underlying dependencies and the project's own license.
Limitations & Caveats
Fine-tuning is currently limited to Linux systems. macOS support for flash-attn
and bitsandbytes
is not guaranteed, and Windows installation for these libraries may require manual downloads. Some advanced features like fine-tuning and specific model quantizations might have platform-specific requirements or limitations.
6 months ago
1 week