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

ntAnh-dev
/
news-category-classification

Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use ntAnh-dev/news-category-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ntAnh-dev/news-category-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ntAnh-dev/news-category-classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ntAnh-dev/news-category-classification")
    model = AutoModelForSequenceClassification.from_pretrained("ntAnh-dev/news-category-classification")
  • Notebooks
  • Google Colab
  • Kaggle
news-category-classification / runs
129 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ntAnh-dev's picture
ntAnh-dev
category-classification
638351c verified 11 months ago
  • Jul15_17-00-24_9252199e1b58
    category-classification 11 months ago
  • Jul15_17-01-42_9252199e1b58
    category-classification 11 months ago
  • Jul15_17-02-08_9252199e1b58
    category-classification 11 months ago
  • Jul15_17-05-20_9252199e1b58
    category-classification 11 months ago