Skip to page content
SAVRN
Search Plan a project

Open-weight model

VNU-SecAlign

by Minh Đức Đỗ Xuân Jason-42195/VNU-SecAlign

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.

Parameters—
Context—
Weights6.3 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

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.

Weights25 files · 6.3 GB
Configuration21 files · 41.4 MB
Tokenizer14 files · 120.8 MB
Documentation7 files · 26.7 KB
Other12 files · 133.6 MB
Repository1 file · 2.5 KB
Every file
FileTypeSizeSHA-256
checkpoints/final_checkpoint/adapter_model.safetensorsWeights27.3 MB a15f022634bf
checkpoints/final_checkpoint/lora_alpha_8.0/adapter_model.safetensorsWeights27.3 MB 1540b596200f
checkpoints/final_checkpoint/optimizer.ptWeights54.6 MB f4b0ca75bc3d
checkpoints/final_checkpoint/rng_state.pthWeights14.2 KB 8d138cfe3a4a
checkpoints/final_checkpoint/scheduler.ptWeights1.1 KB a6417f8ab591
checkpoints/final_checkpoint/training_args.binWeights6.1 KB 71d396e7c646
pod_outputs/train_dpo/dpo/checkpoint-21/adapter_model.safetensorsWeights562.1 MB 013c4bec7b0f
pod_outputs/train_dpo/dpo/checkpoint-21/optimizer.ptWeights1.1 GB 5040e622d0df
pod_outputs/train_dpo/dpo/checkpoint-21/rng_state.pthWeights14.6 KB 7063580a565c
pod_outputs/train_dpo/dpo/checkpoint-21/scheduler.ptWeights1.5 KB ff078b06f0ba
pod_outputs/train_dpo/dpo/checkpoint-21/training_args.binWeights6.8 KB 27707356c45a
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/adapter_model.safetensorsWeights562.1 MB 013c4bec7b0f
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/adapter_model.safetensorsWeights562.1 MB 013c4bec7b0f
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/optimizer.ptWeights1.1 GB 5040e622d0df
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/rng_state.pthWeights14.6 KB 7063580a565c
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/scheduler.ptWeights1.5 KB ff078b06f0ba
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/training_args.binWeights6.8 KB 27707356c45a
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/training_args.binWeights6.8 KB 27707356c45a
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/adapter_model.safetensorsWeights562.1 MB 1d14d3a142dc
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/adapter_model.safetensorsWeights562.1 MB 1d14d3a142dc
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/optimizer.ptWeights1.1 GB a137e11577d4
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/rng_state.pthWeights14.6 KB 7063580a565c
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/scheduler.ptWeights1.5 KB ff078b06f0ba
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/training_args.binWeights6.9 KB 63729c6a6a10
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/training_args.binWeights6.9 KB 63729c6a6a10
checkpoints/final_checkpoint/adapter_config.jsonConfiguration665 B —
checkpoints/final_checkpoint/lora_alpha_8.0/adapter_config.jsonConfiguration724 B —
checkpoints/final_checkpoint/special_tokens_map.jsonConfiguration325 B —
checkpoints/final_checkpoint/trainer_state.jsonConfiguration45.2 KB —
data/dataset_v2_attacks.jsonConfiguration1.2 MB —
data/hallucination_preferences.jsonConfiguration352.5 KB —
pod_outputs/sep_reference_gen/SEP_dataset_test.jsonConfiguration17.9 MB 7b954388fbca
pod_outputs/sep_reference_gen/SEP_dataset_test_Meta-Llama-3-8B-Instruct.jsonConfiguration21.9 MB 663964e4d970
pod_outputs/train_dpo/dpo/checkpoint-21/adapter_config.jsonConfiguration776 B —
pod_outputs/train_dpo/dpo/checkpoint-21/special_tokens_map.jsonConfiguration325 B —
pod_outputs/train_dpo/dpo/checkpoint-21/trainer_state.jsonConfiguration1.8 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/adapter_config.jsonConfiguration776 B —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/adapter_config.jsonConfiguration776 B —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/special_tokens_map.jsonConfiguration325 B —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/trainer_state.jsonConfiguration1.8 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/special_tokens_map.jsonConfiguration325 B —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/adapter_config.jsonConfiguration778 B —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/adapter_config.jsonConfiguration778 B —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/special_tokens_map.jsonConfiguration325 B —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/trainer_state.jsonConfiguration1.8 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/special_tokens_map.jsonConfiguration325 B —
README.mdDocumentation1.3 KB —
checkpoints/final_checkpoint/README.mdDocumentation5.3 KB —
pod_outputs/train_dpo/dpo/checkpoint-21/README.mdDocumentation5.1 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/README.mdDocumentation2.4 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/README.mdDocumentation5.1 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/README.mdDocumentation2.4 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/README.mdDocumentation5.1 KB —
checkpoints/final_checkpoint/README.md.bakOther5.1 KB —
pod_outputs/en_preference_gen/en_preference_n19157.jsonlOther9.8 MB —
pod_outputs/en_preference_gen/en_preference_test200.jsonlOther645.7 KB —
pod_outputs/train_dpo/dpo/checkpoint-21/chat_template.jinjaOther4.6 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/chat_template.jinjaOther4.6 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/chat_template.jinjaOther4.6 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/chat_template.jinjaOther4.6 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/chat_template.jinjaOther4.6 KB —
pod_outputs/vi_preference_gen/vn_preference_n19000.jsonlOther119.5 MB cbde729aa709
pod_outputs/vi_preference_gen/vn_preference_test200.jsonlOther1.2 MB —
pod_outputs/vi_preference_gen/vn_preference_test200_5090.jsonlOther1.2 MB —
pod_outputs/vi_preference_gen/vn_preference_test200_5090desktop.jsonlOther1.2 MB —
.gitattributesRepository2.5 KB —
checkpoints/final_checkpoint/lora_alpha_8.0/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
checkpoints/final_checkpoint/lora_alpha_8.0/tokenizer_config.jsonTokenizer55.4 KB —
checkpoints/final_checkpoint/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
checkpoints/final_checkpoint/tokenizer_config.jsonTokenizer55.4 KB —
pod_outputs/train_dpo/dpo/checkpoint-21/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
pod_outputs/train_dpo/dpo/checkpoint-21/tokenizer_config.jsonTokenizer50.6 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/checkpoint-21/tokenizer_config.jsonTokenizer50.6 KB —
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
pod_outputs/train_dpo/dpo_final/test_dpo_vn200/tokenizer_config.jsonTokenizer50.6 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/checkpoint-21/tokenizer_config.jsonTokenizer50.6 KB —
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/tokenizer.jsonTokenizer17.2 MB 6b9e4e7fb171
pod_outputs/train_dpo/dpo_vn200_5090desktop/test_dpo_vn200_5090desktop/tokenizer_config.jsonTokenizer50.6 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
6.3 GB
Download from Minh Đức Đỗ Xuân

Released by Minh Đức Đỗ Xuân through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published6.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.