yiyang0101
commited on
Commit
•
02b3bcb
1
Parent(s):
b665d0c
Upload trained model
Browse files- model/config.json +27 -0
- model/model.safetensors +3 -0
- model/training_args.bin +3 -0
- results/checkpoint-3/config.json +27 -0
- results/checkpoint-3/model.safetensors +3 -0
- results/checkpoint-3/optimizer.pt +3 -0
- results/checkpoint-3/rng_state.pth +3 -0
- results/checkpoint-3/scheduler.pt +3 -0
- results/checkpoint-3/trainer_state.json +49 -0
- results/checkpoint-3/training_args.bin +3 -0
model/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/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d57a088ae5032aec70a98350f7570f96cd39d2a76251ea7d4b1f997fd3dbc9d
|
3 |
+
size 437958648
|
model/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57938cb2f14c664fd458899b84e96076c2bffe89bd68aa3584841485d801656a
|
3 |
+
size 4731
|
results/checkpoint-3/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 |
+
}
|
results/checkpoint-3/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d57a088ae5032aec70a98350f7570f96cd39d2a76251ea7d4b1f997fd3dbc9d
|
3 |
+
size 437958648
|
results/checkpoint-3/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b52dd47ac04f64e216f20ca977a2a30ed57882e32c55b3323673713bdc4ca764
|
3 |
+
size 876032325
|
results/checkpoint-3/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82977179d430821bc5ad62c4dad438b40ff2cfe3c37564615b0628f6185da60a
|
3 |
+
size 13553
|
results/checkpoint-3/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2f33563639c06f9199097871f01c259e75a9ea0c5270cbc21060c4e9830fb47
|
3 |
+
size 627
|
results/checkpoint-3/trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"eval_loss": 0.5799838304519653,
|
14 |
+
"eval_runtime": 0.1456,
|
15 |
+
"eval_samples_per_second": 6.87,
|
16 |
+
"eval_steps_per_second": 6.87,
|
17 |
+
"step": 1
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 2.0,
|
21 |
+
"eval_loss": 0.5861068964004517,
|
22 |
+
"eval_runtime": 0.0517,
|
23 |
+
"eval_samples_per_second": 19.329,
|
24 |
+
"eval_steps_per_second": 19.329,
|
25 |
+
"step": 2
|
26 |
+
}
|
27 |
+
],
|
28 |
+
"logging_steps": 500,
|
29 |
+
"max_steps": 3,
|
30 |
+
"num_input_tokens_seen": 0,
|
31 |
+
"num_train_epochs": 3,
|
32 |
+
"save_steps": 500,
|
33 |
+
"stateful_callbacks": {
|
34 |
+
"TrainerControl": {
|
35 |
+
"args": {
|
36 |
+
"should_epoch_stop": false,
|
37 |
+
"should_evaluate": false,
|
38 |
+
"should_log": false,
|
39 |
+
"should_save": true,
|
40 |
+
"should_training_stop": true
|
41 |
+
},
|
42 |
+
"attributes": {}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"total_flos": 1578666332160.0,
|
46 |
+
"train_batch_size": 16,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|
results/checkpoint-3/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57938cb2f14c664fd458899b84e96076c2bffe89bd68aa3584841485d801656a
|
3 |
+
size 4731
|