Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
56
56
messages
listlengths
3
3
metadata
dict
raft_raft_gen_000316_9d9d798c_03_98eb2cfe_01_009dc516_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "it_act_2000", "task_type": "grounded_qa", "source_act": "it_act_2000", "source_sections": [ "it_act_2000:70" ], "rag": { "context_keys": [ "bsa_2023:129", "procedures_kb:ARREST-RIGHTS-GROUNDS-WRITTEN", "it_act_2000:70", "it_act_2000...
raft_raft_gen_000252_f5e208ff_01_9f284f2f_01_ec320686_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "wages_code_2019", "task_type": "grounded_qa", "source_act": "wages_code_2019", "source_sections": [ "wages_code_2019:6" ], "rag": { "context_keys": [ "wages_code_2019:26", "wages_code_2019:5", "wages_code_2019:36", "procedures_kb:DI...
raft_raft_gen_002008_a0683b75_03_8de4f593_01_bc04d3d6_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "hinglish", "legal_domain": "bnss_2023", "task_type": "hinglish_qa", "source_act": "bnss_2023", "source_sections": [ "bnss_2023:208" ], "rag": { "context_keys": [ "bnss_2023:244", "procedures_kb:IT-ACT-VS-BNS-CYBER-CHEATING-OVERVIEW", "bns_2023:323", "bns_2023...
raft_raft_gen_000399_438c6d5c_03_7b8c1f18_01_12325c43_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "hma_1955", "task_type": "grounded_qa", "source_act": "hma_1955", "source_sections": [ "hma_1955:13B" ], "rag": { "context_keys": [ "bns_2023:82", "hma_1955:13B", "procedures_kb:WORKPLACE-MATERNITY-RIGHTS-OVERVIEW", "hma_1955:13", ...
raft_raft_gen_000212_6b04826a_04_d915aac4_01_05f64f55_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "bnss_2023", "task_type": "grounded_qa", "source_act": "bnss_2023", "source_sections": [ "bnss_2023:139" ], "rag": { "context_keys": [ "bnss_2023:136", "bnss_2023:128", "bns_2023:269", "bnss_2023:135", "procedures_kb:RTI-EXEMPT...
raft_raft_gen_000497_b63a67ce_04_55489ae2_01_fb98cb36_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "bns_2023", "task_type": "grounded_qa", "source_act": "bns_2023", "source_sections": [ "bns_2023:344" ], "rag": { "context_keys": [ "bns_2023:344", "bsa_2023:13", "bns_2023:228", "bns_2023:175", "bns_2023:350", "bns_2023:...
raft_raft_gen_000595_04445a03_02_4b240f77_01_a9f921b1_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "sma_1954", "task_type": "grounded_qa", "source_act": "sma_1954", "source_sections": [ "sma_1954:42" ], "rag": { "context_keys": [ "hma_1955:5", "sma_1954:19", "sma_1954:13", "procedures_kb:DIGILOCKER-DOCUMENTS-VALID", "sma_195...
raft_raft_gen_000378_21fc6ee0_01_651bc608_01_5c808fe2_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "wages_code_2019", "task_type": "grounded_qa", "source_act": "wages_code_2019", "source_sections": [ "wages_code_2019:51" ], "rag": { "context_keys": [ "bsa_2023:75", "css_2020:139", "procedures_kb:RTI-FILING-STEPS", "wages_code_2019...
raft_raft_gen_000994_6955c8a1_03_3f141db3_01_f9e59186_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "ni_act_1881", "task_type": "procedural", "source_act": "ni_act_1881", "source_sections": [ "ni_act_1881:108" ], "rag": { "context_keys": [ "procedures_kb:CONSUMER-COMPLAINT-PREREQUISITES", "ni_act_1881:91", "ni_act_1881:7", "ni_act_...
raft_raft_gen_000100_0f8ee56f_02_d06edfb0_01_0e9f0865_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "bnss_2023", "task_type": "grounded_qa", "source_act": "bnss_2023", "source_sections": [ "bnss_2023:122" ], "rag": { "context_keys": [ "tpa_1882:39", "hama_1956:28", "tpa_1882:131", "tpa_1882:113", "procedures_kb:DIGILOCKER-DOC...
raft_raft_gen_000659_c55a0477_04_a9164e43_01_926e3bef_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "bsa_2023", "task_type": "grounded_qa", "source_act": "bsa_2023", "source_sections": [ "bsa_2023:83" ], "rag": { "context_keys": [ "bsa_2023:83", "bsa_2023:119", "bnss_2023:330", "bsa_2023:86", "bsa_2023:2", "bsa_2023:78"...
raft_raft_gen_000258_97834163_04_630633ff_01_96bb1630_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "dv_act_2005", "task_type": "grounded_qa", "source_act": "dv_act_2005", "source_sections": [ "dv_act_2005:18" ], "rag": { "context_keys": [ "dv_act_2005:25", "dv_act_2005:5", "bsa_2023:127", "dv_act_2005:31", "dv_act_2005:12", ...
raft_raft_gen_002037_61db1ee4_02_1e1fcc8b_01_e2a11126_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "hinglish", "legal_domain": "bns_2023", "task_type": "hinglish_qa", "source_act": "bns_2023", "source_sections": [ "bns_2023:112" ], "rag": { "context_keys": [ "procedures_kb:DIGITAL-ARREST-SCAM-AWARENESS", "bns_2023:112", "pocso_2012:42", "mv_act_1988:188", ...
raft_raft_gen_000783_9e1f1513_01_f7f61aaf_01_4979ef4d_01
[ { "role": "system", "content": "You are Nyaya, an Indian legal information model. You provide accurate, plain-language legal guidance for Indian citizens, cite specific sections of current law (BNS/BNSS/BSA and other acts in force), clearly state uncertainty, and recommend consulting a licensed advocate for...
{ "language": "english", "legal_domain": "it_act_2000", "task_type": "procedural", "source_act": "it_act_2000", "source_sections": [ "it_act_2000:47" ], "rag": { "context_keys": [ "css_2020:90", "procedures_kb:RTI-FILING-STEPS", "procedures_kb:POLICE-COMPLAINT-AGAINST-POLICE", ...
End of preview. Expand in Data Studio

Nyaya-Train-v7-RAFT

1,456 chat-format records (1,293 train / 163 val): a citizen question, the statute sections the Nyaya retriever surfaced for it (BM25 + nyaya-embed-v1, k=8), and an answer written by Qwen/Qwen2.5-14B-Instruct-AWQ (Apache-2.0) served with vLLM on two Kaggle T4s. Every citation in every kept answer resolves against the statute DB and appears in that record's own context; 315 answers that failed this gate are in nyaya_instruct_v7_rejected.jsonl (148 cited on a deliberate retrieval miss, 146 cited outside the context, 21 cited nothing). 0 records overlap the frozen evaluation sets (reports/v7_raft_dataset_report.json in the repository).

Why it exists, and why it was not trained on

This is task C4 of the project's release plan: distil a stronger teacher into the small reader. The teacher was first scored on the project's own benchmark under the exact serving prompt (scripts/26_eval_v1_run.py --endpoint): 45.0% fact recall against 39.7% for the 3B reader on the same retriever (paired 95% CI [+2.3, +8.4]). It passed that gate, and the data was generated. The same day, the reader shootout found that Qwen/Qwen3-4B-Instruct-2507 reaches 50.6% with no training at all. A teacher that scores below the student has nothing to teach it, so no v7 model was trained. The records are published because they are clean, citation-verified, Apache-2.0-licensed training data for anyone fine-tuning a smaller reader than the teacher, and because the outcome is part of the project's evidence.

Composition

count
english / hinglish / hindi 1,056 / 213 / 187
grounded_qa / procedural / hinglish_qa / hindi_qa / safety_abstention / terminology 533 / 250 / 213 / 187 / 149 / 96
deliberate retrieval-miss demonstrations 6
mean / median / p90 answer length (words) 135 / 131 / 187

Questions come from NyayaLabs98/nyaya-train-v3 (metadata.rag.question), shuffled with seed 7; the first 1,600 train and 200 val tasks were sent to the teacher (27 timed out at 300 s and are absent).

Schema

Same as Nyaya-Train-v3: messages (system / user with the RAG prompt / assistant), metadata with language, task_type, source_act, source_sections, rag.context_keys, rag.is_miss, rag.question, generator, split.

Licence

Apache-2.0 for the generated text (teacher: Qwen2.5-14B-Instruct, Apache-2.0). Statutory passages are Government of India material, public domain under Section 52(1)(q) of the Copyright Act, 1957. Not legal advice. Built with github.com/JitendraJha98/nyaya-model.

Downloads last month
12