bihungba1101/slam-en-es-vietnamese-prompts
Viewer • Updated • 1.05M • 118
How to use bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-0.8B")
model = PeftModel.from_pretrained(base_model, "bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft")How to use bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft",
max_seq_length=2048,
)This PEFT LoRA adapter fine-tunes Qwen/Qwen3.5-0.8B for conversational knowledge tracing. It predicts Correct or Incorrect from a learner's Vietnamese interaction history represented as full text.
View the training run on Weights & Biases.
Evaluation used a learner-disjoint validation split with 115,853 labeled predictions across 2,361 conversations.
| Metric | Value |
|---|---|
| Accuracy | 0.7326 |
| F1 | 0.8287 |
| Precision | 0.7580 |
| Recall | 0.9139 |
| ROC-AUC | 0.7320 |
| Brier score | 0.1784 |
| Log loss | 0.5323 |
from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer
repo_id = "bihungba1101/ntkt-conversation-vietnamese-full-text-qwen3.5-0.8b-sft"
model = AutoPeftModelForCausalLM.from_pretrained(repo_id, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(repo_id)
The adapter expects the included chat template and the same full-text conversation representation used during training.