Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

imanxch
/
distilbert-contractnli

Text Classification
Transformers
Safetensors
English
distilbert
natural-language-inference
legal
contracts
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use imanxch/distilbert-contractnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use imanxch/distilbert-contractnli with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="imanxch/distilbert-contractnli")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("imanxch/distilbert-contractnli")
    model = AutoModelForSequenceClassification.from_pretrained("imanxch/distilbert-contractnli", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-contractnli
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
imanxch's picture
imanxch
Upload DistilBertForSequenceClassification
124bdce verified 21 days ago
  • .gitattributes
    1.52 kB
    initial commit 21 days ago
  • README.md
    5.02 kB
    Update README.md 21 days ago
  • config.json
    765 Bytes
    Upload DistilBertForSequenceClassification 21 days ago
  • model.safetensors
    268 MB
    xet
    Upload DistilBertForSequenceClassification 21 days ago
  • tokenizer.json
    711 kB
    Upload tokenizer 21 days ago
  • tokenizer_config.json
    458 Bytes
    Upload tokenizer 21 days ago