xshubhamx commited on
Commit
11e8165
·
verified ·
1 Parent(s): b65b9f2

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: distilbert_base_uncased_fine_tune
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # distilbert_base_uncased_fine_tune
17
+
18
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.7521
21
+ - Accuracy: 0.8071
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3.0
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 1.2243 | 1.0 | 643 | 0.7634 | 0.7645 |
53
+ | 0.647 | 2.0 | 1286 | 0.6885 | 0.7916 |
54
+ | 0.4487 | 3.0 | 1929 | 0.7521 | 0.8071 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.38.2
60
+ - Pytorch 2.1.2
61
+ - Datasets 2.1.0
62
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-cased",
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
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9",
22
+ "10": "LABEL_10",
23
+ "11": "LABEL_11",
24
+ "12": "LABEL_12",
25
+ "13": "LABEL_13",
26
+ "14": "LABEL_14"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "label2id": {
30
+ "LABEL_0": 0,
31
+ "LABEL_1": 1,
32
+ "LABEL_10": 10,
33
+ "LABEL_11": 11,
34
+ "LABEL_12": 12,
35
+ "LABEL_13": 13,
36
+ "LABEL_14": 14,
37
+ "LABEL_2": 2,
38
+ "LABEL_3": 3,
39
+ "LABEL_4": 4,
40
+ "LABEL_5": 5,
41
+ "LABEL_6": 6,
42
+ "LABEL_7": 7,
43
+ "LABEL_8": 8,
44
+ "LABEL_9": 9
45
+ },
46
+ "max_position_embeddings": 512,
47
+ "model_type": "distilbert",
48
+ "n_heads": 12,
49
+ "n_layers": 6,
50
+ "output_past": true,
51
+ "pad_token_id": 0,
52
+ "problem_type": "single_label_classification",
53
+ "qa_dropout": 0.1,
54
+ "seq_classif_dropout": 0.2,
55
+ "sinusoidal_pos_embds": false,
56
+ "tie_weights_": true,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.38.2",
59
+ "vocab_size": 28996
60
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67347279ec7d97cffafbaddd58e66760858693a920ecbe43d1196ef9398e2cb5
3
+ size 263184676
runs/Apr07_01-28-48_5dd65b8a138d/events.out.tfevents.1712453335.5dd65b8a138d.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d6adde1d19bb3b4d9be8c2dd075362ed1d66b36bd7647410a2532d7c91147a0
3
+ size 7114
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ecde51e29f8c807de9a11639c9f90d396d2efc0c06507907ee7d6349f8311f1
3
+ size 4920