Instructions to use pyofpython/citizen-grievance-classifier-muril with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pyofpython/citizen-grievance-classifier-muril with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pyofpython/citizen-grievance-classifier-muril")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("pyofpython/citizen-grievance-classifier-muril") model = AutoModelForSequenceClassification.from_pretrained("pyofpython/citizen-grievance-classifier-muril", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload label_map.json with huggingface_hub
Browse files12345678910111213141516{ "0": "Banking & Financial Services", "1": "Corruption & Bribery", "2": "Education & Schools", "3": "Electricity", "4": "Employment & Labour", "5": "Healthcare & Hospitals", "6": "Land Records & Revenue", "7": "Municipal Certificates", "8": "Pension & Provident Fund", "9": "Police & Law and Order", "10": "Ration & Public Distribution System", "11": "Roads & Infrastructure", "12": "Sanitation & Garbage", "13": "Water Supply"}label_map.jsonAdded+16