TathyaNyaya-and-FactLegalLlama Datasets
Collection
TathyaNyaya and FactLegalLlama: Advancing Factual Judgment Prediction and Explanation in the Indian Legal Context (IJCNLP-AACL 2025) • 4 items • Updated • 1
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'Reasoning'}) and 1 missing columns ({'conclusion'}).
This happened while the csv dataset builder was generating data using
hf://datasets/L-NLProc/TathyaNyaya-and-FactLegalLlama-NyayaScrape-Datasets/scra_train_multi_updated.csv (at revision 2761015ebe80f37241a8f2c46d43d6e39f8ad49c)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
filename: string
text: string
facts: string
Reasoning: string
label: int64
word_count: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 938
to
{'filename': Value('string'), 'text': Value('string'), 'facts': Value('string'), 'conclusion': Value('string'), 'label': Value('int64'), 'word_count': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1455, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1054, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'Reasoning'}) and 1 missing columns ({'conclusion'}).
This happened while the csv dataset builder was generating data using
hf://datasets/L-NLProc/TathyaNyaya-and-FactLegalLlama-NyayaScrape-Datasets/scra_train_multi_updated.csv (at revision 2761015ebe80f37241a8f2c46d43d6e39f8ad49c)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
filename string | text string | facts string | conclusion string | label int64 | word_count int64 |
|---|---|---|---|---|---|
Mohd. Yousuf vs Smt. Afaq Jahan & Anr | J U D G M E N T(Arising out of SLP (Crl.)No.2305 of 2004)ARIJIT J.Leave granted.Challenge in this Appeal is to the order passed by a learned Single Judge of the High Court, Lucknow Bench.The respondent No.1 filed a petition under Section 482 of the Code of Criminal Procedure, 1973 (in short the 'Code') to quash the dir... | ['Background facts as projected by the appellant are as follows:', 'Accordingly, a complaint was filed on February 2, 1953. The Additional District Magistrate thereon recorded the following order:', 'It is clear from these orders that on 19.91952, the Additional District Magistrate had not taken cognizance of the offen... | ['On 19.11.952, on perusal of the police report the Magistrate allowed further time for investigation until January 2, 1953, and on that date time was further extended to February 2, 1953. In the meantime, on January 27, 1953, Inspector Mitra had been authorized under s.23(3)(b) of the Foreign Exchange Regulation Act t... | 1 | 983 |
Rakesh Kumar Mishra vs State Of Bihar And Ors | JUDGMENTARIJIT J.Leave granted.Appellant calls in question legality of the judgment by a judge of the Patna High Court the petition filed by theappellant under Section 482 of the Code of Criminal Procedure, 1973 (inshort the `Code') seeking quashing of the order of cognizance taken bylearned Judicial Magistrate, Patna,... | Respondent no.2 who appeared in person submitted that no material has been brought on record as from what source the name of Ratneshwar cropped up. The acts done were clearly outside the scope of official duty and therefore, the protection under Section 197 of the Code is not available. Reference was made to certain al... | The appeal in the above said circumstances is allowed. The order of the Magistrate taking cognizance consequently is set aside. | 1 | 84 |
State Of Rajasthan And Anr vs Mohammed Ayub Naz | JUDGMENTDr.AR.J.The above appeal arises from the final judgment and order dated by the High Court of in Bench (Civil) No.1073 of 2001 wherein the appeal filed by the State of by the High Court by a order.The joined the services of the Government of inthe Cooperative Department.He was promoted as UDC in March, 1965.Heap... | The respondent-herein joined the services of the Government of Rajasthan in the Cooperative Department. He was promoted as UDC in March, 1965. He applied for 3 days leave while he was working as UDC. According to him, he became sick and could not attend the office for the period from 09.01.1978 to 19.01.1981. He was ch... | For the foregoing reasons, we are of the opinion that a Government servant who has wilfully been absent for a period of about 3 years and which fact is not disputed even by the learned Single Judge of the High Court has no right to receive the monetary/retrial benefits during the period of question. The High Court has ... | 1 | 178 |
State Of Karnataka & Ors vs Kgsd Canteen Employees Welfare ... | J U D G M E N TW I T HCIVIL APPEAL NOS.OF 2003 & 4180-82 OF 2003S.B.SINHA, J: Both the State of and Canteen Employees Welfare Association are in appeal before us aggrieved by and with the judgments and orders dated and passed by a Bench of the High Court in Writ Appeal Nos.5690-5692 of and 4613-32 of WRIT PROCEEDINGS T... | It, furthermore, appears that the Government had sanctioned grant in aid from time to time. The management of the said canteen was handed over to the Respondent Association. Constitution of the Managing Committee was being changed on a regular basis. In the order dated 27.7.2000 issued by the Government of Karnataka, i... | ['Keeping in view of the facts and circumstances of this case as also the principle of law enunciated in the above referred decisions of this Court, we are, thus, of the opinion that recourse to writ remedy was not apposite in this case.', 'SUBSEQUENT EVENT Subsequent events which had taken place is also worth taking n... | 1 | 55 |
Regional Manager, S.B.I vs Rakesh Kumar Tewari | J U D G E M E N T(Arising out of Special Leave Petition (Civil) No.20653 of of 2006(Arising out of SLP (C) of 2004)RUMA PAL, J.Leave granted.The respondent was employed as a on a daily wage in a branch of the appellant Bank.No appointment letter was issued to him but he worked for 87 days in that capacity.The question ... | ['After the respondent ceased to serve with the appellant on 5th October, 1982, the respondent raised a demand under Section 33-C (2) of the Act before the Labour Court praying for an amount of Rs. 148.74 towards his wages for 8 days holidays (including Sundays) which occurred during the period of his employment. The a... | ['Both civil appeals arising out SLP(Civil) No. 20653 of 2003 and SLP(Civil) Nos.20003-20004 of 2004 which are referred to respectively as the first and second appeal, are disposed of by this judgment.', "We see no reason to take a contrary view particularly when the facts in Raja Ram's case are materially indistinguis... | 1 | 188 |
Ashwin S. Mehta And Anr vs Custodian And Ors | "J U D G M E N APPEAL NOS.672-675, AND 681 OF 2004S.B.SINHA, J : These appeals are directed against (...TRUNCATED) | "['BACKGROUND FACTS The Appellants herein who are related to one Harshad S. Mehta (since deceased) p(...TRUNCATED) | "['1227 crores released to revenue on interest are given by the Custodian.', '(iii) Credits not give(...TRUNCATED) | 1 | 477 |
Municipal Corporation, Jaipur vs Shankarlal | "J U D G M E N APPEAL NO.3470 OF 2003ARIJIT J.These appeals are directed against the orders passed b(...TRUNCATED) | "['A brief reference to the factual aspects would be necessary for deciding the controversy involved(...TRUNCATED) | "['The inevitable result is that orders of learned Single Judge are to be set aside, which we direct(...TRUNCATED) | 0 | 117 |
Kallu @ Masih & Ors vs State Of Madhya Pradesh | "J U D G M E N TRAVEENDRAN, J.This appeal is by the four convicted accused against the judgment date(...TRUNCATED) | "['2. The case of the prosecution is that on 5.7.1993, at about 6 p.m., an unlawful assembly of 27 p(...TRUNCATED) | "['[Emphasis supplied]', '20. We, therefore, find no merit in this appeal and the same is, according(...TRUNCATED) | 1 | 356 |
R. Janakiraman vs State Represented By Inspector Of ... | "Page 1.This appeal is against the judgment dated passed by the High Court of Madras Criminal Appeal(...TRUNCATED) | "['2. The case of prosecution, in brief, was as follows:', '3. The explanation offered by the appell(...TRUNCATED) | "[\"7. After the matter was argued for some time, learned Counsel on both sides agreed that the enti(...TRUNCATED) | 0 | 1,368 |
The Associated Cement Companies Ltd vs Government Of Andhra Pradesh & Another | "J U D G M E N TBHAN, J.This appeal by grant of special leave is directed against the judgment and f(...TRUNCATED) | "['Appellants are inter alia engaged in the manufacture and sale of cement and have various factorie(...TRUNCATED) | "['Moreover, as per G.O. Ms. No. 374 Rev dated 25.04.1987, tax levied in the State on the packing ma(...TRUNCATED) | 0 | 238 |