Text Generation
Safetensors
Vietnamese
English
qwen2
qwen
qwen2.5-coder
polymath
coding-agent
react-agent
tool-calling
vietnamese
security
cwe
cpp20
unsloth
conversational
Instructions to use khoin68/Qwen2.5-Coder-7B-VN-Master-Polymath-16bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Desktop
👑 Qwen2.5-Coder-7B-VN-Master-Polymath (16-bit Full Model)
Phiên bản Hợp nhất 16-bit Nguyên Bản (Full Precision): Trợ lý AI tiếng Việt "Văn Võ Song Toàn" toàn năng.
📌 1. TỔNG QUAN PHIÊN BẢN 16-BIT (STANDALONE MODEL)
Đây là bản mô hình Hợp nhất Toàn phần 16-bit (Merged 16-bit Safetensors) chính thức, kết tinh từ lộ trình đào tạo 5 giai đoạn với hơn 150.000+ mẫu dữ liệu:
- ⚔️ Về Võ: Code C++20/23, Python Backend, Web SPA (React/Vite/Tailwind), vá lỗi bảo mật CWE và ReAct Coding Agent.
- 📜 Về Văn: Bách khoa toàn thư 63 tỉnh thành, lịch sử, pháp luật và xuất khẩu thành thơ Lục Bát chuẩn luật Bằng - Trắc.
💻 2. HƯỚNG DẪN SỬ DỤNG TRONG PYTHON (TRANSFORMERS / VLLM)
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "khoin68/Qwen2.5-Coder-7B-VN-Master-Polymath-16bit"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [
{"role": "system", "content": "Bạn là Siêu Trợ lý AI tiếng Việt toàn năng, vừa là Kỹ sư Lập trình viên Senior, vừa am hiểu bách khoa và có tâm hồn thi sĩ."},
{"role": "user", "content": "Viết giúp mình một hàm C++ sử dụng std::span để duyệt mảng an toàn nhé!"}
]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to("cuda")
outputs = model.generate(input_ids=inputs, max_new_tokens=512, temperature=0.65, top_p=0.92)
print(tokenizer.batch_decode(outputs)[0])
📜 3. BẢN QUYỀN & TÁC GIẢ
Phát triển bởi: @khoin68.
Base Architecture: Alibaba Cloud Qwen Team & Unsloth AI.

- Downloads last month
- 134