|
Download model_card.md from PenStack/SupperCodeBase: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/PenStack/SupperCodeBase/resolve/main/model_card.md
- Command line
-
hf download hf://PenStack/SupperCodeBase/model_card.md
-
curl -L -o model_card.md https://huggingface.co/PenStack/SupperCodeBase/resolve/main/model_card.md
1.16 kB
metadata
language: vi
tags:
- code-generation
- code-assistant
- huggingface
- python
license: mit
🚀 SuperPro Code Generator
Model code siêu siêu giỏi pro – Wrapper dùng Hugging Face Inference API.
Mô tả
Đây là class Python giúp bạn sinh code production-ready cực mạnh bằng cách gọi model code mạnh nhất hiện tại (DeepSeek-V3.2 hoặc Qwen2.5-Coder).
Tính năng
- Viết code sạch, tối ưu, best practices
- Comment tiếng Việt
- Tự động thêm unit test, error handling, typing
- Hỗ trợ gần như tất cả ngôn ngữ lập trình
- Production-ready
Cách sử dụng (rất đơn giản)
# 1. Cài thư viện
pip install huggingface_hub
# 2. Code sử dụng
from SuperProCodeModel import SuperProCodeModel
import os
# Set token (KHÔNG paste trực tiếp vào code public)
os.environ["HF_TOKEN"] = "hf_xxxxxxxxxxxx" # ← thay bằng token thật của bạn
model = SuperProCodeModel()
result = model.generate(
task="Xây dựng FastAPI CRUD User với JWT authentication, PostgreSQL, SQLAlchemy và full pytest",
language="Python"
)
print(result)