Spaces:
Sleeping
Sleeping
walidsobhie-code commited on
Commit ·
c71c4d0
1
Parent(s): 79d1d62
Update README
Browse files
README.md
CHANGED
|
@@ -1,46 +1,27 @@
|
|
| 1 |
-
|
| 2 |
-
title: Stack 2.9 Code Assistant
|
| 3 |
-
emoji: 💻
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: purple
|
| 6 |
-
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
-
tags:
|
| 9 |
-
- code-generation
|
| 10 |
-
- python
|
| 11 |
-
- qwen
|
| 12 |
-
- coding-assistant
|
| 13 |
-
- fine-tuned
|
| 14 |
-
---
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
-
- **Fine-tuned on:** Stack Overflow Q&A (Python-heavy)
|
| 24 |
-
- **Context Length:** 32K tokens
|
| 25 |
-
- **Parameters:** 1.5B
|
| 26 |
-
- **License:** Apache 2.0
|
| 27 |
-
- **Hub:** [my-ai-stack/Stack-2-9-finetuned](https://huggingface.co/my-ai-stack/Stack-2-9-finetuned)
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
-
##
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
This demo runs the **actual fine-tuned model**, not the base Qwen2.5-Coder.
|
| 43 |
-
|
| 44 |
-
## Hardware
|
| 45 |
-
|
| 46 |
-
The 1.5B model fits on free T4 GPU on HuggingFace Spaces (~4GB VRAM FP16).
|
|
|
|
| 1 |
+
# Stack 2.9 Code Assistant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
A free HuggingFace Space demo running **Qwen2.5-Coder-1.5B-Instruct** — a capable open-source coding model.
|
| 4 |
|
| 5 |
+
## About This Demo
|
| 6 |
|
| 7 |
+
This Space demonstrates a coding assistant built on Qwen2.5-Coder. The model is excellent at:
|
| 8 |
+
- Python, JavaScript, TypeScript, and 50+ languages
|
| 9 |
+
- Code completion and generation
|
| 10 |
+
- Debugging and bug fixes
|
| 11 |
+
- Explaining code concepts
|
| 12 |
|
| 13 |
+
## Fine-Tuned Version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
The full fine-tuned model (`my-ai-stack/Stack-2-9-finetuned`) was trained on Stack Exchange data but requires paid LFS storage on HuggingFace (6GB model file exceeds free tier).
|
| 16 |
|
| 17 |
+
For local deployment with the fine-tuned weights, use:
|
| 18 |
+
```bash
|
| 19 |
+
ollama pull walidsobhie/stack-2-9
|
| 20 |
+
ollama run walidsobhie/stack-2-9
|
| 21 |
+
```
|
| 22 |
|
| 23 |
+
## Technical Details
|
| 24 |
|
| 25 |
+
- **Model:** Qwen/Qwen2.5-Coder-1.5B-Instruct
|
| 26 |
+
- **Framework:** Gradio + Transformers
|
| 27 |
+
- **Hardware:** Free T4 GPU (HuggingFace Spaces)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|