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")# 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 files- label_map.json +16 -0
label_map.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "Banking & Financial Services",
|
| 3 |
+
"1": "Corruption & Bribery",
|
| 4 |
+
"2": "Education & Schools",
|
| 5 |
+
"3": "Electricity",
|
| 6 |
+
"4": "Employment & Labour",
|
| 7 |
+
"5": "Healthcare & Hospitals",
|
| 8 |
+
"6": "Land Records & Revenue",
|
| 9 |
+
"7": "Municipal Certificates",
|
| 10 |
+
"8": "Pension & Provident Fund",
|
| 11 |
+
"9": "Police & Law and Order",
|
| 12 |
+
"10": "Ration & Public Distribution System",
|
| 13 |
+
"11": "Roads & Infrastructure",
|
| 14 |
+
"12": "Sanitation & Garbage",
|
| 15 |
+
"13": "Water Supply"
|
| 16 |
+
}
|