joelniklaus
commited on
Commit
•
2e3c552
1
Parent(s):
cb5285f
Training in progress, step 10000
Browse files- .gitignore +1 -0
- config.json +47 -0
- last-checkpoint/config.json +47 -0
- last-checkpoint/optimizer.pt +3 -0
- last-checkpoint/pytorch_model.bin +3 -0
- last-checkpoint/rng_state.pth +3 -0
- last-checkpoint/scaler.pt +3 -0
- last-checkpoint/scheduler.pt +3 -0
- last-checkpoint/special_tokens_map.json +9 -0
- last-checkpoint/tokenizer.json +0 -0
- last-checkpoint/tokenizer_config.json +12 -0
- last-checkpoint/trainer_state.json +85 -0
- last-checkpoint/training_args.bin +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +9 -0
- tokenizer.json +0 -0
- tokenizer_config.json +12 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "data/plms/legal-xlm-longformer-base",
|
3 |
+
"architectures": [
|
4 |
+
"LongformerForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_mode": "longformer",
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"attention_window": [
|
9 |
+
128,
|
10 |
+
128,
|
11 |
+
128,
|
12 |
+
128,
|
13 |
+
128,
|
14 |
+
128,
|
15 |
+
128,
|
16 |
+
128,
|
17 |
+
128,
|
18 |
+
128,
|
19 |
+
128,
|
20 |
+
128
|
21 |
+
],
|
22 |
+
"bos_token_id": 1,
|
23 |
+
"classifier_dropout": null,
|
24 |
+
"cls_token_id": 1,
|
25 |
+
"eos_token_id": 2,
|
26 |
+
"gradient_checkpointing": false,
|
27 |
+
"hidden_act": "gelu",
|
28 |
+
"hidden_dropout_prob": 0.1,
|
29 |
+
"hidden_size": 768,
|
30 |
+
"ignore_attention_mask": false,
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"max_position_embeddings": 4098,
|
35 |
+
"model_max_length": 4096,
|
36 |
+
"model_type": "longformer",
|
37 |
+
"num_attention_heads": 12,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"onnx_export": false,
|
40 |
+
"pad_token_id": 0,
|
41 |
+
"position_embedding_type": "absolute",
|
42 |
+
"sep_token_id": 2,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.28.1",
|
45 |
+
"type_vocab_size": 1,
|
46 |
+
"vocab_size": 128000
|
47 |
+
}
|
last-checkpoint/config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "data/plms/legal-xlm-longformer-base",
|
3 |
+
"architectures": [
|
4 |
+
"LongformerForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_mode": "longformer",
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"attention_window": [
|
9 |
+
128,
|
10 |
+
128,
|
11 |
+
128,
|
12 |
+
128,
|
13 |
+
128,
|
14 |
+
128,
|
15 |
+
128,
|
16 |
+
128,
|
17 |
+
128,
|
18 |
+
128,
|
19 |
+
128,
|
20 |
+
128
|
21 |
+
],
|
22 |
+
"bos_token_id": 1,
|
23 |
+
"classifier_dropout": null,
|
24 |
+
"cls_token_id": 1,
|
25 |
+
"eos_token_id": 2,
|
26 |
+
"gradient_checkpointing": false,
|
27 |
+
"hidden_act": "gelu",
|
28 |
+
"hidden_dropout_prob": 0.1,
|
29 |
+
"hidden_size": 768,
|
30 |
+
"ignore_attention_mask": false,
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"max_position_embeddings": 4098,
|
35 |
+
"model_max_length": 4096,
|
36 |
+
"model_type": "longformer",
|
37 |
+
"num_attention_heads": 12,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"onnx_export": false,
|
40 |
+
"pad_token_id": 0,
|
41 |
+
"position_embedding_type": "absolute",
|
42 |
+
"sep_token_id": 2,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.28.1",
|
45 |
+
"type_vocab_size": 1,
|
46 |
+
"vocab_size": 128000
|
47 |
+
}
|
last-checkpoint/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eaab15388944543359e51e90cc1ade38ffb5c46258d39257061b5b24e463351a
|
3 |
+
size 1668076741
|
last-checkpoint/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c010fae9983d5070f0c0388b3eb868d3bd6b5a83d1368b702a466aed8c80be9
|
3 |
+
size 834053717
|
last-checkpoint/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:652b49b8620dfd624403a02210a0c5bf694a92f75e9a2ccc8d38f6a933694a41
|
3 |
+
size 17641
|
last-checkpoint/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eebdf9e1618d1076edbbc7c3b6520da70b1141cff74a85b3f87f1558b8930c0
|
3 |
+
size 557
|
last-checkpoint/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2fe1d6c51a97574d86dcafe0758db38a16709943cffb071f1dd8342878c794fe
|
3 |
+
size 627
|
last-checkpoint/special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
last-checkpoint/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
last-checkpoint/tokenizer_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"mask_token": "<mask>",
|
7 |
+
"model_max_length": 4096,
|
8 |
+
"pad_token": "<pad>",
|
9 |
+
"sep_token": "</s>",
|
10 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
11 |
+
"unk_token": "<unk>"
|
12 |
+
}
|
last-checkpoint/trainer_state.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.2,
|
5 |
+
"global_step": 10000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.02,
|
12 |
+
"learning_rate": 1.1964e-05,
|
13 |
+
"loss": 1.6251,
|
14 |
+
"step": 1000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.04,
|
18 |
+
"learning_rate": 2.3952e-05,
|
19 |
+
"loss": 1.0682,
|
20 |
+
"step": 2000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.06,
|
24 |
+
"learning_rate": 2.9991929541758342e-05,
|
25 |
+
"loss": 0.8531,
|
26 |
+
"step": 3000
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.08,
|
30 |
+
"learning_rate": 2.9926636060938516e-05,
|
31 |
+
"loss": 0.8384,
|
32 |
+
"step": 4000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.1,
|
36 |
+
"learning_rate": 2.9796072198520905e-05,
|
37 |
+
"loss": 0.8226,
|
38 |
+
"step": 5000
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.12,
|
42 |
+
"learning_rate": 2.96010361969696e-05,
|
43 |
+
"loss": 0.8162,
|
44 |
+
"step": 6000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.14,
|
48 |
+
"learning_rate": 2.9342281162131742e-05,
|
49 |
+
"loss": 0.802,
|
50 |
+
"step": 7000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.16,
|
54 |
+
"learning_rate": 2.902058372494256e-05,
|
55 |
+
"loss": 0.8099,
|
56 |
+
"step": 8000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.18,
|
60 |
+
"learning_rate": 2.8637577842487164e-05,
|
61 |
+
"loss": 0.8511,
|
62 |
+
"step": 9000
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.2,
|
66 |
+
"learning_rate": 2.8194938302038455e-05,
|
67 |
+
"loss": 0.8355,
|
68 |
+
"step": 10000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.2,
|
72 |
+
"eval_accuracy": 0.8438622275145564,
|
73 |
+
"eval_loss": 0.6963315010070801,
|
74 |
+
"eval_runtime": 212.1584,
|
75 |
+
"eval_samples_per_second": 23.567,
|
76 |
+
"eval_steps_per_second": 0.589,
|
77 |
+
"step": 10000
|
78 |
+
}
|
79 |
+
],
|
80 |
+
"max_steps": 50000,
|
81 |
+
"num_train_epochs": 9223372036854775807,
|
82 |
+
"total_flos": 3.156662550528e+18,
|
83 |
+
"trial_name": null,
|
84 |
+
"trial_params": null
|
85 |
+
}
|
last-checkpoint/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d6713f867320f7860774658b8877a69298e4930ee45a074eaf1cb0103baaca9
|
3 |
+
size 3707
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c010fae9983d5070f0c0388b3eb868d3bd6b5a83d1368b702a466aed8c80be9
|
3 |
+
size 834053717
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": "<mask>",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"sep_token": "</s>",
|
8 |
+
"unk_token": "<unk>"
|
9 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"mask_token": "<mask>",
|
7 |
+
"model_max_length": 4096,
|
8 |
+
"pad_token": "<pad>",
|
9 |
+
"sep_token": "</s>",
|
10 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
11 |
+
"unk_token": "<unk>"
|
12 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d6713f867320f7860774658b8877a69298e4930ee45a074eaf1cb0103baaca9
|
3 |
+
size 3707
|