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
Download label_classes.json from JoshuaAshkinaze/cap-policy-subtopic: direct link, hf CLI and curl.
- Browser
- Download file 5.42 kB
-
https://huggingface.co/JoshuaAshkinaze/cap-policy-subtopic/resolve/main/label_classes.json
- Command line
-
hf download hf://JoshuaAshkinaze/cap-policy-subtopic/label_classes.json
-
curl -L -o label_classes.json https://huggingface.co/JoshuaAshkinaze/cap-policy-subtopic/resolve/main/label_classes.json
5.42 kB
| [ | |
| "Agriculture \u2014 Animal and Crop Disease", | |
| "Agriculture \u2014 Food Inspection & Safety", | |
| "Agriculture \u2014 General", | |
| "Agriculture \u2014 Subsidies to Farmers", | |
| "Agriculture \u2014 Trade", | |
| "Banking & Commerce \u2014 Banking", | |
| "Banking & Commerce \u2014 Bankruptcy", | |
| "Banking & Commerce \u2014 Consumer Finance", | |
| "Banking & Commerce \u2014 Consumer Safety", | |
| "Banking & Commerce \u2014 Copyrights and Patents", | |
| "Banking & Commerce \u2014 Corporate Management", | |
| "Banking & Commerce \u2014 Disaster Relief", | |
| "Banking & Commerce \u2014 Securities & Commodities", | |
| "Banking & Commerce \u2014 Small Businesses", | |
| "Banking & Commerce \u2014 Sports Regulation", | |
| "Civil Rights & Civil Liberties \u2014 Freedom of Speech", | |
| "Civil Rights & Civil Liberties \u2014 Gender Discrimination", | |
| "Civil Rights & Civil Liberties \u2014 General", | |
| "Civil Rights & Civil Liberties \u2014 Handicap Discrimination", | |
| "Civil Rights & Civil Liberties \u2014 Right to Privacy", | |
| "Civil Rights & Civil Liberties \u2014 Voting Rights", | |
| "Defense \u2014 Alliances", | |
| "Defense \u2014 Civil", | |
| "Defense \u2014 Civilian Personnel", | |
| "Defense \u2014 Foreign Operations", | |
| "Defense \u2014 General", | |
| "Defense \u2014 Installations & Land", | |
| "Defense \u2014 Intelligence", | |
| "Defense \u2014 Military Aid", | |
| "Defense \u2014 Nuclear Arms", | |
| "Defense \u2014 Personnel Issues", | |
| "Defense \u2014 Procurement", | |
| "Defense \u2014 Readiness", | |
| "Education \u2014 Elementary & Secondary", | |
| "Education \u2014 Higher", | |
| "Education \u2014 Special", | |
| "Education \u2014 Underprivileged", | |
| "Energy \u2014 Alternative & Renewable", | |
| "Energy \u2014 Electricity", | |
| "Energy \u2014 General", | |
| "Energy \u2014 Natural Gas & Oil", | |
| "Environment \u2014 710", | |
| "Environment \u2014 Air Pollution", | |
| "Environment \u2014 Conservation", | |
| "Environment \u2014 Drinking Water", | |
| "Environment \u2014 General", | |
| "Environment \u2014 Hazardous Waste", | |
| "Environment \u2014 Species & Forest", | |
| "Foreign Trade \u2014 Competitiveness", | |
| "Foreign Trade \u2014 Exports", | |
| "Foreign Trade \u2014 General", | |
| "Foreign Trade \u2014 Private Investments", | |
| "Foreign Trade \u2014 Tariff & Imports", | |
| "Foreign Trade \u2014 Trade Agreements", | |
| "Government Operations \u2014 Appointments", | |
| "Government Operations \u2014 Branch Relations", | |
| "Government Operations \u2014 Bureaucracy", | |
| "Government Operations \u2014 Capital City", | |
| "Government Operations \u2014 Employees", | |
| "Government Operations \u2014 General", | |
| "Government Operations \u2014 Intergovernmental Relations", | |
| "Government Operations \u2014 Political Campaigns", | |
| "Government Operations \u2014 Postal Service", | |
| "Government Operations \u2014 Procurement & Contractors", | |
| "Government Operations \u2014 Property Management", | |
| "Health \u2014 Disease Prevention", | |
| "Health \u2014 Drug Coverage and Cost", | |
| "Health \u2014 Drug Industry", | |
| "Health \u2014 Drug and Alcohol Abuse", | |
| "Health \u2014 Health Care Reform", | |
| "Health \u2014 Insurance", | |
| "Health \u2014 Long-term Care", | |
| "Health \u2014 R&D", | |
| "Housing & Community Development \u2014 1410", | |
| "Housing & Community Development \u2014 General", | |
| "Housing & Community Development \u2014 Low-Income Assistance", | |
| "Immigration \u2014 Immigration", | |
| "International Affairs \u2014 Developing Countries", | |
| "International Affairs \u2014 Diplomats", | |
| "International Affairs \u2014 Foreign Aid", | |
| "International Affairs \u2014 General", | |
| "International Affairs \u2014 Human Rights", | |
| "International Affairs \u2014 International Finance", | |
| "International Affairs \u2014 Organizations", | |
| "International Affairs \u2014 Resources Exploitation", | |
| "International Affairs \u2014 Specific Country", | |
| "International Affairs \u2014 Terrorism", | |
| "International Affairs \u2014 Western Europe", | |
| "Labor & Employment \u2014 Employee Benefits", | |
| "Labor & Employment \u2014 Employment Training", | |
| "Labor & Employment \u2014 Fair Labor Standards", | |
| "Law, Crime & Family \u2014 Agencies", | |
| "Law, Crime & Family \u2014 Court Administration", | |
| "Law, Crime & Family \u2014 Crime Control", | |
| "Law, Crime & Family \u2014 Criminal & Civil Code", | |
| "Law, Crime & Family \u2014 Family Issues", | |
| "Law, Crime & Family \u2014 Illegal Drugs", | |
| "Law, Crime & Family \u2014 Police", | |
| "Law, Crime & Family \u2014 White Collar Crime", | |
| "Macroeconomics \u2014 General", | |
| "Macroeconomics \u2014 Monetary Policy", | |
| "Macroeconomics \u2014 National Budget", | |
| "Macroeconomics \u2014 Tax Code", | |
| "Macroeconomics \u2014 Unemployment Rate", | |
| "Public Lands & Water \u2014 Dependencies & Territories", | |
| "Public Lands & Water \u2014 Indigenous Affairs", | |
| "Public Lands & Water \u2014 National Parks", | |
| "Public Lands & Water \u2014 Public Lands", | |
| "Public Lands & Water \u2014 Water Resources", | |
| "Science, Technology & Space \u2014 Broadcast", | |
| "Science, Technology & Space \u2014 Computers", | |
| "Science, Technology & Space \u2014 R&D", | |
| "Science, Technology & Space \u2014 Space", | |
| "Science, Technology & Space \u2014 Telecommunications", | |
| "Social Welfare \u2014 1301", | |
| "Social Welfare \u2014 Child Care", | |
| "Social Welfare \u2014 Elderly Assistance", | |
| "Social Welfare \u2014 Low-Income Assistance", | |
| "Transportation \u2014 1006", | |
| "Transportation \u2014 Air Travel", | |
| "Transportation \u2014 General", | |
| "Transportation \u2014 Highways", | |
| "Transportation \u2014 Maritime", | |
| "Transportation \u2014 Railroad Travel" | |
| ] |