oliversssf2
commited on
Commit
·
ba3e7db
1
Parent(s):
d80ccd0
Upload model
Browse files- config.json +137 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"_name_or_path": "/nlp/scr/fongsu/reward_model_HH/EleutherAI/gpt-neo-1.3B-2023-04-15 02:17:56.528097/",
|
4 |
+
"architectures": [
|
5 |
+
"RewardModel"
|
6 |
+
],
|
7 |
+
"base_model_config": {
|
8 |
+
"_name_or_path": "EleutherAI/gpt-neo-1.3B",
|
9 |
+
"activation_function": "gelu_new",
|
10 |
+
"add_cross_attention": false,
|
11 |
+
"architectures": [
|
12 |
+
"GPTNeoForCausalLM"
|
13 |
+
],
|
14 |
+
"attention_dropout": 0,
|
15 |
+
"attention_layers": [
|
16 |
+
"global",
|
17 |
+
"local",
|
18 |
+
"global",
|
19 |
+
"local",
|
20 |
+
"global",
|
21 |
+
"local",
|
22 |
+
"global",
|
23 |
+
"local",
|
24 |
+
"global",
|
25 |
+
"local",
|
26 |
+
"global",
|
27 |
+
"local",
|
28 |
+
"global",
|
29 |
+
"local",
|
30 |
+
"global",
|
31 |
+
"local",
|
32 |
+
"global",
|
33 |
+
"local",
|
34 |
+
"global",
|
35 |
+
"local",
|
36 |
+
"global",
|
37 |
+
"local",
|
38 |
+
"global",
|
39 |
+
"local"
|
40 |
+
],
|
41 |
+
"attention_types": [
|
42 |
+
[
|
43 |
+
[
|
44 |
+
"global",
|
45 |
+
"local"
|
46 |
+
],
|
47 |
+
12
|
48 |
+
]
|
49 |
+
],
|
50 |
+
"bad_words_ids": null,
|
51 |
+
"begin_suppress_tokens": null,
|
52 |
+
"bos_token_id": 50256,
|
53 |
+
"chunk_size_feed_forward": 0,
|
54 |
+
"cross_attention_hidden_size": null,
|
55 |
+
"decoder_start_token_id": null,
|
56 |
+
"diversity_penalty": 0.0,
|
57 |
+
"do_sample": false,
|
58 |
+
"early_stopping": false,
|
59 |
+
"embed_dropout": 0,
|
60 |
+
"encoder_no_repeat_ngram_size": 0,
|
61 |
+
"eos_token_id": 50256,
|
62 |
+
"exponential_decay_length_penalty": null,
|
63 |
+
"finetuning_task": null,
|
64 |
+
"forced_bos_token_id": null,
|
65 |
+
"forced_eos_token_id": null,
|
66 |
+
"gradient_checkpointing": false,
|
67 |
+
"hidden_size": 2048,
|
68 |
+
"id2label": {
|
69 |
+
"0": "LABEL_0",
|
70 |
+
"1": "LABEL_1"
|
71 |
+
},
|
72 |
+
"initializer_range": 0.02,
|
73 |
+
"intermediate_size": null,
|
74 |
+
"is_decoder": false,
|
75 |
+
"is_encoder_decoder": false,
|
76 |
+
"label2id": {
|
77 |
+
"LABEL_0": 0,
|
78 |
+
"LABEL_1": 1
|
79 |
+
},
|
80 |
+
"layer_norm_epsilon": 1e-05,
|
81 |
+
"length_penalty": 1.0,
|
82 |
+
"max_length": 20,
|
83 |
+
"max_position_embeddings": 2048,
|
84 |
+
"min_length": 0,
|
85 |
+
"model_type": "gpt_neo",
|
86 |
+
"no_repeat_ngram_size": 0,
|
87 |
+
"num_beam_groups": 1,
|
88 |
+
"num_beams": 1,
|
89 |
+
"num_heads": 16,
|
90 |
+
"num_layers": 24,
|
91 |
+
"num_return_sequences": 1,
|
92 |
+
"output_attentions": false,
|
93 |
+
"output_hidden_states": false,
|
94 |
+
"output_scores": false,
|
95 |
+
"pad_token_id": 50256,
|
96 |
+
"prefix": null,
|
97 |
+
"problem_type": null,
|
98 |
+
"pruned_heads": {},
|
99 |
+
"remove_invalid_values": false,
|
100 |
+
"repetition_penalty": 1.0,
|
101 |
+
"resid_dropout": 0,
|
102 |
+
"return_dict": true,
|
103 |
+
"return_dict_in_generate": false,
|
104 |
+
"sep_token_id": null,
|
105 |
+
"summary_activation": null,
|
106 |
+
"summary_first_dropout": 0.1,
|
107 |
+
"summary_proj_to_labels": true,
|
108 |
+
"summary_type": "cls_index",
|
109 |
+
"summary_use_proj": true,
|
110 |
+
"suppress_tokens": null,
|
111 |
+
"task_specific_params": {
|
112 |
+
"text-generation": {
|
113 |
+
"do_sample": true,
|
114 |
+
"max_length": 50,
|
115 |
+
"temperature": 0.9
|
116 |
+
}
|
117 |
+
},
|
118 |
+
"temperature": 1.0,
|
119 |
+
"tf_legacy_loss": false,
|
120 |
+
"tie_encoder_decoder": false,
|
121 |
+
"tie_word_embeddings": true,
|
122 |
+
"tokenizer_class": "GPT2Tokenizer",
|
123 |
+
"top_k": 50,
|
124 |
+
"top_p": 1.0,
|
125 |
+
"torch_dtype": null,
|
126 |
+
"torchscript": false,
|
127 |
+
"transformers_version": "4.28.1",
|
128 |
+
"typical_p": 1.0,
|
129 |
+
"use_bfloat16": false,
|
130 |
+
"use_cache": true,
|
131 |
+
"vocab_size": 50257,
|
132 |
+
"window_size": 256
|
133 |
+
},
|
134 |
+
"model_type": "reward_model",
|
135 |
+
"torch_dtype": "float32",
|
136 |
+
"transformers_version": null
|
137 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af0bd3c3b332ed8f0af20294f8f33cee4da0861c7b4ff43944034389d0f9319b
|
3 |
+
size 5363089573
|