Text Generation
Transformers
Safetensors
English

Run this model with HF Jobs

Run ciol-research/GPT2-UKILv1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/ciol-research/GPT2-UKILv1. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ciol-research/GPT2-UKILv1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/ciol-research/GPT2-UKILv1. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/ciol-research/GPT2-UKILv1. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Exploring Possibilities of AI-Powered Legal Assistance in Bangladesh through Large Language Modeling

  • Authors: Azmine Toushik Wasi, Wahid Faisal, Mst Rafia Islam, Mahathir M Bappy
  • arXiv : https://arxiv.org/abs/2410.17210
  • The GPT2-UKIL-EN model is freely available in Hugging Face with DOI: 10.57967/hf/3233 with ciol-research/GPT2-UKILv1.
  • The UKIL-DB-EN dataset is freely available in Hugging Face with DOI: 10.57967/hf/3235 with ciol-research/UKIL-DB-EN.

Abstract: Bangladesh's legal system struggles with major challenges like delays, complexity, high costs, and millions of unresolved cases, which deter many from pursuing legal action due to lack of knowledge or financial constraints. This research seeks to develop a specialized Large Language Model (LLM) to assist in the Bangladeshi legal system. We created UKIL-DB-EN, an English corpus of Bangladeshi legal documents, by collecting and scraping data on various legal acts. We fine-tuned the GPT-2 model on this dataset to develop GPT2-UKIL-EN`, an LLM focused on providing legal assistance in English. The model was rigorously evaluated using semantic assessments, including case studies supported by expert opinions. The evaluation provided promising results, demonstrating the potential for the model to assist in legal matters within Bangladesh. Our work represents the first structured effort toward building an AI-based legal assistant for Bangladesh. While the results are encouraging, further refinements are necessary to improve the model's accuracy, credibility, and safety. This is a significant step toward creating a legal AI capable of serving the needs of a population of 180 million.


Cite as:

@misc{wasi2024exploringpossibilitiesaipoweredlegal,
      title={Exploring Possibilities of AI-Powered Legal Assistance in Bangladesh through Large Language Modeling}, 
      author={Azmine Toushik Wasi and Wahid Faisal and Mst Rafia Islam and Mahathir Mohammad Bappy},
      year={2024},
      eprint={2410.17210},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2410.17210}, 
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ciol-research/GPT2-UKILv1

Finetuned
(2,351)
this model

Dataset used to train ciol-research/GPT2-UKILv1

Collection including ciol-research/GPT2-UKILv1

Paper for ciol-research/GPT2-UKILv1