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

allenai
/
longformer-scico

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

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

  • Libraries
  • Transformers

    How to use allenai/longformer-scico with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="allenai/longformer-scico")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-scico")
    model = AutoModelForSequenceClassification.from_pretrained("allenai/longformer-scico")
  • Notebooks
  • Google Colab
  • Kaggle
longformer-scico
596 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
cattana's picture
cattana
Update README.md
30022f1 almost 5 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • README.md
    3.24 kB
    Update README.md almost 5 years ago
  • added_tokens.json
    29 Bytes
    Update from ariec almost 5 years ago
  • config.json
    1.11 kB
    model almost 5 years ago
  • merges.txt
    456 kB
    Update from ariec almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    595 MB
    xet
    model almost 5 years ago
  • special_tokens_map.json
    239 Bytes
    Update from ariec almost 5 years ago
  • tokenizer_config.json
    272 Bytes
    Update from ariec almost 5 years ago
  • vocab.json
    798 kB
    Update from ariec almost 5 years ago