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

therealcyberlord
/
fake-news-classification-distilbert

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

Instructions to use therealcyberlord/fake-news-classification-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use therealcyberlord/fake-news-classification-distilbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="therealcyberlord/fake-news-classification-distilbert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("therealcyberlord/fake-news-classification-distilbert")
    model = AutoModelForSequenceClassification.from_pretrained("therealcyberlord/fake-news-classification-distilbert")
  • Notebooks
  • Google Colab
  • Kaggle
fake-news-classification-distilbert
805 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
therealcyberlord
tokenizer added
cd09142 almost 4 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    401 Bytes
    minor change almost 4 years ago
  • config.json
    812 Bytes
    first commit, all the files added almost 4 years ago
  • optimizer.pt
    536 MB
    xet
    first commit, all the files added almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    268 MB
    xet
    first commit, all the files added almost 4 years ago
  • rng_state.pth
    14.5 kB
    xet
    first commit, all the files added almost 4 years ago
  • scheduler.pt
    623 Bytes
    xet
    first commit, all the files added almost 4 years ago
  • special_tokens_map.json
    125 Bytes
    tokenizer added almost 4 years ago
  • tokenizer.json
    711 kB
    tokenizer added almost 4 years ago
  • tokenizer_config.json
    436 Bytes
    tokenizer added almost 4 years ago
  • trainer_state.json
    4.92 kB
    first commit, all the files added almost 4 years ago
  • training_args.bin
    3.25 kB
    xet
    first commit, all the files added almost 4 years ago
  • vocab.txt
    232 kB
    tokenizer added almost 4 years ago