Vyke2000 commited on
Commit
780c3ab
·
verified ·
1 Parent(s): cd6eca6

Vyke2000/BERT_v3

Browse files
Files changed (4) hide show
  1. README.md +76 -0
  2. config.json +36 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: Sakonii/distilbert-base-nepali
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - recall
10
+ - precision
11
+ - f1
12
+ model-index:
13
+ - name: BERT_Classifier_DE
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
+ # BERT_Classifier_DE
21
+
22
+ This model is a fine-tuned version of [Sakonii/distilbert-base-nepali](https://huggingface.co/Sakonii/distilbert-base-nepali) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.8645
25
+ - Accuracy: 0.7815
26
+ - Recall: 0.6421
27
+ - Precision: 0.6362
28
+ - F1: 0.6294
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: 1.9165942005355648e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - optimizer: Use 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_ratio: 0.17707559519779958
54
+ - num_epochs: 20
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision | F1 |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | No log | 1.0 | 286 | 1.2997 | 0.7902 | 0.25 | 0.1976 | 0.2207 |
61
+ | 1.1831 | 2.0 | 572 | 1.0854 | 0.7273 | 0.3508 | 0.2747 | 0.2957 |
62
+ | 1.1831 | 3.0 | 858 | 1.0082 | 0.7640 | 0.4274 | 0.4180 | 0.3991 |
63
+ | 0.8686 | 4.0 | 1144 | 0.8645 | 0.7815 | 0.6421 | 0.6362 | 0.6294 |
64
+ | 0.8686 | 5.0 | 1430 | 0.9993 | 0.7483 | 0.5696 | 0.5609 | 0.5560 |
65
+ | 0.6366 | 6.0 | 1716 | 1.1232 | 0.7413 | 0.5868 | 0.4968 | 0.5287 |
66
+ | 0.4593 | 7.0 | 2002 | 1.5033 | 0.7483 | 0.4918 | 0.4888 | 0.4902 |
67
+ | 0.4593 | 8.0 | 2288 | 1.5870 | 0.7413 | 0.5122 | 0.4819 | 0.4950 |
68
+ | 0.3643 | 9.0 | 2574 | 2.0792 | 0.7255 | 0.4719 | 0.4854 | 0.4754 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.47.0
74
+ - Pytorch 2.5.1+cu121
75
+ - Datasets 3.2.0
76
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Sakonii/distilbert-base-nepali",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "label2id": {
19
+ "LABEL_0": 0,
20
+ "LABEL_1": 1,
21
+ "LABEL_2": 2,
22
+ "LABEL_3": 3
23
+ },
24
+ "max_position_embeddings": 512,
25
+ "model_type": "distilbert",
26
+ "n_heads": 12,
27
+ "n_layers": 6,
28
+ "pad_token_id": 0,
29
+ "qa_dropout": 0.1,
30
+ "seq_classif_dropout": 0.2,
31
+ "sinusoidal_pos_embds": false,
32
+ "tie_weights_": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.47.0",
35
+ "vocab_size": 30522
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb80a183a87bf7f00ae9a8452f9c0309c5b109f42b801dbd5d003a36899340f
3
+ size 267838720
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acf6f60c2949e5d9a00f9189c6f0b3145db8edb1eb1d6e1e21290b5afdb59c3b
3
+ size 5368