Downloads · 30 days
17
15% of all-time downloads
nhonhoccode/qwen3-0-6b-cybersecqa-sft-freeze2-20251031-2359
qwen3-0-6b-cybersecqa-sft-freeze2-20251031-2359 is a text generation model from nhonhoccode. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
17
15% of all-time downloads
All-time downloads
111
Public
Parameters
596M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.4 GB · 99%
From the Hugging Face model README
Fine-tuned on Kaggle (2×T4) using SFT.
| Metric | Score |
|---|---|
| BLEU-4 | 1.07 |
| ROUGE-L | 14.62 |
| F1 | 10.70 |
| EM | 0.00 |
| Train Time (s) | 20385.9 |
from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("nhonhoccode/qwen3-0-6b-cybersecqa-sft-freeze2-20251031-2359")
mdl = AutoModelForCausalLM.from_pretrained("nhonhoccode/qwen3-0-6b-cybersecqa-sft-freeze2-20251031-2359")
prompt = tok.apply_chat_template([{"role":"system","content":"You are a helpful assistant."},
{"role":"user","content":"Explain SQL injection in one paragraph."}],
tokenize=False, add_generation_prompt=True)
ids = tok(prompt, return_tensors="pt").input_ids
out = mdl.generate(ids, max_new_tokens=128)
print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))