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

josh-oo
/
news-classifier

Transformers
PyTorch
bert
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use josh-oo/news-classifier with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, BertForSequenceClassificationAdapters
    
    tokenizer = AutoTokenizer.from_pretrained("josh-oo/news-classifier")
    model = BertForSequenceClassificationAdapters.from_pretrained("josh-oo/news-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
news-classifier
93.3 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 29 commits
josh-oo's picture
josh-oo
LRP-ready model
c70d86a about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    847 Bytes
    LRP-ready model about 3 years ago
  • pytorch_model.bin
    92.4 MB
    xet
    LRP-ready model about 3 years ago
  • special_tokens_map.json
    125 Bytes
    Added tokenizer about 3 years ago
  • tokenizer.json
    711 kB
    Negative sampling training about 3 years ago
  • tokenizer_config.json
    366 Bytes
    Added tokenizer about 3 years ago
  • user_mapping.json
    31.6 kB
    Upload user_mapping.json with huggingface_hub about 3 years ago
  • vocab.txt
    232 kB
    Added tokenizer about 3 years ago