Create model_card.md
Browse files- model_card.md +29 -0
model_card.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: vi
|
| 3 |
+
tags:
|
| 4 |
+
- code-generation
|
| 5 |
+
- code-assistant
|
| 6 |
+
- huggingface
|
| 7 |
+
license: mit
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# 🚀 SuperPro Code Generator
|
| 11 |
+
|
| 12 |
+
**Model code siêu siêu giỏi pro** – Dùng Hugging Face Inference API.
|
| 13 |
+
|
| 14 |
+
### Mô tả
|
| 15 |
+
Đây là wrapper model giúp bạn sinh code **production-ready** cực mạnh bằng cách gọi DeepSeek-V3.2 (hoặc Qwen2.5-Coder) qua HF Inference.
|
| 16 |
+
|
| 17 |
+
### Cách sử dụng (siêu đơn giản)
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from huggingface_hub import InferenceClient
|
| 21 |
+
import os
|
| 22 |
+
|
| 23 |
+
# Set token
|
| 24 |
+
os.environ["HF_TOKEN"] = "hf_xxxxxxxx"
|
| 25 |
+
|
| 26 |
+
# Tải model card này về hoặc clone repo
|
| 27 |
+
# Sau đó dùng class SuperProCodeModel (xem app.py hoặc README)
|
| 28 |
+
|
| 29 |
+
client = InferenceClient("tên-user-của-bạn/superpro-code-generator")
|