VNU-SecAlign is an open-weight model from Minh Đức Đỗ Xuân, released under Apache License 2.0. Its published files total 6.6 GB.
checkpoints/finalcheckpoint: LoRA adapter and tokenizer files.
Model Card
By Minh Đức Đỗ Xuân, published under apache-2.0, revision fcd4ae7e5f16.
checkpoints/finalcheckpoint: LoRA adapter and tokenizer files.
Read Minh Đức Đỗ Xuân's full model card
VNU-SecAlign: LoRA adapter and datasets for SecAlign experiments.
This repository contains: - checkpoints/final_checkpoint: LoRA adapter and tokenizer files. - data/: datasets used for evaluation and training (moved here).
Usage (load adapter with PEFT):
import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
# Config
base_model_id = "meta-llama/Llama-3.1-8B-Instruct"
repo_id = "Jason-42195/VNU-SecAlign"
adapter_subfolder = "checkpoints/final_checkpoint"
# Initialize tokenizer
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
# Load original model
model = AutoModelForCausalLM.from_pretrained(
base_model_id,
device_map="auto",
trust_remote_code=True
)
# Load Adapter from subfolder
model = PeftModel.from_pretrained(
model,
repo_id,
subfolder=adapter_subfolder
)
model.eval()
Judge used in evaluation: GPT-4o (deployment gpt-4o, temperature=0.0).
Identity and Version
- Repository
- Jason-42195/VNU-SecAlign
- Publisher
- Minh Đức Đỗ Xuân
- Task
- Not stated by the source
- Modality
- Other
- Library
- Not stated by the source
- Parameters
- Not stated by the source
- Languages
- en
- Revision
- fcd4ae7e5f16044981363db8f41edcab3ba1d762
- First published
- 2026-05-15
- Last updated
- 2026-09-29
Files and Weights
80 files, 6.6 GB in total. The weights are 25 files totalling 6.3 GB in bin, pt, pth, safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| checkpoints/final_checkpoint/adapter_model.safetensors | Weights | 27.3 MB | a15f022634bf |
| checkpoints/final_checkpoint/lora_alpha_8.0/adapter_model.safetensors | Weights | 27.3 MB | 1540b596200f |
| checkpoints/final_checkpoint/optimizer.pt | Weights | 54.6 MB | f4b0ca75bc3d |
| checkpoints/final_checkpoint/rng_state.pth | Weights | 14.2 KB | 8d138cfe3a4a |
| checkpoints/final_checkpoint/scheduler.pt | Weights | 1.1 KB | a6417f8ab591 |
| checkpoints/final_checkpoint/training_args.bin | Weights | 6.1 KB | 71d396e7c646 |
| pod_outputs/train_dpo/dpo/checkpoint-21/adapter_model.safetensors | Weights | 562.1 MB | 013c4bec7b0f |
| pod_outputs/train_dpo/dpo/checkpoint-21/optimizer.pt | Weights | 1.1 GB | 5040e622d0df |
| pod_outputs/train_dpo/dpo/checkpoint-21/rng_state.pth | Weights | 14.6 KB | 7063580a565c |
| pod_outputs/train_dpo/dpo/checkpoint-21/scheduler.pt | Weights | 1.5 KB | ff078b06f0ba |
| pod_outputs/train_dpo/dpo/checkpoint-21/training_args.bin | Weights | 6.8 KB | 27707356c45a |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/adapter_model.safetensors | Weights | 562.1 MB | 013c4bec7b0f |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/adapter_model.safetensors | Weights | 562.1 MB | 013c4bec7b0f |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/optimizer.pt | Weights | 1.1 GB | 5040e622d0df |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/rng_state.pth | Weights | 14.6 KB | 7063580a565c |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/scheduler.pt | Weights | 1.5 KB | ff078b06f0ba |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/training_args.bin | Weights | 6.8 KB | 27707356c45a |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/training_args.bin | Weights | 6.8 KB | 27707356c45a |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/adapter_model.safetensors | Weights | 562.1 MB | 1d14d3a142dc |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/adapter_model.safetensors | Weights | 562.1 MB | 1d14d3a142dc |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/optimizer.pt | Weights | 1.1 GB | a137e11577d4 |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/rng_state.pth | Weights | 14.6 KB | 7063580a565c |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/scheduler.pt | Weights | 1.5 KB | ff078b06f0ba |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/training_args.bin | Weights | 6.9 KB | 63729c6a6a10 |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/training_args.bin | Weights | 6.9 KB | 63729c6a6a10 |
| checkpoints/final_checkpoint/adapter_config.json | Configuration | 665 B | — |
| checkpoints/final_checkpoint/lora_alpha_8.0/adapter_config.json | Configuration | 724 B | — |
| checkpoints/final_checkpoint/special_tokens_map.json | Configuration | 325 B | — |
| checkpoints/final_checkpoint/trainer_state.json | Configuration | 45.2 KB | — |
| data/dataset_v2_attacks.json | Configuration | 1.2 MB | — |
| data/hallucination_preferences.json | Configuration | 352.5 KB | — |
| pod_outputs/sep_reference_gen/SEP_dataset_test.json | Configuration | 17.9 MB | 7b954388fbca |
| pod_outputs/sep_reference_gen/SEP_dataset_test_Meta-Llama-3-8B-Instruct.json | Configuration | 21.9 MB | 663964e4d970 |
| pod_outputs/train_dpo/dpo/checkpoint-21/adapter_config.json | Configuration | 776 B | — |
| pod_outputs/train_dpo/dpo/checkpoint-21/special_tokens_map.json | Configuration | 325 B | — |
| pod_outputs/train_dpo/dpo/checkpoint-21/trainer_state.json | Configuration | 1.8 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/adapter_config.json | Configuration | 776 B | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/adapter_config.json | Configuration | 776 B | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/special_tokens_map.json | Configuration | 325 B | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/trainer_state.json | Configuration | 1.8 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/special_tokens_map.json | Configuration | 325 B | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/adapter_config.json | Configuration | 778 B | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/adapter_config.json | Configuration | 778 B | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/special_tokens_map.json | Configuration | 325 B | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/trainer_state.json | Configuration | 1.8 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/special_tokens_map.json | Configuration | 325 B | — |
| README.md | Documentation | 1.3 KB | — |
| checkpoints/final_checkpoint/README.md | Documentation | 5.3 KB | — |
| pod_outputs/train_dpo/dpo/checkpoint-21/README.md | Documentation | 5.1 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/README.md | Documentation | 2.4 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/README.md | Documentation | 5.1 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/README.md | Documentation | 2.4 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/README.md | Documentation | 5.1 KB | — |
| checkpoints/final_checkpoint/README.md.bak | Other | 5.1 KB | — |
| pod_outputs/en_preference_gen/en_preference_n19157.jsonl | Other | 9.8 MB | — |
| pod_outputs/en_preference_gen/en_preference_test200.jsonl | Other | 645.7 KB | — |
| pod_outputs/train_dpo/dpo/checkpoint-21/chat_template.jinja | Other | 4.6 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/chat_template.jinja | Other | 4.6 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/chat_template.jinja | Other | 4.6 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/chat_template.jinja | Other | 4.6 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/chat_template.jinja | Other | 4.6 KB | — |
| pod_outputs/vi_preference_gen/vn_preference_n19000.jsonl | Other | 119.5 MB | cbde729aa709 |
| pod_outputs/vi_preference_gen/vn_preference_test200.jsonl | Other | 1.2 MB | — |
| pod_outputs/vi_preference_gen/vn_preference_test200_5090.jsonl | Other | 1.2 MB | — |
| pod_outputs/vi_preference_gen/vn_preference_test200_5090desktop.jsonl | Other | 1.2 MB | — |
| .gitattributes | Repository | 2.5 KB | — |
| checkpoints/final_checkpoint/lora_alpha_8.0/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| checkpoints/final_checkpoint/lora_alpha_8.0/tokenizer_config.json | Tokenizer | 55.4 KB | — |
| checkpoints/final_checkpoint/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| checkpoints/final_checkpoint/tokenizer_config.json | Tokenizer | 55.4 KB | — |
| pod_outputs/train_dpo/dpo/checkpoint-21/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| pod_outputs/train_dpo/dpo/checkpoint-21/tokenizer_config.json | Tokenizer | 50.6 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/tokenizer_config.json | Tokenizer | 50.6 KB | — |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| pod_outputs/train_dpo/dpo_final/test_dpo_vn200/tokenizer_config.json | Tokenizer | 50.6 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/tokenizer_config.json | Tokenizer | 50.6 KB | — |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/tokenizer.json | Tokenizer | 17.2 MB | 6b9e4e7fb171 |
| pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/tokenizer_config.json | Tokenizer | 50.6 KB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 6.3 GB
Released by Minh Đức Đỗ Xuân through its official repository on Hugging Face. Read the license.
Built From
- Derived from meta-llama/Llama-3.1-8B-Instruct
- Trained on (disclosed) Jason-42195/VNU-SecAlign
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 6.3 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About VNU-SecAlign
Can I use VNU-SecAlign commercially?
Yes. VNU-SecAlign is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.