system HF staff commited on
Commit
85c66d9
1 Parent(s): fba406c

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -30,3 +30,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
  *.zip filter=lfs diff=lfs merge=lfs -text
31
  *.zst filter=lfs diff=lfs merge=lfs -text
32
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
30
  *.zip filter=lfs diff=lfs merge=lfs -text
31
  *.zst filter=lfs diff=lfs merge=lfs -text
32
  *tfevents* filter=lfs diff=lfs merge=lfs -text
33
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
34
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-classification
5
+ language:
6
+ - hi
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - neuralspace/autotrain-data-citizen_nlu_hindi
11
+ co2_eq_emissions:
12
+ emissions: 0.06283545088764929
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 1370952776
19
+ - CO2 Emissions (in grams): 0.0628
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.101
24
+ - Accuracy: 0.974
25
+ - Macro F1: 0.974
26
+ - Micro F1: 0.974
27
+ - Weighted F1: 0.974
28
+ - Macro Precision: 0.975
29
+ - Micro Precision: 0.974
30
+ - Weighted Precision: 0.975
31
+ - Macro Recall: 0.973
32
+ - Micro Recall: 0.974
33
+ - Weighted Recall: 0.974
34
+
35
+
36
+ ## Usage
37
+
38
+ You can use cURL to access this model:
39
+
40
+ ```
41
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/neuralspace/autotrain-citizen_nlu_hindi-1370952776
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("neuralspace/autotrain-citizen_nlu_hindi-1370952776", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("neuralspace/autotrain-citizen_nlu_hindi-1370952776", use_auth_token=True)
52
+
53
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
+
55
+ outputs = model(**inputs)
56
+ ```
config.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 55,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "ContactRealPerson",
16
+ "1": "Eligibility For BloodDonationWithComorbidities",
17
+ "2": "EligibilityForBloodDonationAgeLimit",
18
+ "3": "EligibilityForBloodDonationCovidGap",
19
+ "4": "EligibilityForBloodDonationForPregnantWomen",
20
+ "5": "EligibilityForBloodDonationGap",
21
+ "6": "EligibilityForBloodDonationSTD",
22
+ "7": "EligibilityForBloodReceiversBloodGroup",
23
+ "8": "EligitbilityForVaccine",
24
+ "9": "InquiryForCovidActiveCasesCount",
25
+ "10": "InquiryForCovidDeathCount",
26
+ "11": "InquiryForCovidPrevention",
27
+ "12": "InquiryForCovidRecentCasesCount",
28
+ "13": "InquiryForCovidTotalCasesCount",
29
+ "14": "InquiryForDoctorConsultation",
30
+ "15": "InquiryForQuarantinePeriod",
31
+ "16": "InquiryForTravelRestrictions",
32
+ "17": "InquiryForVaccinationRequirements",
33
+ "18": "InquiryForVaccineCost",
34
+ "19": "InquiryForVaccineCount",
35
+ "20": "InquiryOfContact",
36
+ "21": "InquiryOfCovidSymptoms",
37
+ "22": "InquiryOfEmergencyContact",
38
+ "23": "InquiryOfLocation",
39
+ "24": "InquiryOfLockdownDetails",
40
+ "25": "InquiryOfTiming",
41
+ "26": "InquiryofBloodDonationRequirements",
42
+ "27": "InquiryofBloodReceivalRequirements",
43
+ "28": "InquiryofPostBloodDonationCareSchemes",
44
+ "29": "InquiryofPostBloodDonationCertificate",
45
+ "30": "InquiryofPostBloodDonationEffects",
46
+ "31": "InquiryofPostBloodReceivalCareSchemes",
47
+ "32": "InquiryofPostBloodReceivalEffects",
48
+ "33": "InquiryofVaccinationAgeLimit",
49
+ "34": "IntentForBloodDonationAppointment",
50
+ "35": "IntentForBloodReceivalAppointment",
51
+ "36": "ReportingAnimalAbuse",
52
+ "37": "ReportingAnimalPoaching",
53
+ "38": "ReportingChildAbuse",
54
+ "39": "ReportingCyberCrime",
55
+ "40": "ReportingDomesticViolence",
56
+ "41": "ReportingDowry",
57
+ "42": "ReportingDrugConsumption",
58
+ "43": "ReportingDrugTrafficing",
59
+ "44": "ReportingHitAndRun",
60
+ "45": "ReportingMissingPerson",
61
+ "46": "ReportingMissingPets",
62
+ "47": "ReportingMissingVehicle",
63
+ "48": "ReportingMurder",
64
+ "49": "ReportingPropertyTakeOver",
65
+ "50": "ReportingSexualAssault",
66
+ "51": "ReportingTheft",
67
+ "52": "ReportingTresspassing",
68
+ "53": "ReportingVehicleAccident",
69
+ "54": "StatusOfFIR"
70
+ },
71
+ "initializer_range": 0.02,
72
+ "intermediate_size": 3072,
73
+ "label2id": {
74
+ "ContactRealPerson": 0,
75
+ "Eligibility For BloodDonationWithComorbidities": 1,
76
+ "EligibilityForBloodDonationAgeLimit": 2,
77
+ "EligibilityForBloodDonationCovidGap": 3,
78
+ "EligibilityForBloodDonationForPregnantWomen": 4,
79
+ "EligibilityForBloodDonationGap": 5,
80
+ "EligibilityForBloodDonationSTD": 6,
81
+ "EligibilityForBloodReceiversBloodGroup": 7,
82
+ "EligitbilityForVaccine": 8,
83
+ "InquiryForCovidActiveCasesCount": 9,
84
+ "InquiryForCovidDeathCount": 10,
85
+ "InquiryForCovidPrevention": 11,
86
+ "InquiryForCovidRecentCasesCount": 12,
87
+ "InquiryForCovidTotalCasesCount": 13,
88
+ "InquiryForDoctorConsultation": 14,
89
+ "InquiryForQuarantinePeriod": 15,
90
+ "InquiryForTravelRestrictions": 16,
91
+ "InquiryForVaccinationRequirements": 17,
92
+ "InquiryForVaccineCost": 18,
93
+ "InquiryForVaccineCount": 19,
94
+ "InquiryOfContact": 20,
95
+ "InquiryOfCovidSymptoms": 21,
96
+ "InquiryOfEmergencyContact": 22,
97
+ "InquiryOfLocation": 23,
98
+ "InquiryOfLockdownDetails": 24,
99
+ "InquiryOfTiming": 25,
100
+ "InquiryofBloodDonationRequirements": 26,
101
+ "InquiryofBloodReceivalRequirements": 27,
102
+ "InquiryofPostBloodDonationCareSchemes": 28,
103
+ "InquiryofPostBloodDonationCertificate": 29,
104
+ "InquiryofPostBloodDonationEffects": 30,
105
+ "InquiryofPostBloodReceivalCareSchemes": 31,
106
+ "InquiryofPostBloodReceivalEffects": 32,
107
+ "InquiryofVaccinationAgeLimit": 33,
108
+ "IntentForBloodDonationAppointment": 34,
109
+ "IntentForBloodReceivalAppointment": 35,
110
+ "ReportingAnimalAbuse": 36,
111
+ "ReportingAnimalPoaching": 37,
112
+ "ReportingChildAbuse": 38,
113
+ "ReportingCyberCrime": 39,
114
+ "ReportingDomesticViolence": 40,
115
+ "ReportingDowry": 41,
116
+ "ReportingDrugConsumption": 42,
117
+ "ReportingDrugTrafficing": 43,
118
+ "ReportingHitAndRun": 44,
119
+ "ReportingMissingPerson": 45,
120
+ "ReportingMissingPets": 46,
121
+ "ReportingMissingVehicle": 47,
122
+ "ReportingMurder": 48,
123
+ "ReportingPropertyTakeOver": 49,
124
+ "ReportingSexualAssault": 50,
125
+ "ReportingTheft": 51,
126
+ "ReportingTresspassing": 52,
127
+ "ReportingVehicleAccident": 53,
128
+ "StatusOfFIR": 54
129
+ },
130
+ "layer_norm_eps": 1e-05,
131
+ "max_length": 128,
132
+ "max_position_embeddings": 514,
133
+ "model_type": "roberta",
134
+ "num_attention_heads": 12,
135
+ "num_hidden_layers": 6,
136
+ "pad_token_id": 1,
137
+ "padding": "max_length",
138
+ "position_embedding_type": "absolute",
139
+ "problem_type": "single_label_classification",
140
+ "torch_dtype": "float32",
141
+ "transformers_version": "4.20.0",
142
+ "type_vocab_size": 1,
143
+ "use_cache": true,
144
+ "vocab_size": 52000
145
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88119e84266bb0eb2f31b47d021758705c28e4df0ee5f036efbc44c192121732
3
+ size 334011693
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "cls_token": {
12
+ "__type": "AddedToken",
13
+ "content": "<s>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "eos_token": {
20
+ "__type": "AddedToken",
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "errors": "replace",
28
+ "mask_token": {
29
+ "__type": "AddedToken",
30
+ "content": "<mask>",
31
+ "lstrip": true,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false
35
+ },
36
+ "max_len": 512,
37
+ "name_or_path": "AutoTrain",
38
+ "pad_token": {
39
+ "__type": "AddedToken",
40
+ "content": "<pad>",
41
+ "lstrip": false,
42
+ "normalized": true,
43
+ "rstrip": false,
44
+ "single_word": false
45
+ },
46
+ "sep_token": {
47
+ "__type": "AddedToken",
48
+ "content": "</s>",
49
+ "lstrip": false,
50
+ "normalized": true,
51
+ "rstrip": false,
52
+ "single_word": false
53
+ },
54
+ "special_tokens_map_file": null,
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": {
58
+ "__type": "AddedToken",
59
+ "content": "<unk>",
60
+ "lstrip": false,
61
+ "normalized": true,
62
+ "rstrip": false,
63
+ "single_word": false
64
+ }
65
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff