armaniii commited on
Commit
4aed170
·
verified ·
1 Parent(s): 7328a2e

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +70 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mistralai/Mistral-7B-v0.1",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 14336,
17
+ "label2id": {
18
+ "LABEL_0": 0,
19
+ "LABEL_1": 1
20
+ },
21
+ "max_position_embeddings": 32768,
22
+ "model_type": "mistral",
23
+ "num_attention_heads": 32,
24
+ "num_hidden_layers": 32,
25
+ "num_key_value_heads": 8,
26
+ "pad_token_id": 0,
27
+ "rms_norm_eps": 1e-05,
28
+ "rope_theta": 10000.0,
29
+ "sliding_window": 4096,
30
+ "tie_word_embeddings": false,
31
+ "torch_dtype": "float16",
32
+ "transformers_version": "4.37.0",
33
+ "use_cache": true,
34
+ "vocab_size": 32000
35
+
36
+
37
+ "lora":{
38
+ "_num_labels": 2,
39
+ "alpha_pattern": {},
40
+ "auto_mapping": null,
41
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
42
+ "bias": "none",
43
+ "fan_in_fan_out": false,
44
+ "inference_mode": true,
45
+ "init_lora_weights": true,
46
+ "layers_pattern": null,
47
+ "layers_to_transform": null,
48
+ "loftq_config": {},
49
+ "lora_alpha": 32,
50
+ "lora_dropout": 0.05,
51
+ "megatron_config": null,
52
+ "megatron_core": "megatron.core",
53
+ "modules_to_save": null,
54
+ "peft_type": "LORA",
55
+ "r": 8,
56
+ "rank_pattern": {},
57
+ "revision": null,
58
+ "target_modules": [
59
+ "down_proj",
60
+ "q_proj",
61
+ "k_proj",
62
+ "up_proj",
63
+ "score",
64
+ "gate_proj",
65
+ "o_proj",
66
+ "v_proj"
67
+ ],
68
+ "task_type": "SEQ_CLS"
69
+ }
70
+ }