Downloads · 30 days
227
33% of all-time downloads
khoin68/Qwen2.5-Coder-7B-Vietnamese-GGUF
Qwen2.5-Coder-7B-Vietnamese-GGUF is a text generation model from khoin68. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
<p align="center" <img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/ <bPhiên bản Khởi đầu (v1.0): Mô hình AI Lập trình viên tiếng Việt tự nhiên, tố…
Downloads · 30 days
227
33% of all-time downloads
All-time downloads
695
Public
Repo size
4.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.7 GB · 100%
From the Hugging Face model README
Đây là bản phát hành thử nghiệm đầu tiên (v1.0 Community Preview) trong chuỗi dự án tối ưu hóa mô hình lập trình cho cộng đồng lập trình viên Việt Nam.
Mô hình được tinh chỉnh bằng phương pháp QLoRA 4-bit (Unsloth) trên nền tảng Qwen2.5-Coder-7B-Instruct, tập trung giải quyết các điểm nghẽn lớn của các mô hình nước ngoài:
k, ko, dc, ae, mn, bh, z b, fix bug, sập sv, dính cors, nuốt lỗi...).# VAI TRÒ & MỤC TIÊU, phân tích nguyên nhân lỗi, khối code có comment tiếng Việt và bảng so sánh).Dự án được xây dựng theo quy trình huấn luyện 5 tầng chuyên sâu:
<thought> + <tool_call>, C++20/23 chuyên sâu, Vá lỗi bảo mật CWE, phong cách Gemini).Qwen/Qwen2.5-Coder-7B-Instructall-linear.q4_k_m) tương thích hoàn hảo với CPU và GPU phổ thông.~4.68 GB (Nạp vừa vặn trong 8GB VRAM hoặc 8GB - 16GB RAM máy tính).ModelfileTải file qwen2.5-coder-7b-instruct.Q4_K_M.gguf về máy và tạo file Modelfile trong cùng thư mục:
FROM ./qwen2.5-coder-7b-instruct.Q4_K_M.gguf
# Thiết lập tham số tối ưu
PARAMETER num_ctx 8192
PARAMETER temperature 0.6
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.15
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>"""
SYSTEM """Bạn là trợ lý AI chuyên gia lập trình. TUYỆT ĐỐI chỉ trả lời bằng Tiếng Việt và Code chuẩn mực."""
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
Bước 2: Khởi tạo và chạy trên Terminal
code
# Tạo model vào Ollama
ollama create qwen-vn-v1 -f Modelfile
# Trò chuyện trực tiếp
ollama run qwen-vn-v1
📜 5. BẢN QUYỀN & TÁC GIẢ Phát triển và huấn luyện bởi: @khoin68. Tối ưu hóa mã nguồn mở: Unsloth AI Team & Alibaba Cloud Qwen Team.