CoolFace
Modelpublic

manisunder246/chanakya-ai-ibc-finetuned

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes5downloads
Model Card

CaseCraft - Fine-Tuned Legal AI Model for IBC

๐Ÿš€ Model Overview This fine-tuned LLM is built specifically for Indian legal research, focusing on Insolvency and Bankruptcy Code (IBC) cases, amendments, and legal terminology. The model enables accurate retrieval, summarization, and Q&A for legal professionals.

๐Ÿ”— GitHub Repository: CaseCraft

๐Ÿ“œ Training Data

  • โ€”IBC Act & Amendments: Fine-tuned on official laws, regulatory changes, and case-specific rulings.
  • โ€”Legal Glossary: An exhaustive set of legal terms and definitions for improved domain understanding.

๐Ÿ“Š Fine-Tuning Details

  • โ€”Base Model: LLaMA 3.2 (8-bit quantized)
  • โ€”Fine-Tuning Method: LoRA (Low-Rank Adaptation)
  • โ€”Hardware Used: Apple Silicon (M3 Max, 40-core GPU)
  • โ€”Optimizations: Gradient checkpointing, adaptive chunking for long legal texts

๐Ÿ”ง Usage

To download the fine-tuned model from Hugging Face, use the following commands:

bash
pip install huggingface_hub hf_transfer

export HF_HUB_ENABLE_HF_TRANSFER=1
huggingface-cli download --local-dir chanakya-ai-ibc-finetuned manisunder246/chanakya-ai-ibc-finetuned

๐Ÿ“Œ Future Enhancements

  • โ€”Expand dataset with High Court judgments
  • โ€”Improve retrieval mechanisms with custom legal embeddings
  • โ€”Deploy as an interactive legal assistant for practitioners

๐Ÿ“ข Contributions & feedback welcome! Feel free to explore the repo and test the model. ๐Ÿš€