Run this model with HF Jobs
Run Wikram/Legal-key-to-text 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 to fine-tune https://huggingface.co/Wikram/Legal-key-to-text. Ask me which dataset to train on, then push the fine-tuned model to a new 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/Wikram/Legal-key-to-text 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.
Instructions to use Wikram/Legal-key-to-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wikram/Legal-key-to-text with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Wikram/Legal-key-to-text") model = AutoModelForSeq2SeqLM.from_pretrained("Wikram/Legal-key-to-text", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Task:
Given a set of input keywords, generate a corresponding text output for a section in the legal domain.
Dataset:
We used the Contract Understanding Atticus Dataset (CUAD). It is a corpus of 13,000+ labels in 510 commercial legal contracts. They have been manually labeled under the supervision of experienced lawyers to identify 41 types of legal clauses (e.g. licenses, warranty, governing law, insurance, etcโฆ).
Workflow:
You can connect me at vikram984511@gmail.com
- Downloads last month
- 10
