Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Mokshith31
/
legalbert-contract-clause-classification

Text Classification
PEFT
Safetensors
English
legal
contract
lora
bert
cuad
Model card Files Files and versions
xet
Community

Instructions to use Mokshith31/legalbert-contract-clause-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Mokshith31/legalbert-contract-clause-classification with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("nlpaueb/legal-bert-base-uncased")
    model = PeftModel.from_pretrained(base_model, "Mokshith31/legalbert-contract-clause-classification")
  • Notebooks
  • Google Colab
  • Kaggle
legalbert-contract-clause-classification
3.21 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Mokshith31's picture
Mokshith31
Update README.md
5f51c83 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    11.1 kB
    Update README.md 3 months ago
  • adapter_config.json
    1.01 kB
    Upload folder using huggingface_hub 4 months ago
  • adapter_model.safetensors
    2.49 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    702 kB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    322 Bytes
    Upload folder using huggingface_hub 4 months ago