Ray2333 commited on
Commit
c413177
1 Parent(s): f806c33

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +37 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/ryangam/RiC_code/reward_models_unified_new/Meta-Llama-3-8B-Instruct_llama3_len4096trunc_700kdata_fulltrain_nonlinear_sftreg0.01_lr3e-6_3e-06/logs/tmp-checkpoint-1091",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoModel": "model.AutoModelForCausalLMWithValueHead",
10
+ "AutoModelForSequenceClassification": "model.AutoModelForCausalLMWithValueHead"
11
+ },
12
+ "bos_token_id": 128000,
13
+ "eos_token_id": 128001,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 4096,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 14336,
18
+ "max_position_embeddings": 8192,
19
+ "mlp_bias": false,
20
+ "model_type": "llama",
21
+ "num_attention_heads": 32,
22
+ "num_hidden_layers": 32,
23
+ "num_key_value_heads": 8,
24
+ "pad_token_id": 128256,
25
+ "pretraining_tp": 1,
26
+ "rms_norm_eps": 1e-05,
27
+ "rope_scaling": null,
28
+ "rope_theta": 500000.0,
29
+ "tie_word_embeddings": false,
30
+ "torch_dtype": "bfloat16",
31
+ "transformers_version": "4.38.2",
32
+ "use_cache": true,
33
+ "vhead_layer_type": "mlp",
34
+ "vhead_num_layers": 1,
35
+ "vhead_num_neurons": 1024,
36
+ "vocab_size": 128257
37
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 128000,
4
+ "eos_token_id": 128001,
5
+ "transformers_version": "4.38.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce5ce445825122c35b713d932ec77ec85199dff7cb5403dd1b6e64896570fb36
3
+ size 1067475556