codecraft / README.md
serotoninboi's picture
upgrade to Qwen3-Coder-30B-A3B-Instruct (MoE, 3B active) - ZeroGPU xlarge
600ed76
|
Raw
History Blame Contribute Delete
1.71 kB

A newer version of the Gradio SDK is available: 6.26.0

Upgrade
metadata
title: CodeCraft - Qwen3-Coder-30B
emoji: πŸ’»
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 5.23.3
app_file: app.py
pinned: false
python_version: '3.12'

CodeCraft - AI Coding Assistant

Powered by Qwen3-Coder-30B-A3B-Instruct running on Hugging Face ZeroGPU (xlarge). A Mixture-of-Experts model with 30B total params (3B active) β€” matches or exceeds much larger models on coding benchmarks.

Chat with a cutting-edge coding assistant. Supports code generation, debugging, refactoring, explanation, and general programming help across all major languages.

Features

  • πŸ’¬ Chat interface with syntax-highlighted code blocks
  • βš™οΈ Adjustable parameters: temperature, top-p, max tokens (up to 8192), system prompt
  • πŸ“‘ Built-in API endpoint at /gradio_api/call/predict for programmatic use
  • 🎨 Syntax-highlighted output via Gradio Markdown + code blocks
  • πŸ”„ 256K context β€” handle entire codebases in conversation
  • πŸ› οΈ Agentic tool-use support (function calling, ReAct, structured output)

API Usage

Every Gradio Space exposes a REST API at /gradio_api/call/predict. For this Space:

import requests

response = requests.post(
    "https://serotoninboi-codecraft.hf.space/gradio_api/call/predict",
    json={
        "data": [
            "write a fibonacci function in rust",
            "You are a helpful coding assistant.",
            0.3,
            0.9,
            2048
        ]
    }
)
print(response.json())

Model

Qwen/Qwen3-Coder-30B-A3B-Instruct β€” 30B MoE (3B active) code-specific LLM with 256K context, built for agentic coding tasks.