The dataset is currently empty. Upload or create new data files. Then, you will be able to explore them in the Dataset Viewer.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

LegalDoc: Synthetic Legal Document Generation

πŸ“‘ Paper | 🌐 Project Page | πŸ’Ύ Released Resources | πŸ“¦ Repo

This is the resource page of our LegalDoc resources collection on Huggingface.

Dataset

Dataset Link
LegalDoc-Contracts πŸ€—

Please also check the raw data after our processing if you are interested: toolevalxm/LegalDoc-Contracts-Raw.

Models

Base Model / Training LegalDoc LegalDoc++
Stage 1 Stage 2 Stage 1 Stage 2
Qwen 2.5 7B Coder πŸ€— πŸ€— πŸ€— πŸ€—
LLaMA 3.1 8B πŸ€— πŸ€— πŸ€— πŸ€—

Introduction

Legal document synthesis presents unique challenges: 1) Maintaining legal precision and jurisdiction-specific terminology is critical; 2) Generated content must preserve the logical structure and enforceability of original clauses. We adopt a fully LLM-based approach for synthesizing contract variations using Claude-3.5-Sonnet, leveraging its strong reasoning capabilities for legal text generation.

*Due to licensing restrictions from our data providers, we only release the Contracts subset of the full LegalDoc dataset.

Downloads last month
8