mllm-dev commited on
Commit
adf9ec7
1 Parent(s): e6fe7a9

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai-community/gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6,
32
+ "LABEL_7": 7,
33
+ "LABEL_8": 8,
34
+ "LABEL_9": 9
35
+ },
36
+ "layer_norm_epsilon": 1e-05,
37
+ "model_type": "gpt2",
38
+ "n_ctx": 1024,
39
+ "n_embd": 768,
40
+ "n_head": 12,
41
+ "n_inner": null,
42
+ "n_layer": 12,
43
+ "n_positions": 1024,
44
+ "pad_token_id": 50256,
45
+ "problem_type": "single_label_classification",
46
+ "reorder_and_upcast_attn": false,
47
+ "resid_pdrop": 0.1,
48
+ "scale_attn_by_inverse_layer_idx": false,
49
+ "scale_attn_weights": true,
50
+ "summary_activation": null,
51
+ "summary_first_dropout": 0.1,
52
+ "summary_proj_to_labels": true,
53
+ "summary_type": "cls_index",
54
+ "summary_use_proj": true,
55
+ "task_specific_params": {
56
+ "text-generation": {
57
+ "do_sample": true,
58
+ "max_length": 50
59
+ }
60
+ },
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.40.0.dev0",
63
+ "use_cache": true,
64
+ "vocab_size": 50257
65
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5de1ebfcdc3401576375ce9cfbf78406263ade468933674b2be5d5ee5f4fc3d
3
+ size 497805008
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88f6f6f21dca53746c0b250a4ae7b25bab35f44a16719f663e48f4b1bd23e24b
3
+ size 995704133
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69da5318c712d6d0aa52703c7f434638523a4ccd69426653534a5d28149575bc
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0047e8b68a19aa877b6a4bcd5ce94edb0399e72f95b6be40ac9296398686a72b
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "pad_token": "<|endoftext|>",
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
trainer_state.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.4772998094558716,
3
+ "best_model_checkpoint": "tam_test_out_drug_data/checkpoint-449",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 449,
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_accuracy": 0.45615177159862363,
14
+ "eval_loss": 1.4772998094558716,
15
+ "eval_runtime": 17.4382,
16
+ "eval_samples_per_second": 616.636,
17
+ "eval_steps_per_second": 8.602,
18
+ "step": 449
19
+ }
20
+ ],
21
+ "logging_steps": 500,
22
+ "max_steps": 449,
23
+ "num_input_tokens_seen": 0,
24
+ "num_train_epochs": 1,
25
+ "save_steps": 500,
26
+ "total_flos": 4230514189025280.0,
27
+ "train_batch_size": 72,
28
+ "trial_name": null,
29
+ "trial_params": null
30
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90a44aff3a08e50498f3c1de75dd6bc0c4e91007f522e7ac7bbcc52f04934c3e
3
+ size 4603
vocab.json ADDED
The diff for this file is too large to render. See raw diff