Downloads · 30 days
148
40% of all-time downloads
BachDaThan/Mistral-7B-sentiment-analysis-Vietnamese-GGUF
Mistral-7B-sentiment-analysis-Vietnamese-GGUF is a text generation model from BachDaThan. Use it when you need the model to write or continue text. It is set up for llama.cpp. The card lists the license as apache-2.0.
Model tiếng Việt được merge LoRA và quantize sang GGUF. Dung lượng bên dưới được đọc trực tiếp từ file sau khi build.
Downloads · 30 days
148
40% of all-time downloads
All-time downloads
368
Public
Repo size
15.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf15.2 GB · 100%
From the Hugging Face model README
Model tiếng Việt được merge LoRA và quantize sang GGUF. Dung lượng bên dưới được đọc trực tiếp từ file sau khi build.
| Thông số | Giá trị |
|---|---|
| Kiến trúc | mistral |
| Số layers | 32 |
| Hidden size | 4096 |
| Context window | 32768 |
| Head dim | 128 |
| Attention heads | 32 |
| KV heads | 8 |
| Vocabulary size | 32768 |
| Precision gốc | bfloat16 |
| Base Model | mistralai/Mistral-7B-Instruct-v0.3 |
| LoRA Adapter | quydau/Mistral-7B-sentiment-analysis-Vietnamese |
| Giấy phép áp dụng | apache-2.0 |
| Mức | Tên file | Dung lượng thực tế | VRAM khuyến nghị | Ghi chú |
|---|---|---|---|---|
| Q4_K_M | Mistral-7B-sentiment-analysis-Vietnamese-Q4_K_M.gguf | 4.07 GB | ~6.1 GB | Bản cân bằng tiêu chuẩn, phù hợp đa số GPU consumer. |
| Q4_K_S | Mistral-7B-sentiment-analysis-Vietnamese-Q4_K_S.gguf | 3.86 GB | ~5.9 GB | Nhỏ hơn Q4_K_M một chút, chất lượng gần tương đương. |
| Q3_K_M | Mistral-7B-sentiment-analysis-Vietnamese-Q3_K_M.gguf | 3.28 GB | ~5.3 GB | Nén sâu hơn, phù hợp máy RAM/VRAM hạn chế. |
| Q3_K_S | Mistral-7B-sentiment-analysis-Vietnamese-Q3_K_S.gguf | 2.95 GB | ~5.0 GB | Nén sâu, ưu tiên dung lượng hơn chất lượng. |
Dung lượng được đo bằng stat().st_size sau khi quantize; không phải số ước tính.
Chat template thật được đọc từ tokenizer_config.json:
Qwen2 ChatML (native runtime template; tokenizer_config.json không khai báo trực tiếp).
from llama_cpp import Llama
llm = Llama(
model_path="./Mistral-7B-sentiment-analysis-Vietnamese-Q4_K_M.gguf",
n_ctx=8192,
n_gpu_layers=-1,
verbose=False,
)
response = llm.create_chat_completion(
messages=[
{"role": "user", "content": "Xin chào"},
],
temperature=0.6,
top_p=0.95,
)
print(response["choices"][0]["message"]["content"])
FROM ./Mistral-7B-sentiment-analysis-Vietnamese-Q4_K_M.gguf
# Không tự chuyển template Jinja không tương thích sang Ollama. Hãy dùng chat template native của runtime.
PARAMETER temperature 0.6
PARAMETER top_p 0.95
PARAMETER num_ctx 8192
mistralai/Mistral-7B-Instruct-v0.3apache-2.0quydau/Mistral-7B-sentiment-analysis-Vietnameseapache-2.0Model có thể sinh thông tin sai (hallucination). Không sử dụng output làm thay thế tư vấn chuyên môn trong các lĩnh vực quan trọng.