ShaunThayil commited on
Commit
1f0b671
·
1 Parent(s): 5992480

End of training

Browse files
Files changed (4) hide show
  1. README.md +74 -0
  2. config.json +25 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: distilbert-training-2
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # distilbert-training-2
20
+
21
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0164
24
+ - Accuracy: 0.9976
25
+ - Precision: 0.9982
26
+ - Recall: 0.9929
27
+ - F1: 0.9956
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 5
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | No log | 0.5 | 302 | 0.0849 | 0.9836 | 1.0 | 0.9398 | 0.9690 |
59
+ | No log | 1.0 | 604 | 0.0525 | 0.9894 | 0.9755 | 0.9858 | 0.9806 |
60
+ | 0.0957 | 1.5 | 906 | 0.0184 | 0.9971 | 0.9982 | 0.9912 | 0.9947 |
61
+ | 0.0957 | 2.0 | 1208 | 0.0438 | 0.9923 | 0.9982 | 0.9735 | 0.9857 |
62
+ | 0.0265 | 2.5 | 1510 | 0.0246 | 0.9966 | 0.9982 | 0.9894 | 0.9938 |
63
+ | 0.0265 | 3.0 | 1812 | 0.0170 | 0.9971 | 0.9982 | 0.9912 | 0.9947 |
64
+ | 0.0116 | 3.49 | 2114 | 0.0184 | 0.9971 | 1.0 | 0.9894 | 0.9947 |
65
+ | 0.0116 | 3.99 | 2416 | 0.0259 | 0.9961 | 1.0 | 0.9858 | 0.9929 |
66
+ | 0.0064 | 4.49 | 2718 | 0.0156 | 0.9976 | 0.9982 | 0.9929 | 0.9956 |
67
+ | 0.0064 | 4.99 | 3020 | 0.0164 | 0.9976 | 0.9982 | 0.9929 | 0.9956 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.33.1
73
+ - Pytorch 2.2.0.dev20230913+cu121
74
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
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
+ "initializer_range": 0.02,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
+ "pad_token_id": 0,
17
+ "problem_type": "single_label_classification",
18
+ "qa_dropout": 0.1,
19
+ "seq_classif_dropout": 0.2,
20
+ "sinusoidal_pos_embds": false,
21
+ "tie_weights_": true,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.33.1",
24
+ "vocab_size": 30522
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dab996ae4a59e9a292725f42da72e7cd1e57b43546a9d3cea362196e11f904ba
3
+ size 267855978
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1b508feb430422a17a659fc3d1aa28b2512a6a18b506162d52008669082c624
3
+ size 4536