mwesner commited on
Commit
3840529
·
1 Parent(s): 974c2e2
Files changed (3) hide show
  1. README.md +63 -0
  2. config.json +54 -0
  3. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+
3
+ model-index:
4
+ - name: test-clm
5
+ ---
6
+
7
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
8
+ should probably proofread and complete it, then remove this comment. -->
9
+
10
+ # test-clm
11
+
12
+ This model was trained from scratch on an unkown dataset.
13
+ It achieves the following results on the evaluation set:
14
+ - Loss: 2.7783
15
+
16
+ ## Model description
17
+
18
+ More information needed
19
+
20
+ ## Intended uses & limitations
21
+
22
+ More information needed
23
+
24
+ ## Training and evaluation data
25
+
26
+ More information needed
27
+
28
+ ## Training procedure
29
+
30
+ ### Training hyperparameters
31
+
32
+ The following hyperparameters were used during training:
33
+ - learning_rate: 2e-05
34
+ - train_batch_size: 8
35
+ - eval_batch_size: 8
36
+ - seed: 42
37
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
38
+ - lr_scheduler_type: cosine_with_restarts
39
+ - lr_scheduler_warmup_steps: 500
40
+ - num_epochs: 10
41
+
42
+ ### Training results
43
+
44
+ | Training Loss | Epoch | Step | Validation Loss |
45
+ |:-------------:|:-----:|:------:|:---------------:|
46
+ | 3.8321 | 1.0 | 18412 | 3.8074 |
47
+ | 3.4965 | 2.0 | 36824 | 3.4223 |
48
+ | 3.1927 | 3.0 | 55236 | 3.0815 |
49
+ | 3.046 | 4.0 | 73648 | 2.9270 |
50
+ | 2.9781 | 5.0 | 92060 | 2.8515 |
51
+ | 2.9398 | 6.0 | 110472 | 2.8082 |
52
+ | 2.9293 | 7.0 | 128884 | 2.7904 |
53
+ | 2.9212 | 8.0 | 147296 | 2.7817 |
54
+ | 2.9169 | 9.0 | 165708 | 2.7787 |
55
+ | 2.9197 | 10.0 | 184120 | 2.7783 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.6.1
61
+ - Pytorch 1.9.0
62
+ - Datasets 1.2.1
63
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ReformerModelWithLMHead"
4
+ ],
5
+ "attention_head_size": 64,
6
+ "attn_layers": [
7
+ "local",
8
+ "lsh",
9
+ "local",
10
+ "lsh",
11
+ "local",
12
+ "lsh"
13
+ ],
14
+ "axial_norm_std": 1.0,
15
+ "axial_pos_embds": true,
16
+ "axial_pos_embds_dim": [
17
+ 64,
18
+ 192
19
+ ],
20
+ "axial_pos_shape": [
21
+ 64,
22
+ 64
23
+ ],
24
+ "chunk_size_lm_head": 0,
25
+ "eos_token_id": 2,
26
+ "feed_forward_size": 512,
27
+ "hash_seed": null,
28
+ "hidden_act": "gelu_new",
29
+ "hidden_dropout_prob": 0.025,
30
+ "hidden_size": 256,
31
+ "initializer_range": 0.02,
32
+ "is_decoder": true,
33
+ "layer_norm_eps": 1e-12,
34
+ "local_attention_probs_dropout_prob": 0.025,
35
+ "local_attn_chunk_length": 64,
36
+ "local_num_chunks_after": 0,
37
+ "local_num_chunks_before": 1,
38
+ "lsh_attention_probs_dropout_prob": 0.0,
39
+ "lsh_attn_chunk_length": 64,
40
+ "lsh_num_chunks_after": 0,
41
+ "lsh_num_chunks_before": 1,
42
+ "max_position_embeddings": 4096,
43
+ "model_type": "reformer",
44
+ "num_attention_heads": 2,
45
+ "num_buckets": 128,
46
+ "num_hashes": 8,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 0,
49
+ "sinusoidal_pos_embds": false,
50
+ "tie_word_embeddings": false,
51
+ "transformers_version": "4.6.1",
52
+ "use_cache": true,
53
+ "vocab_size": 320
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c477830ffc24a2023c9623d499055aadd2d3f6e716b38c0df8b4aab843dc8e8
3
+ size 10179275