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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Udai
/
lexglue_unfair_tos_longformer

Text Classification
Transformers
PyTorch
longformer
Model card Files Files and versions
xet
Community
1

Instructions to use Udai/lexglue_unfair_tos_longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Udai/lexglue_unfair_tos_longformer with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Udai/lexglue_unfair_tos_longformer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Udai/lexglue_unfair_tos_longformer")
    model = AutoModelForSequenceClassification.from_pretrained("Udai/lexglue_unfair_tos_longformer")
  • Notebooks
  • Google Colab
  • Kaggle
lexglue_unfair_tos_longformer
598 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Udai's picture
Udai
Upload LongformerForSequenceClassification
83515c7 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    1.47 kB
    Upload LongformerForSequenceClassification over 3 years ago
  • merges.txt
    456 kB
    Upload tokenizer over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    595 MB
    xet
    Upload LongformerForSequenceClassification over 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload tokenizer over 3 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer over 3 years ago
  • tokenizer_config.json
    473 Bytes
    Upload tokenizer over 3 years ago
  • vocab.json
    798 kB
    Upload tokenizer over 3 years ago