Text Classification
Transformers
Safetensors
English
legal-nlp
legal-bert
contract-analysis
clause-classification
legaltech
contractguard
Instructions to use AnuragBodkhe/contractguard-clause-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnuragBodkhe/contractguard-clause-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnuragBodkhe/contractguard-clause-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AnuragBodkhe/contractguard-clause-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download data_validation.json from AnuragBodkhe/contractguard-clause-classifier: direct link, hf CLI and curl.
- Browser
- Download file 279 Bytes
-
https://huggingface.co/AnuragBodkhe/contractguard-clause-classifier/resolve/main/data_validation.json
- Command line
-
hf download hf://AnuragBodkhe/contractguard-clause-classifier/data_validation.json
-
curl -L -o data_validation.json https://huggingface.co/AnuragBodkhe/contractguard-clause-classifier/resolve/main/data_validation.json
279 Bytes
| { | |
| "issues": [ | |
| "duplicate_exact: 2516", | |
| "duplicate_conflicting_label: 513", | |
| "513 example(s) had identical text with different labels and were dropped. Identical text cannot support two labels, and keeping both puts a floor under the achievable accuracy." | |
| ] | |
| } |