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

ShreySavaliya
/
FakeNewsDetection_1

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

Instructions to use ShreySavaliya/FakeNewsDetection_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ShreySavaliya/FakeNewsDetection_1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ShreySavaliya/FakeNewsDetection_1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ShreySavaliya/FakeNewsDetection_1")
    model = AutoModelForSequenceClassification.from_pretrained("ShreySavaliya/FakeNewsDetection_1")
  • Notebooks
  • Google Colab
  • Kaggle
FakeNewsDetection_1
500 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
ShreySavaliya's picture
ShreySavaliya
Upload vocab.json
1650ce7 almost 4 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    2.13 kB
    Update README.md almost 4 years ago
  • config.json
    735 Bytes
    Upload config.json almost 4 years ago
  • merges.txt
    456 kB
    Upload merges.txt almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    499 MB
    xet
    Upload pytorch_model.bin almost 4 years ago
  • special_tokens_map.json
    772 Bytes
    Upload special_tokens_map.json almost 4 years ago
  • tokenizer_config.json
    1.14 kB
    Upload tokenizer_config.json almost 4 years ago
  • vocab.json
    899 kB
    Upload vocab.json almost 4 years ago