Model Card for Zenith VN

  • Developed by: udVietNamspeedrace
  • Model type: Causal Language Model (Fine-tuned with LoRA)
  • Language(s) (NLP): Tiếng Việt (Vietnamese)
  • License: MIT
  • Finetuned from model: Qwen/Qwen1.5-0.5B-Chat

Uses

Direct Use

  • Trò chuyện, giải đáp câu hỏi tổng quát bằng tiếng Việt.
  • Cung cấp thông tin về danh tính trợ lý AI và nhà phát triển udVietNamspeedrace.

Downstream Use

  • Có thể tích hợp vào các ứng dụng chat nội bộ, bot cộng đồng hoặc làm cơ sở cho các tác vụ xử lý ngôn ngữ tự nhiên tiếng Việt quy mô nhỏ.

Bias, Risks, and Limitations

  • Vì là mô hình quy mô nhỏ (0.5B parameters), mô hình có thể gặp hiện tượng ảo giác (hallucination) hoặc đưa ra thông tin chưa hoàn toàn chính xác trong một số trường hợp phức tạp.

How to Get Started with the Model

Sử dụng đoạn mã Python dưới đây để tải và trò chuyện trực tiếp với mô hình:

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "trangthanhdai/Zenith-0.5B"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.float16,
    device_map="auto"
)

messages = [
    {"role": "user", "content": "Chào bạn, bạn là ai?"}
]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)

outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support