mhr2004 commited on
Commit
6c27653
1 Parent(s): bd3dd11

mhr2004/bert-base-uncased-nsp-50000-1e-06-16

Browse files
Files changed (4) hide show
  1. README.md +77 -0
  2. config.json +27 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: bert-base-uncased-nsp-50000-1e-06-16
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
+ # bert-base-uncased-nsp-50000-1e-06-16
16
+
17
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.2315
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: 1e-06
39
+ - train_batch_size: 64
40
+ - eval_batch_size: 1024
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 30
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:-----:|:---------------:|
50
+ | 0.6829 | 1.0 | 782 | 0.6331 |
51
+ | 0.589 | 2.0 | 1564 | 0.5425 |
52
+ | 0.4436 | 3.0 | 2346 | 0.3892 |
53
+ | 0.3601 | 4.0 | 3128 | 0.3341 |
54
+ | 0.3181 | 5.0 | 3910 | 0.3010 |
55
+ | 0.2893 | 6.0 | 4692 | 0.2816 |
56
+ | 0.2736 | 7.0 | 5474 | 0.2711 |
57
+ | 0.2505 | 8.0 | 6256 | 0.2626 |
58
+ | 0.2277 | 9.0 | 7038 | 0.2539 |
59
+ | 0.216 | 10.0 | 7820 | 0.2474 |
60
+ | 0.207 | 11.0 | 8602 | 0.2452 |
61
+ | 0.212 | 12.0 | 9384 | 0.2398 |
62
+ | 0.1956 | 13.0 | 10166 | 0.2384 |
63
+ | 0.1794 | 14.0 | 10948 | 0.2374 |
64
+ | 0.1894 | 15.0 | 11730 | 0.2358 |
65
+ | 0.1731 | 16.0 | 12512 | 0.2358 |
66
+ | 0.1717 | 17.0 | 13294 | 0.2315 |
67
+ | 0.1652 | 18.0 | 14076 | 0.2349 |
68
+ | 0.1647 | 19.0 | 14858 | 0.2353 |
69
+ | 0.1565 | 20.0 | 15640 | 0.2349 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.44.2
75
+ - Pytorch 2.4.0+cu121
76
+ - Datasets 2.21.0
77
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.44.2",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 30522
27
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b56d60e133643f009d812ebb7a11bd2ed0a5cac0fbe385fb47bbaea6fc4a72f
3
+ size 437958648
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:676b1ee4d81199a81182a7078e6a00ae376c7bc8eb44b3daae4975291dcfea4d
3
+ size 5176