Instructions to use CaseLoop/rights-navigator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CaseLoop/rights-navigator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("CaseLoop/rights-navigator") model = AutoModelForSeq2SeqLM.from_pretrained("CaseLoop/rights-navigator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pdf_simplifier_module/data/val_pairs.json from CaseLoop/rights-navigator: direct link, hf CLI and curl.
- Browser
- Download file 2.2 kB
-
https://huggingface.co/CaseLoop/rights-navigator/resolve/main/pdf_simplifier_module/data/val_pairs.json
- Command line
-
hf download hf://CaseLoop/rights-navigator/pdf_simplifier_module/data/val_pairs.json
-
curl -L -o val_pairs.json https://huggingface.co/CaseLoop/rights-navigator/resolve/main/pdf_simplifier_module/data/val_pairs.json
2.2 kB
| [ | |
| { | |
| "complex_text": "Any person aggrieved by a decision of the Public Information Officer may prefer an appeal under Section 19(1) of the RTI Act within thirty days from the expiry of the prescribed period.", | |
| "simple_text": "If you are unhappy with the officer's reply or received no response, you can file a First Appeal within 30 days under Section 19(1)." | |
| }, | |
| { | |
| "complex_text": "Under Section 8(1)(a), information disclosure prejudicially affecting the sovereignty and integrity of India, the security, or strategic interests of the State is exempted from disclosure.", | |
| "simple_text": "Information cannot be shared if releasing it could harm national security, strategic interests, or the sovereignty of India." | |
| }, | |
| { | |
| "complex_text": "The CPIO is directed to provide information regarding the total expenditure incurred on foreign official visits of the Vice Chancellor along with sanctioned approvals.", | |
| "simple_text": "The university must disclose the total amount spent on the Vice Chancellor's overseas official trips along with copies of government approvals." | |
| }, | |
| { | |
| "complex_text": "The applicant cannot compel the public authority to create new data, answer hypothetical questions, or interpret legal provisions under the guise of seeking information.", | |
| "simple_text": "Under RTI, an office is only required to give you existing files. They do not have to answer hypothetical 'what-if' questions or give legal opinions." | |
| }, | |
| { | |
| "complex_text": "The CPIO is directed to re-examine the third-party notice under Section 11 and make a speaking order detailing whether public interest outweighs individual objections.", | |
| "simple_text": "The officer must review third-party objections under Section 11 and give a written decision on whether public interest requires releasing the files." | |
| }, | |
| { | |
| "complex_text": "The public authority shall facilitate electronic inspection of digitised land revenue records without charging search fees for the first sixty minutes.", | |
| "simple_text": "The land revenue office must let you view digital land records on their computer screen for free during the first hour." | |
| } | |
| ] |