barto17 commited on
Commit
f3958a9
1 Parent(s): b4c3f0d

End of training

Browse files
Files changed (4) hide show
  1. README.md +60 -0
  2. config.json +25 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: DistilBertForSequenceClassification
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imdb
7
+ model-index:
8
+ - name: finetuned-imdb
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # finetuned-imdb
16
+
17
+ This model is a fine-tuned version of [DistilBertForSequenceClassification](https://huggingface.co/DistilBertForSequenceClassification) on the imdb dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.4994
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 0.4041 | 1.0 | 625 | 0.2722 |
51
+ | 0.2358 | 2.0 | 1250 | 0.3961 |
52
+ | 0.1243 | 3.0 | 1875 | 0.4994 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.33.2
58
+ - Pytorch 2.0.1+cu118
59
+ - Datasets 2.14.5
60
+ - 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.2",
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:4f46ba32bea1eac01780faafcacbaab5d829656a69a4ed6e81df865e55259e45
3
+ size 267855533
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a07e4c7b2128e2836529ab32cd5e4cfab45a28e2d6c51ca17f11ad2a1c7c1907
3
+ size 3963