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

JoshuaAshkinaze
/
cap-policy-subtopic

PEFT
Safetensors
English
lora
classification
political-science
policy
Model card Files Files and versions
xet
Community

Instructions to use JoshuaAshkinaze/cap-policy-subtopic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use JoshuaAshkinaze/cap-policy-subtopic with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("answerdotai/ModernBERT-base")
    model = PeftModel.from_pretrained(base_model, "JoshuaAshkinaze/cap-policy-subtopic")
  • Notebooks
  • Google Colab
  • Kaggle
cap-policy-subtopic
18.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
JoshuaAshkinaze's picture
JoshuaAshkinaze
Update README.md
6ddde52 verified 15 days ago
  • .gitattributes
    1.52 kB
    initial commit 15 days ago
  • README.md
    5.52 kB
    Update README.md 15 days ago
  • adapter_config.json
    766 Bytes
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • adapter_model.safetensors
    11.4 MB
    xet
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • label_classes.json
    5.42 kB
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • predictions.csv
    3.3 MB
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • special_tokens_map.json
    694 Bytes
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • tokenizer.json
    3.58 MB
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • tokenizer_config.json
    20.8 kB
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago
  • training_config.json
    990 Bytes
    Add CAP subtopic LoRA adapter (124 classes, macro-F1 0.724) 15 days ago