sandip404 commited on
Commit
2c8a590
·
verified ·
1 Parent(s): 05e8994

sandip404/sambodhan-nepali-grievance-muril

Browse files
README.md CHANGED
@@ -1,73 +1,70 @@
1
- ---
2
- library_name: transformers
3
- license: apache-2.0
4
- base_model: google/muril-base-cased
5
- tags:
6
- - generated_from_trainer
7
- metrics:
8
- - accuracy
9
- - f1
10
- - precision
11
- - recall
12
- model-index:
13
- - name: results
14
- results: []
15
- ---
16
-
17
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
- should probably proofread and complete it, then remove this comment. -->
19
-
20
- # results
21
-
22
- This model is a fine-tuned version of [google/muril-base-cased](https://huggingface.co/google/muril-base-cased) on the None dataset.
23
- It achieves the following results on the evaluation set:
24
- - Loss: 0.8392
25
- - Accuracy: 0.8555
26
- - F1: 0.8560
27
- - Precision: 0.8600
28
- - Recall: 0.8555
29
-
30
- ## Model description
31
-
32
- More information needed
33
-
34
- ## Intended uses & limitations
35
-
36
- More information needed
37
-
38
- ## Training and evaluation data
39
-
40
- More information needed
41
-
42
- ## Training procedure
43
-
44
- ### Training hyperparameters
45
-
46
- The following hyperparameters were used during training:
47
- - learning_rate: 2e-05
48
- - train_batch_size: 16
49
- - eval_batch_size: 16
50
- - seed: 42
51
- - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
- - lr_scheduler_type: linear
53
- - lr_scheduler_warmup_steps: 100
54
- - num_epochs: 5
55
- - mixed_precision_training: Native AMP
56
-
57
- ### Training results
58
-
59
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
60
- |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
61
- | 1.546 | 1.0 | 170 | 1.4365 | 0.4322 | 0.3232 | 0.3692 | 0.4322 |
62
- | 1.2151 | 2.0 | 340 | 1.1372 | 0.5339 | 0.4345 | 0.4263 | 0.5339 |
63
- | 0.9865 | 3.0 | 510 | 0.9491 | 0.7080 | 0.6423 | 0.6121 | 0.7080 |
64
- | 0.8873 | 4.0 | 680 | 0.8685 | 0.7611 | 0.7264 | 0.8391 | 0.7611 |
65
- | 0.8119 | 5.0 | 850 | 0.8392 | 0.8555 | 0.8560 | 0.8600 | 0.8555 |
66
-
67
-
68
- ### Framework versions
69
-
70
- - Transformers 4.57.0
71
- - Pytorch 2.8.0+cu126
72
- - Datasets 4.0.0
73
- - Tokenizers 0.22.1
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/muril-base-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: results
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # results
21
+
22
+ This model is a fine-tuned version of [google/muril-base-cased](https://huggingface.co/google/muril-base-cased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.8564
25
+ - Accuracy: 0.8761
26
+ - F1: 0.8755
27
+ - Precision: 0.8892
28
+ - Recall: 0.8761
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 100
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 1.3029 | 1.0 | 339 | 1.1999 | 0.5634 | 0.4575 | 0.4881 | 0.5634 |
61
+ | 1.0073 | 2.0 | 678 | 0.9380 | 0.7168 | 0.6836 | 0.7627 | 0.7168 |
62
+ | 0.8519 | 3.0 | 1017 | 0.8564 | 0.8761 | 0.8755 | 0.8892 | 0.8761 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.56.2
68
+ - Pytorch 2.7.1+cpu
69
+ - Datasets 4.2.0
70
+ - Tokenizers 0.22.1
 
 
 
config.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "architectures": [
3
- "BertForSequenceClassification"
4
- ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "classifier_dropout": null,
7
- "dtype": "float32",
8
- "embedding_size": 768,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
- "id2label": {
13
- "0": "Education, Health & Social Welfare",
14
- "1": "Infrastructure, Utilities & Natural Resources",
15
- "2": "Municipal Governance & Community Services",
16
- "3": "Other / Unknown",
17
- "4": "Security & Law Enforcement"
18
- },
19
- "initializer_range": 0.02,
20
- "intermediate_size": 3072,
21
- "label2id": {
22
- "Education, Health & Social Welfare": 0,
23
- "Infrastructure, Utilities & Natural Resources": 1,
24
- "Municipal Governance & Community Services": 2,
25
- "Other / Unknown": 3,
26
- "Security & Law Enforcement": 4
27
- },
28
- "layer_norm_eps": 1e-12,
29
- "max_position_embeddings": 512,
30
- "model_type": "bert",
31
- "num_attention_heads": 12,
32
- "num_hidden_layers": 12,
33
- "pad_token_id": 0,
34
- "position_embedding_type": "absolute",
35
- "problem_type": "single_label_classification",
36
- "transformers_version": "4.57.0",
37
- "type_vocab_size": 2,
38
- "use_cache": true,
39
- "vocab_size": 197285
40
- }
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "embedding_size": 768,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Education, Health & Social Welfare",
14
+ "1": "Infrastructure, Utilities & Natural Resources",
15
+ "2": "Municipal Governance & Community Services",
16
+ "3": "Other / Unknown",
17
+ "4": "Security & Law Enforcement"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Education, Health & Social Welfare": 0,
23
+ "Infrastructure, Utilities & Natural Resources": 1,
24
+ "Municipal Governance & Community Services": 2,
25
+ "Other / Unknown": 3,
26
+ "Security & Law Enforcement": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "transformers_version": "4.56.2",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 197285
40
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b19d68f4988359325b410ff4610b3fc89b4b86546b95a9f37e45cd016a5cfbc
3
  size 950263820
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5d147df69aa2dbf059cb1968f32ea024648c56234794c5a8ac83efe13fefde5
3
  size 950263820
special_tokens_map.json CHANGED
@@ -1,7 +1,7 @@
1
- {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
7
- }
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer_config.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "added_tokens_decoder": {
3
- "0": {
4
- "content": "[PAD]",
5
- "lstrip": false,
6
- "normalized": false,
7
- "rstrip": false,
8
- "single_word": false,
9
- "special": true
10
- },
11
- "100": {
12
- "content": "[UNK]",
13
- "lstrip": false,
14
- "normalized": false,
15
- "rstrip": false,
16
- "single_word": false,
17
- "special": true
18
- },
19
- "103": {
20
- "content": "[MASK]",
21
- "lstrip": false,
22
- "normalized": false,
23
- "rstrip": false,
24
- "single_word": false,
25
- "special": true
26
- },
27
- "104": {
28
- "content": "[CLS]",
29
- "lstrip": false,
30
- "normalized": false,
31
- "rstrip": false,
32
- "single_word": false,
33
- "special": true
34
- },
35
- "105": {
36
- "content": "[SEP]",
37
- "lstrip": false,
38
- "normalized": false,
39
- "rstrip": false,
40
- "single_word": false,
41
- "special": true
42
- }
43
- },
44
- "clean_up_tokenization_spaces": true,
45
- "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
- "do_lower_case": false,
48
- "extra_special_tokens": {},
49
- "lowercase": false,
50
- "mask_token": "[MASK]",
51
- "model_max_length": 512,
52
- "never_split": null,
53
- "pad_token": "[PAD]",
54
- "sep_token": "[SEP]",
55
- "strip_accents": false,
56
- "tokenize_chinese_chars": true,
57
- "tokenizer_class": "BertTokenizer",
58
- "unk_token": "[UNK]"
59
- }
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "103": {
20
+ "content": "[MASK]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "104": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "105": {
36
+ "content": "[SEP]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "lowercase": false,
50
+ "mask_token": "[MASK]",
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": false,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:437d1beb508900fdd412db72978b5c8b37b325140c831735f62c1913cc3bcebc
3
- size 5777
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e436925272baf4f1800ed3aacda85da3a81d776d32cb4b1a39c0e19cd3ee1e75
3
+ size 5713