nicolinho commited on
Commit
8df27cd
1 Parent(s): ee02c07

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +56 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nicolinho/QRM-Llama3.1-8B",
3
+ "architectures": [
4
+ "LlamaForRewardModelWithGating"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoModelForSequenceClassification": "modeling_custom.LlamaForRewardModelWithGating"
10
+ },
11
+ "bos_token_id": 128000,
12
+ "eos_token_id": [
13
+ 128001,
14
+ 128008,
15
+ 128009
16
+ ],
17
+ "gating_hidden_dim": 1024,
18
+ "gating_n_hidden": 3,
19
+ "gating_newtork": true,
20
+ "gating_temperature": 5.0,
21
+ "hidden_act": "silu",
22
+ "hidden_size": 4096,
23
+ "id2label": {
24
+ "0": "LABEL_0"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 14336,
28
+ "label2id": {
29
+ "LABEL_0": 0
30
+ },
31
+ "loss": "quantile_regression",
32
+ "max_position_embeddings": 131072,
33
+ "model_type": "llama",
34
+ "num_attention_heads": 32,
35
+ "num_hidden_layers": 32,
36
+ "num_key_value_heads": 8,
37
+ "num_objectives": 19,
38
+ "num_quantiles": 19,
39
+ "pad_token_id": 128256,
40
+ "pretraining_tp": 1,
41
+ "rms_norm_eps": 1e-05,
42
+ "rope_scaling": {
43
+ "factor": 8.0,
44
+ "high_freq_factor": 4.0,
45
+ "low_freq_factor": 1.0,
46
+ "original_max_position_embeddings": 8192,
47
+ "rope_type": "llama3"
48
+ },
49
+ "rope_theta": 500000.0,
50
+ "tie_word_embeddings": false,
51
+ "torch_dtype": "bfloat16",
52
+ "attn_implementation": "flash_attention_2",
53
+ "transformers_version": "4.43.1",
54
+ "use_cache": false,
55
+ "vocab_size": 128257
56
+ }