system HF staff commited on
Commit
5fbabf2
1 Parent(s): 215f10b

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
+ - bn
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - neuralspace/autotrain-data-citizen_nlu_bn
11
+ co2_eq_emissions:
12
+ emissions: 0.08431503532658222
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 1370652766
19
+ - CO2 Emissions (in grams): 0.0843
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.117
24
+ - Accuracy: 0.971
25
+ - Macro F1: 0.971
26
+ - Micro F1: 0.971
27
+ - Weighted F1: 0.971
28
+ - Macro Precision: 0.973
29
+ - Micro Precision: 0.971
30
+ - Weighted Precision: 0.972
31
+ - Macro Recall: 0.970
32
+ - Micro Recall: 0.971
33
+ - Weighted Recall: 0.971
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_bn-1370652766
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("neuralspace/autotrain-citizen_nlu_bn-1370652766", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("neuralspace/autotrain-citizen_nlu_bn-1370652766", 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,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "ContactRealPerson",
17
+ "1": "Eligibility For BloodDonationWithComorbidities",
18
+ "2": "EligibilityForBloodDonationAgeLimit",
19
+ "3": "EligibilityForBloodDonationCovidGap",
20
+ "4": "EligibilityForBloodDonationForPregnantWomen",
21
+ "5": "EligibilityForBloodDonationGap",
22
+ "6": "EligibilityForBloodDonationSTD",
23
+ "7": "EligibilityForBloodReceiversBloodGroup",
24
+ "8": "EligitbilityForVaccine",
25
+ "9": "InquiryForCovidActiveCasesCount",
26
+ "10": "InquiryForCovidDeathCount",
27
+ "11": "InquiryForCovidPrevention",
28
+ "12": "InquiryForCovidRecentCasesCount",
29
+ "13": "InquiryForCovidTotalCasesCount",
30
+ "14": "InquiryForDoctorConsultation",
31
+ "15": "InquiryForQuarantinePeriod",
32
+ "16": "InquiryForTravelRestrictions",
33
+ "17": "InquiryForVaccinationRequirements",
34
+ "18": "InquiryForVaccineCost",
35
+ "19": "InquiryForVaccineCount",
36
+ "20": "InquiryOfContact",
37
+ "21": "InquiryOfCovidSymptoms",
38
+ "22": "InquiryOfEmergencyContact",
39
+ "23": "InquiryOfLocation",
40
+ "24": "InquiryOfLockdownDetails",
41
+ "25": "InquiryOfTiming",
42
+ "26": "InquiryofBloodDonationRequirements",
43
+ "27": "InquiryofBloodReceivalRequirements",
44
+ "28": "InquiryofPostBloodDonationCareSchemes",
45
+ "29": "InquiryofPostBloodDonationCertificate",
46
+ "30": "InquiryofPostBloodDonationEffects",
47
+ "31": "InquiryofPostBloodReceivalCareSchemes",
48
+ "32": "InquiryofPostBloodReceivalEffects",
49
+ "33": "InquiryofVaccinationAgeLimit",
50
+ "34": "IntentForBloodDonationAppointment",
51
+ "35": "IntentForBloodReceivalAppointment",
52
+ "36": "ReportingAnimalAbuse",
53
+ "37": "ReportingAnimalPoaching",
54
+ "38": "ReportingChildAbuse",
55
+ "39": "ReportingCyberCrime",
56
+ "40": "ReportingDomesticViolence",
57
+ "41": "ReportingDowry",
58
+ "42": "ReportingDrugConsumption",
59
+ "43": "ReportingDrugTrafficing",
60
+ "44": "ReportingHitAndRun",
61
+ "45": "ReportingMissingPerson",
62
+ "46": "ReportingMissingPets",
63
+ "47": "ReportingMissingVehicle",
64
+ "48": "ReportingMurder",
65
+ "49": "ReportingPropertyTakeOver",
66
+ "50": "ReportingSexualAssault",
67
+ "51": "ReportingTheft",
68
+ "52": "ReportingTresspassing",
69
+ "53": "ReportingVehicleAccident",
70
+ "54": "StatusOfFIR"
71
+ },
72
+ "initializer_range": 0.02,
73
+ "intermediate_size": 3072,
74
+ "label2id": {
75
+ "ContactRealPerson": 0,
76
+ "Eligibility For BloodDonationWithComorbidities": 1,
77
+ "EligibilityForBloodDonationAgeLimit": 2,
78
+ "EligibilityForBloodDonationCovidGap": 3,
79
+ "EligibilityForBloodDonationForPregnantWomen": 4,
80
+ "EligibilityForBloodDonationGap": 5,
81
+ "EligibilityForBloodDonationSTD": 6,
82
+ "EligibilityForBloodReceiversBloodGroup": 7,
83
+ "EligitbilityForVaccine": 8,
84
+ "InquiryForCovidActiveCasesCount": 9,
85
+ "InquiryForCovidDeathCount": 10,
86
+ "InquiryForCovidPrevention": 11,
87
+ "InquiryForCovidRecentCasesCount": 12,
88
+ "InquiryForCovidTotalCasesCount": 13,
89
+ "InquiryForDoctorConsultation": 14,
90
+ "InquiryForQuarantinePeriod": 15,
91
+ "InquiryForTravelRestrictions": 16,
92
+ "InquiryForVaccinationRequirements": 17,
93
+ "InquiryForVaccineCost": 18,
94
+ "InquiryForVaccineCount": 19,
95
+ "InquiryOfContact": 20,
96
+ "InquiryOfCovidSymptoms": 21,
97
+ "InquiryOfEmergencyContact": 22,
98
+ "InquiryOfLocation": 23,
99
+ "InquiryOfLockdownDetails": 24,
100
+ "InquiryOfTiming": 25,
101
+ "InquiryofBloodDonationRequirements": 26,
102
+ "InquiryofBloodReceivalRequirements": 27,
103
+ "InquiryofPostBloodDonationCareSchemes": 28,
104
+ "InquiryofPostBloodDonationCertificate": 29,
105
+ "InquiryofPostBloodDonationEffects": 30,
106
+ "InquiryofPostBloodReceivalCareSchemes": 31,
107
+ "InquiryofPostBloodReceivalEffects": 32,
108
+ "InquiryofVaccinationAgeLimit": 33,
109
+ "IntentForBloodDonationAppointment": 34,
110
+ "IntentForBloodReceivalAppointment": 35,
111
+ "ReportingAnimalAbuse": 36,
112
+ "ReportingAnimalPoaching": 37,
113
+ "ReportingChildAbuse": 38,
114
+ "ReportingCyberCrime": 39,
115
+ "ReportingDomesticViolence": 40,
116
+ "ReportingDowry": 41,
117
+ "ReportingDrugConsumption": 42,
118
+ "ReportingDrugTrafficing": 43,
119
+ "ReportingHitAndRun": 44,
120
+ "ReportingMissingPerson": 45,
121
+ "ReportingMissingPets": 46,
122
+ "ReportingMissingVehicle": 47,
123
+ "ReportingMurder": 48,
124
+ "ReportingPropertyTakeOver": 49,
125
+ "ReportingSexualAssault": 50,
126
+ "ReportingTheft": 51,
127
+ "ReportingTresspassing": 52,
128
+ "ReportingVehicleAccident": 53,
129
+ "StatusOfFIR": 54
130
+ },
131
+ "layer_norm_eps": 1e-12,
132
+ "max_length": 192,
133
+ "max_position_embeddings": 514,
134
+ "model_type": "roberta",
135
+ "num_attention_heads": 12,
136
+ "num_hidden_layers": 6,
137
+ "pad_token_id": 1,
138
+ "padding": "max_length",
139
+ "position_embedding_type": "absolute",
140
+ "problem_type": "single_label_classification",
141
+ "torch_dtype": "float32",
142
+ "transformers_version": "4.20.0",
143
+ "type_vocab_size": 1,
144
+ "use_cache": true,
145
+ "vocab_size": 52000
146
+ }
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:88695107f414011fc168ef8275c9c85d6558ea966cc6e055288d4e6ef088bc62
3
+ size 334011693
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
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": "/app/.cache/huggingface/transformers/7ac3293496ad9a79a39d406ac8045f33eb6a28c2da9aa35665751442c973b3a9.0dc5b1041f62041ebbd23b1297f2f573769d5c97d8b7c28180ec86b8f6185aa8",
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