RichardErkhov commited on
Commit
4eac75a
·
verified ·
1 Parent(s): d024b4a

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +52 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "GritLM-7B",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoModel": "modeling_gritlm7b.MistralModel",
9
+ "AutoModelForCausalLM": "modeling_gritlm7b.MistralForCausalLM",
10
+ "AutoModelForSequenceClassification": "modeling_gritlm7b.MistralForSequenceClassification"
11
+ },
12
+ "bos_token_id": 1,
13
+ "eos_token_id": 2,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 4096,
16
+ "id2label": {
17
+ "0": "LABEL_0"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 14336,
21
+ "label2id": {
22
+ "LABEL_0": 0
23
+ },
24
+ "max_position_embeddings": 32768,
25
+ "model_type": "mistral",
26
+ "num_attention_heads": 32,
27
+ "num_hidden_layers": 32,
28
+ "num_key_value_heads": 8,
29
+ "quantization_config": {
30
+ "_load_in_4bit": false,
31
+ "_load_in_8bit": true,
32
+ "bnb_4bit_compute_dtype": "float32",
33
+ "bnb_4bit_quant_storage": "uint8",
34
+ "bnb_4bit_quant_type": "fp4",
35
+ "bnb_4bit_use_double_quant": false,
36
+ "llm_int8_enable_fp32_cpu_offload": false,
37
+ "llm_int8_has_fp16_weight": false,
38
+ "llm_int8_skip_modules": null,
39
+ "llm_int8_threshold": 6.0,
40
+ "load_in_4bit": false,
41
+ "load_in_8bit": true,
42
+ "quant_method": "bitsandbytes"
43
+ },
44
+ "rms_norm_eps": 1e-05,
45
+ "rope_theta": 10000.0,
46
+ "sliding_window": 4096,
47
+ "tie_word_embeddings": false,
48
+ "torch_dtype": "float16",
49
+ "transformers_version": "4.39.3",
50
+ "use_cache": true,
51
+ "vocab_size": 32000
52
+ }