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

philschmid
/
DistilBERT-Banking77

Text Classification
Transformers
PyTorch
English
distilbert
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use philschmid/DistilBERT-Banking77 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use philschmid/DistilBERT-Banking77 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="philschmid/DistilBERT-Banking77")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("philschmid/DistilBERT-Banking77")
    model = AutoModelForSequenceClassification.from_pretrained("philschmid/DistilBERT-Banking77")
  • Notebooks
  • Google Colab
  • Kaggle
DistilBERT-Banking77
537 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
a82d6eb about 3 years ago
  • .gitattributes
    1.36 kB
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    2.99 kB
    Add evaluation results on banking77 dataset (#1) almost 4 years ago
  • config.json
    5.84 kB
    Commit From AutoTrain almost 4 years ago
  • model.safetensors
    268 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    268 MB
    xet
    Commit From AutoTrain almost 4 years ago
  • sample_input.pkl

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.storage._load_from_bytes",
    • "collections.OrderedDict"

    How to fix it?

    2.55 kB
    xet
    Commit From AutoTrain almost 4 years ago
  • special_tokens_map.json
    112 Bytes
    Commit From AutoTrain almost 4 years ago
  • tokenizer.json
    466 kB
    Commit From AutoTrain almost 4 years ago
  • tokenizer_config.json
    319 Bytes
    Commit From AutoTrain almost 4 years ago
  • vocab.txt
    232 kB
    Commit From AutoTrain almost 4 years ago