File size: 710 Bytes
30cf10e
 
77ba1a6
30cf10e
 
77ba1a6
 
 
30cf10e
 
77ba1a6
 
 
 
30cf10e
 
77ba1a6
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: PyCoder
emoji: 🐍
colorFrom: pink
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
license: mit
short_description: Lightweight Python coding chatbot (Qwen2.5-0.5B + LoRA)
models:
  - Qwen/Qwen2.5-0.5B-Instruct
  - ali4566544/qwen2.5-0.5b-instruct-python-lora
---

# PyCoder

A simple Python coding chatbot built with Gradio. It runs
[Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) with the
[ali4566544/qwen2.5-0.5b-instruct-python-lora](https://huggingface.co/ali4566544/qwen2.5-0.5b-instruct-python-lora)
adapter merged in, on CPU, and streams responses.

Run locally:

```bash
pip install gradio -r requirements.txt
python app.py
```