Description: Legal document classification
Original dataset: https://www.kaggle.com/datasets/bahushruth/legalclausedataset?select=amendment-waiver.csv
---
Try querying this adapter for free in Lora Land at https://predibase.com/lora-land!
The adapter_category is Topic Identification and the name is Legal Clause Classification
---
Sample input: You are a helpful, precise, detailed, and concise artificial intelligence assistant with a deep expertise in reading and interpreting legal documents. You are very intelligent and sharp, having a keen ability to discern the essential type of the legal clause from the text of the legal clause itself.\nIn this task, you are asked to determine clause type from clause text.\nYou will be evaluated based on the following criteria: - The generated answer is always one word (hyphens and underscores allowed). - The generated answer is best possible brief categorization of clause text.\nCategorize the clause text into a succinct clause type:\n### Clause Text: Any notice request consent claim demand approval waiver or other communication hereunder to Permitted Transferee shall be delivered or sent to Permitted Transferee at the address set forth on the signature page hereto in accordance with Section 7 1 of the Tax Receivable Agreement \n### Clause Type:
---
Sample output: notice
---
Try using this adapter yourself!
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "mistralai/Mistral-7B-v0.1"
peft_model_id = "predibase/legal"
model = AutoModelForCausalLM.from_pretrained(model_id)
model.load_adapter(peft_model_id)
- Downloads last month
- 201
Model tree for predibase/legal
Base model
mistralai/Mistral-7B-v0.1