Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

nipuna02
/
lk-news-topic-classifier

Text Classification
Transformers
Safetensors
Sinhala
Tamil
English
bert
sri-lanka
sinhala
tamil
news
topic-classification
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use nipuna02/lk-news-topic-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="nipuna02/lk-news-topic-classifier")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("nipuna02/lk-news-topic-classifier")
    model = AutoModelForSequenceClassification.from_pretrained("nipuna02/lk-news-topic-classifier", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
lk-news-topic-classifier
488 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nipuna02's picture
nipuna02
Upload lk-news-topic-classifier
8dc9db0 verified 5 days ago
  • .gitattributes
    1.57 kB
    Upload lk-news-topic-classifier 5 days ago
  • README.md
    5.04 kB
    Upload lk-news-topic-classifier 5 days ago
  • config.json
    1.18 kB
    Upload lk-news-topic-classifier 5 days ago
  • eval_results.json
    2.23 kB
    Upload lk-news-topic-classifier 5 days ago
  • model.safetensors
    471 MB
    xet
    Upload lk-news-topic-classifier 5 days ago
  • tokenizer.json
    17.1 MB
    xet
    Upload lk-news-topic-classifier 5 days ago
  • tokenizer_config.json
    408 Bytes
    Upload lk-news-topic-classifier 5 days ago