You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

You agree to not use the model to conduct experiments that cause harm to human subjects.

Log in or Sign Up to review the conditions and access this model content.

🧠 Vietnamese Legal Base Model - Qwen1.7B (Pretrained)

This model is a Vietnamese legal-domain base model pretrained from Qwen-4B, adapted specifically for legal text understanding and legal question answering tasks.

πŸ“Œ Overview

  • Base model: Qwen-4B
  • Domain: Vietnamese legal language
  • Training objective: Continual pretraining on legal-domain texts

πŸ“š Training Data

The model was continually pretrained on a curated corpus of Vietnamese legal texts, including:

  • Official legal documents (laws, codes, decrees, etc.)
  • Legal news articles and commentary

πŸ“Š Dataset Statistics

The training corpus includes a total of approximately 144,000 Vietnamese texts categorized as follows:

  • ~96,000 legal documents: Official sources such as laws, decrees, circulars,...
  • ~48,000 legal news articles: Collected from online legal news portals, featuring case studies, legal interpretations,...

Training Configuration

The model was trained using full-parameter fine-tuning (no quantization or LoRA). Below is the training setup used for continual pretraining:

πŸ”§ Model & Tokenization

  • Base model: Qwen/Qwen3-4B
  • Maximum sequence length: 4096
  • Block size: 4096

All texts were collected from publicly available and legally permitted sources, then preprocessed to ensure quality and consistency for domain adaptation.

πŸš€ Example Usage

# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("VLSP2025-LegalSML/qwen3-4b-legal-pretrain")
model = AutoModelForCausalLM.from_pretrained("VLSP2025-LegalSML/qwen3-4b-legal-pretrain")

πŸ§‘β€πŸ’Ό Maintainers

This model is developed and maintained by the VLSP 2025 LegalSLM Task Organizers.

For inquiries, please contact: [email protected]

⚠️ License & Usage

This model is released for research purposes only under the scope of the VLSP 2025 Evaluation Campaign. Any use outside the competition must comply with relevant data and model licensing agreements.

Downloads last month
229
Safetensors
Model size
4.02B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for VLSP2025-LegalSML/qwen3-4b-legal-pretrain

Base model

Qwen/Qwen3-4B-Base
Finetuned
Qwen/Qwen3-4B
Finetuned
(167)
this model
Finetunes
1 model