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

Zeeshan506
/
news-classifier

Text Classification
Transformers
Safetensors
English
bert
news
classification
nlp
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Zeeshan506/news-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Zeeshan506/news-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Zeeshan506/news-classifier")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Zeeshan506/news-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("Zeeshan506/news-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • checkpoint-13500
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    228 Bytes
    Update README.md about 1 year ago
  • Readme.md
    91 Bytes
    Create Readme.md about 1 year ago
  • config.json
    879 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    1.22 kB
    Upload folder using huggingface_hub about 1 year ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub about 1 year ago