https://github.com/adamelliotfields/gradio-2b-chat
Chat with small language models under 2b
https://github.com/adamelliotfields/gradio-2b-chat
gradio pytorch small-language-models transformers
Last synced: 10 months ago
JSON representation
Chat with small language models under 2b
- Host: GitHub
- URL: https://github.com/adamelliotfields/gradio-2b-chat
- Owner: adamelliotfields
- License: apache-2.0
- Created: 2025-04-09T03:14:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-06T15:24:17.000Z (about 1 year ago)
- Last Synced: 2025-06-27T06:06:48.869Z (12 months ago)
- Topics: gradio, pytorch, small-language-models, transformers
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gradio-2b-chat
## Introduction
This is a simple Gradio chat UI for interacting with small langauge models.
## Models
All ungated models under 2B parameters:
- [01-ai/Yi-Coder-1.5B-Chat](https://huggingface.co/01-ai/Yi-Coder-1.5B-Chat)
- [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct)
- [HuggingFaceTB/SmolLM2-360M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-Instruct)
- [HuggingFaceTB/SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct)
- [ibm-granite/granite-3.0-2b-instruct](https://huggingface.co/ibm-granite/granite-3.0-2b-instruct)
- [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct)
- [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct)
- [Qwen/Qwen2.5-Coder-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct)
- [stabilityai/stablelm-2-zephyr-1_6b](https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b)
- [THUDM/glm-edge-1.5b-chat](https://huggingface.co/THUDM/glm-edge-1.5b-chat)
## Installation
```bash
# install
uv venv
uv pip install -r requirements.txt
# gradio
source .venv/bin/activate
gradio app.py
```