Skip to content

Dataset · ymoslem

Legal questions and answers from Law StackExchange

ymoslem/Law-StackExchange

An archive of all questions and answers from the Law section of StackExchange in English up to August 2023.

What's inside

The dataset includes between 10,000 and 100,000 entries with all legal questions and answers collected from the Law StackExchange site up to August 14, 2023. The data is presented in English in text and tabular formats. The repository also includes a notebook detailing the data collection process via the official API.

What you can do with it

  • SFT fine-tuning models for general legal question-answering (QA)
  • Training semantic search and legal text ranking models
  • Classifying legal queries by topic and category
Tasks
Question answering, Text classification, Sentence similarity
Languages
English
Size
10K–100K rows
Downloads this month
277
Likes
32

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("ymoslem/Law-StackExchange")