YaHi commited on
Commit
54aa3e2
1 Parent(s): ae2aea2

Training in progress, step 1200

Browse files
Files changed (4) hide show
  1. README.md +66 -0
  2. config.json +46 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/electra-small-discriminator
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: student_electra_small
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # student_electra_small
15
+
16
+ This model is a fine-tuned version of [google/electra-small-discriminator](https://huggingface.co/google/electra-small-discriminator) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.6526
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2e-05
38
+ - train_batch_size: 16
39
+ - eval_batch_size: 16
40
+ - seed: 1022
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_steps: 1000
44
+ - num_epochs: 4
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:-----:|:---------------:|
50
+ | 1.2909 | 0.4 | 1200 | 0.9714 |
51
+ | 0.9297 | 0.81 | 2400 | 0.8711 |
52
+ | 0.8196 | 1.21 | 3600 | 0.7628 |
53
+ | 0.7322 | 1.62 | 4800 | 0.7175 |
54
+ | 0.6985 | 2.02 | 6000 | 0.6786 |
55
+ | 0.6502 | 2.43 | 7200 | 0.6681 |
56
+ | 0.6277 | 2.83 | 8400 | 0.6602 |
57
+ | 0.6068 | 3.24 | 9600 | 0.6606 |
58
+ | 0.5994 | 3.64 | 10800 | 0.6526 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.32.1
64
+ - Pytorch 2.1.0
65
+ - Datasets 2.12.0
66
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/electra-small-discriminator",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 128,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1024,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "electra",
31
+ "num_attention_heads": 4,
32
+ "num_hidden_layers": 12,
33
+ "output_hidden_states": true,
34
+ "pad_token_id": 0,
35
+ "position_embedding_type": "absolute",
36
+ "problem_type": "single_label_classification",
37
+ "summary_activation": "gelu",
38
+ "summary_last_dropout": 0.1,
39
+ "summary_type": "first",
40
+ "summary_use_proj": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.32.1",
43
+ "type_vocab_size": 2,
44
+ "use_cache": true,
45
+ "vocab_size": 30522
46
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0205acdc61efc6e2029b8766e3b238745c995c17184ece914ddf080bef9646e
3
+ size 54270390
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6893ef9b19cf7f85acb8e4eef6536e15e81c40c922911da361a2d600a1f63a7d
3
+ size 4472