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

sugamjais
/
longformer-ip

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

Instructions to use sugamjais/longformer-ip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sugamjais/longformer-ip with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sugamjais/longformer-ip")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sugamjais/longformer-ip")
    model = AutoModelForSequenceClassification.from_pretrained("sugamjais/longformer-ip")
  • Notebooks
  • Google Colab
  • Kaggle
longformer-ip
616 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
sugamjais's picture
sugamjais
Upload 5 files
90223c3 over 2 years ago
  • .gitattributes
    1.57 kB
    Upload 5 files over 2 years ago
  • README.md
    28 Bytes
    initial commit over 2 years ago
  • config.json
    1.17 kB
    Upload 5 files over 2 years ago
  • pytorch_model.bin
    595 MB
    xet
    Upload 5 files over 2 years ago
  • test.csv
    4.2 MB
    Upload 5 files over 2 years ago
  • train.csv
    15.7 MB
    xet
    Upload 5 files over 2 years ago
  • valid.csv
    1.05 MB
    Upload 5 files over 2 years ago