Downloads · 30 days
0
nisaar/falcon7b-Indian_Lawyer
falcon7b-Indian_Lawyer is a machine learning model from nisaar. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is a Falcon 7B model fine-tuned for question answering in the domain of Indian law. It has been trained to answer questions regarding various aspects of the Indian legal system, such as the Constitution, the role…
Downloads · 30 days
0
Access
Public
Updated Jun 15, 2023
Repo size
18.9 MB
Likes
2
Public
Click a slice to open those files.
.bin18.9 MB · 100%
From the Hugging Face model README
This is a Falcon 7B model fine-tuned for question answering in the domain of Indian law. It has been trained to answer questions regarding various aspects of the Indian legal system, such as the Constitution, the roles of governmental positions, and more.
Falcon is a family of state-of-the-art language models created by the Technology Innovation Institute in Abu Dhabi. This version, Falcon 7B, has been fine-tuned to specialize in understanding and generating responses related to Indian law. The model was trained on a custom dataset composed of question-answer pairs about Indian law.
You can use this model for generating responses. Here is how to do it:
from transformers import pipeline
generator = pipeline('text-generation', model='path_to_your_model')
print(generator("<human>: What is the role of the Judiciary as per the Constitution of India?", max_length=100))