tuanio commited on
Commit
2802bbe
1 Parent(s): 2f96174

Model save

Browse files
Files changed (4) hide show
  1. README.md +66 -0
  2. config.json +25 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ model-index:
7
+ - name: fine-tuning-binary_bert-cola-glue-steps47-bs128-0.0003-8-8-512-0.1
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
+ # fine-tuning-binary_bert-cola-glue-steps47-bs128-0.0003-8-8-512-0.1
15
+
16
+ This model was trained from scratch on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.0000
19
+ - Accuracy: 1.0
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: 0.0003
39
+ - train_batch_size: 128
40
+ - eval_batch_size: 128
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 2
44
+ - total_train_batch_size: 256
45
+ - total_eval_batch_size: 256
46
+ - optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 1
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.0999 | 0.21 | 5 | 0.0027 | 1.0 |
56
+ | 0.0012 | 0.42 | 10 | 0.0001 | 1.0 |
57
+ | 0.0001 | 0.62 | 15 | 0.0000 | 1.0 |
58
+ | 0.0 | 0.83 | 20 | 0.0000 | 1.0 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.34.1
64
+ - Pytorch 2.1.0+cu121
65
+ - Datasets 2.14.6
66
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./binary_bert-steps54067-bs4096-0.0003-8-8-512-0.1-invalid_shuffled",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": 0.1,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 512,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 2048,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 8,
17
+ "num_hidden_layers": 8,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "bfloat16",
21
+ "transformers_version": "4.34.1",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
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:bee95667929f35b6ecf51386549f3a382b7bafd488d0d249a3d8b8582a44801b
3
+ size 82267430
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c229804f004dbe5438b61981d4cbb2b55ac89f5352abfbc234d34be8588e4a2
3
+ size 5496