Upload 10 files
Browse files- config.json +46 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +15 -0
- spiece.model +3 -0
- tokenizer_config.json +24 -0
- trainer_state.json +38 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "albert-base-v2",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "denier of human-made climate change",
|
18 |
+
"1": "neutral",
|
19 |
+
"2": "believer in human-made climate change",
|
20 |
+
"3": "factual news on climate change"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"inner_group_num": 1,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"denier of human-made climate change": 0,
|
27 |
+
"neutral": 1,
|
28 |
+
"believer in human-made climate change": 2,
|
29 |
+
"factual news on climate change": 3
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"max_position_embeddings": 512,
|
33 |
+
"model_type": "albert",
|
34 |
+
"net_structure_type": 0,
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_groups": 1,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"num_memory_blocks": 0,
|
39 |
+
"pad_token_id": 0,
|
40 |
+
"position_embedding_type": "absolute",
|
41 |
+
"problem_type": "single_label_classification",
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.26.1",
|
44 |
+
"type_vocab_size": 2,
|
45 |
+
"vocab_size": 30000
|
46 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38aa0e1782c8f778a88606a3b6760bee6a642c55d86689834617a2f21498c6f9
|
3 |
+
size 93510293
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7852a67ae21cca842d96944806defe428386942626ebd136aa829ba9b51eb20
|
3 |
+
size 46760811
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e250e2c13917dda4537bba7299059510bd14b8d2b150a8ee2d4dacc4901a3f4a
|
3 |
+
size 19822
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7611138de512b492c044baa1cf700963b6a856db4ff8e9ee1794cc4676a620b5
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "[MASK]",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "[SEP]",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
|
3 |
+
size 760289
|
tokenizer_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"eos_token": "[SEP]",
|
6 |
+
"keep_accents": false,
|
7 |
+
"mask_token": {
|
8 |
+
"__type": "AddedToken",
|
9 |
+
"content": "[MASK]",
|
10 |
+
"lstrip": true,
|
11 |
+
"normalized": false,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
},
|
15 |
+
"model_max_length": 512,
|
16 |
+
"name_or_path": "albert-base-v2",
|
17 |
+
"pad_token": "<pad>",
|
18 |
+
"remove_space": true,
|
19 |
+
"sep_token": "[SEP]",
|
20 |
+
"sp_model_kwargs": {},
|
21 |
+
"special_tokens_map_file": null,
|
22 |
+
"tokenizer_class": "AlbertTokenizer",
|
23 |
+
"unk_token": "<unk>"
|
24 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5887859463691711,
|
3 |
+
"best_model_checkpoint": "/home/deimann/climate-protests-models/stance_train1/checkpoint-734",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 734,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_loss": 0.6597924828529358,
|
13 |
+
"eval_runtime": 16.8555,
|
14 |
+
"eval_samples_per_second": 782.118,
|
15 |
+
"eval_steps_per_second": 9.314,
|
16 |
+
"step": 367
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.36,
|
20 |
+
"learning_rate": 1.455040871934605e-05,
|
21 |
+
"loss": 0.7485,
|
22 |
+
"step": 500
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 2.0,
|
26 |
+
"eval_loss": 0.5887859463691711,
|
27 |
+
"eval_runtime": 17.0303,
|
28 |
+
"eval_samples_per_second": 774.093,
|
29 |
+
"eval_steps_per_second": 9.219,
|
30 |
+
"step": 734
|
31 |
+
}
|
32 |
+
],
|
33 |
+
"max_steps": 1835,
|
34 |
+
"num_train_epochs": 5,
|
35 |
+
"total_flos": 182854942026912.0,
|
36 |
+
"trial_name": null,
|
37 |
+
"trial_params": null
|
38 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5dc8f912aaed19b35c074804a000d1c66802e4d6e7817986f821a2de4b386a18
|
3 |
+
size 3503
|