Downloads · 30 days
11
0% of all-time downloads
sguarnaccio/gov_law_clf_ner
gov_law_clf_ner is a text classification model from sguarnaccio. Use it when you need a label for a piece of text. It is set up for transformers.
Model to predict and extract governing law from legal documents.
Downloads · 30 days
11
0% of all-time downloads
All-time downloads
3.6K
Public
Repo size
904 MB
Likes
0
Public
Click a slice to open those files.
.bin452 MB · 100%
From the Hugging Face model README
Model to predict and extract governing law from legal documents.
Identify the section of a legal contract that contains the governing law and extract then extract the value.
Use the code below to get started with the model.
from transformers import AutoTokenizer
from clf_ner import ClassifierNER
tokenizer = AutoTokenizer.from_pretrained("sguarnaccio/gov_law_clf_ner")
model = ClassifierNER.from_pretrained("sguarnaccio/gov_law_clf_ner")
model.predict("This agreement shall be governed by the laws of the State of New Jersey")