legal_llm / README.md
krishkpatil's picture
Update README.md
58a19d8 verified
metadata
base_model: unsloth/llama-3-8b-bnb-4bit
tags:
  - text-generation-inference
  - transformers
  - unsloth
  - llama
  - trl
license: apache-2.0
language:
  - en
datasets:
  - nisaar/Lawyer_GPT_India

Usage

from llama_cpp import Llama

llm = Llama.from_pretrained(
    repo_id="krishkpatil/legal_llm",
    filename="unsloth.Q4_K_M.gguf",  # Replace with the actual GGUF filename if different
)

response = llm.create_chat_completion(
    messages = [
        {
            "role": "user",
            "content": "Explain the concept of judicial review in India."
        }
    ]
)

print(response['choices'][0]['message']['content'])

Uploaded model

  • Developed by: krishkpatil
  • License: apache-2.0
  • Finetuned from model : unsloth/llama-3-8b-bnb-4bit

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.