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

Chamaka8
/
SerendipLLM-news-classifier

Text Classification
PEFT
Safetensors
Sinhala
sinhala
news-classification
lora
classification-head
Model card Files Files and versions
xet
Community

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

  • Libraries
  • PEFT

    How to use Chamaka8/SerendipLLM-news-classifier with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("Chamaka8/Serendip-LLM-CPT-SFT-v2")
    model = PeftModel.from_pretrained(base_model, "Chamaka8/SerendipLLM-news-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
SerendipLLM-news-classifier
353 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Chamaka8's picture
Chamaka8
Upload README.md with huggingface_hub
788df68 verified 6 months ago
  • scripts
    Upload scripts/eval_real_news.py with huggingface_hub 6 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 6 months ago
  • README.md
    5.5 kB
    Upload README.md with huggingface_hub 6 months ago
  • adapter_config.json
    1.06 kB
    Upload model 6 months ago
  • adapter_model.safetensors
    336 MB
    xet
    Upload model 6 months ago
  • classifier_head.pt
    83.4 kB
    xet
    Upload classifier_head.pt with huggingface_hub 6 months ago
  • special_tokens_map.json
    335 Bytes
    Upload tokenizer 6 months ago
  • tokenizer.json
    17.2 MB
    xet
    Upload tokenizer 6 months ago
  • tokenizer_config.json
    50.7 kB
    Upload tokenizer 6 months ago