added model files
Browse files- .gitattributes +2 -0
- README.md +6 -0
- config.json +28 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +128 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitattributes
CHANGED
@@ -25,3 +25,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
29 |
+
tf_model.h5 filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
---
|
|
|
|
|
|
|
2 |
license: mit
|
|
|
|
|
|
|
3 |
---
|
|
|
1 |
---
|
2 |
+
|
3 |
+
language:
|
4 |
+
- java
|
5 |
license: mit
|
6 |
+
datasets:
|
7 |
+
- anjandash/java-8m-methods-v1
|
8 |
+
|
9 |
---
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/Users/anjandash/Desktop/HF_MODELS/JavaBERT-mini",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 3,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-12,
|
17 |
+
"max_position_embeddings": 512,
|
18 |
+
"model_type": "bert",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 12,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.9.0",
|
25 |
+
"type_vocab_size": 2,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 64000
|
28 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0c371486c3dbeba52fa5dfdf0339d683e07ad48f522bb5591e7b05b29b168e4
|
3 |
+
size 541120363
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c63473cbc227f7e033c718d5fe751c9fc06b04c77f134c7501e3dfea031f4a61
|
3 |
+
size 15523
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61f32f894187fb542f29cbbe7f61fa211719166ef17c8a5665f9cdb762ff442f
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44017bf2efe324f988668a411fe5cb0bc3c79dce3ffb98f210b9bb0c3b61a0ff
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7de810b3f312aecc96faaa27da7b5425ea9d6418a37703829905d079efb83af8
|
3 |
+
size 541067608
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "/home/akarmakar/Project2/tokenizer/jemma-java-bert-tokenizer", "tokenizer_class": "BertTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.2563587427139282,
|
3 |
+
"best_model_checkpoint": "finetuned-bert__java-8m-methods__jemma-java-bert-tokenizer/checkpoint-5000",
|
4 |
+
"epoch": 4.669020454611771,
|
5 |
+
"global_step": 40000,
|
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.58,
|
12 |
+
"learning_rate": 0.0004888116319438376,
|
13 |
+
"loss": 3.0057,
|
14 |
+
"step": 5000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.58,
|
18 |
+
"eval_loss": 1.2563587427139282,
|
19 |
+
"eval_runtime": 836.9828,
|
20 |
+
"eval_samples_per_second": 59.343,
|
21 |
+
"eval_steps_per_second": 7.418,
|
22 |
+
"step": 5000
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 1.17,
|
26 |
+
"learning_rate": 0.00044517243817696517,
|
27 |
+
"loss": 1.5788,
|
28 |
+
"step": 10000
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 1.17,
|
32 |
+
"eval_loss": 6.417298793792725,
|
33 |
+
"eval_runtime": 835.6884,
|
34 |
+
"eval_samples_per_second": 59.435,
|
35 |
+
"eval_steps_per_second": 7.43,
|
36 |
+
"step": 10000
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.75,
|
40 |
+
"learning_rate": 0.00037428394451934934,
|
41 |
+
"loss": 5.9109,
|
42 |
+
"step": 15000
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.75,
|
46 |
+
"eval_loss": 6.413046836853027,
|
47 |
+
"eval_runtime": 833.6127,
|
48 |
+
"eval_samples_per_second": 59.583,
|
49 |
+
"eval_steps_per_second": 7.448,
|
50 |
+
"step": 15000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 2.33,
|
54 |
+
"learning_rate": 0.00028607867802092244,
|
55 |
+
"loss": 5.9036,
|
56 |
+
"step": 20000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 2.33,
|
60 |
+
"eval_loss": 6.433701038360596,
|
61 |
+
"eval_runtime": 833.0303,
|
62 |
+
"eval_samples_per_second": 59.624,
|
63 |
+
"eval_steps_per_second": 7.454,
|
64 |
+
"step": 20000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 2.92,
|
68 |
+
"learning_rate": 0.00019284648488204127,
|
69 |
+
"loss": 5.9003,
|
70 |
+
"step": 25000
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 2.92,
|
74 |
+
"eval_loss": 6.432703971862793,
|
75 |
+
"eval_runtime": 833.1905,
|
76 |
+
"eval_samples_per_second": 59.613,
|
77 |
+
"eval_steps_per_second": 7.452,
|
78 |
+
"step": 25000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 3.5,
|
82 |
+
"learning_rate": 0.00010757762475595697,
|
83 |
+
"loss": 5.8971,
|
84 |
+
"step": 30000
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 3.5,
|
88 |
+
"eval_loss": 6.4252238273620605,
|
89 |
+
"eval_runtime": 846.7073,
|
90 |
+
"eval_samples_per_second": 58.661,
|
91 |
+
"eval_steps_per_second": 7.333,
|
92 |
+
"step": 30000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 4.09,
|
96 |
+
"learning_rate": 4.217367458660157e-05,
|
97 |
+
"loss": 5.8972,
|
98 |
+
"step": 35000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 4.09,
|
102 |
+
"eval_loss": 6.429380416870117,
|
103 |
+
"eval_runtime": 846.9722,
|
104 |
+
"eval_samples_per_second": 58.643,
|
105 |
+
"eval_steps_per_second": 7.331,
|
106 |
+
"step": 35000
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 4.67,
|
110 |
+
"learning_rate": 5.6997776508484205e-06,
|
111 |
+
"loss": 5.892,
|
112 |
+
"step": 40000
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 4.67,
|
116 |
+
"eval_loss": 6.426671504974365,
|
117 |
+
"eval_runtime": 847.0538,
|
118 |
+
"eval_samples_per_second": 58.637,
|
119 |
+
"eval_steps_per_second": 7.33,
|
120 |
+
"step": 40000
|
121 |
+
}
|
122 |
+
],
|
123 |
+
"max_steps": 42835,
|
124 |
+
"num_train_epochs": 5,
|
125 |
+
"total_flos": 6.741181575431455e+17,
|
126 |
+
"trial_name": null,
|
127 |
+
"trial_params": null
|
128 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7628d68fa5e1ff99fb88c4d7a4d4a6a705ba610323f735887ff2919aecec2661
|
3 |
+
size 3119
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|