Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

CIS519PG
/
News_Classifier_Demo

Text Classification
Transformers
Safetensors
PyTorch
English
bert
news-classification
BERT
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use CIS519PG/News_Classifier_Demo with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="CIS519PG/News_Classifier_Demo")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("CIS519PG/News_Classifier_Demo")
    model = AutoModelForSequenceClassification.from_pretrained("CIS519PG/News_Classifier_Demo")
  • Notebooks
  • Google Colab
  • Kaggle
News_Classifier_Demo
438 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
tigerlinlxt's picture
tigerlinlxt
Update README.md
d4f6110 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    11.4 kB
    Update README.md over 1 year ago
  • config.json
    727 Bytes
    Upload BertForSequenceClassification over 1 year ago
  • eval_pipeline.py
    7.12 kB
    Update eval_pipeline.py over 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload BertForSequenceClassification over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    1.27 kB
    Upload tokenizer over 1 year ago
  • vocab.txt
    232 kB
    Upload tokenizer over 1 year ago