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

dbourget
/
phil-or-not-2e

Text Classification
Transformers
PyTorch
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use dbourget/phil-or-not-2e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dbourget/phil-or-not-2e with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="dbourget/phil-or-not-2e")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("dbourget/phil-or-not-2e")
    model = AutoModelForSequenceClassification.from_pretrained("dbourget/phil-or-not-2e", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
phil-or-not-2e
5.36 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
c153bc3 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    853 Bytes
    Initial commit over 2 years ago
  • model.safetensors
    1.34 GB
    xet
    Adding `safetensors` variant of this model almost 2 years ago
  • optimizer.pt
    2.68 GB
    xet
    Initial commit over 2 years ago
  • pytorch_model.bin
    1.34 GB
    xet
    Initial commit over 2 years ago
  • rng_state.pth
    14.2 kB
    xet
    Initial commit over 2 years ago
  • scheduler.pt
    1.06 kB
    xet
    Initial commit over 2 years ago
  • special_tokens_map.json
    695 Bytes
    Initial commit over 2 years ago
  • tokenizer.json
    1.13 MB
    Initial commit over 2 years ago
  • tokenizer_config.json
    1.14 kB
    Initial commit over 2 years ago
  • trainer_state.json
    61.8 kB
    Initial commit over 2 years ago
  • training_args.bin
    4.41 kB
    xet
    Initial commit over 2 years ago