Kirim1 commited on
Commit
2d818c3
·
verified ·
1 Parent(s): cda8dd3

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +90 -0
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "KirimForCausalLM"
4
+ ],
5
+ "model_type": "kirim",
6
+ "torch_dtype": "bfloat16",
7
+ "transformers_version": "4.36.0",
8
+
9
+ "_name_or_path": "Kirim-ai/Kirim-1-Math",
10
+ "vocab_size": 102400,
11
+ "hidden_size": 5120,
12
+ "intermediate_size": 13824,
13
+ "num_hidden_layers": 48,
14
+ "num_attention_heads": 40,
15
+ "num_key_value_heads": 8,
16
+ "hidden_act": "silu",
17
+ "max_position_embeddings": 32768,
18
+ "initializer_range": 0.02,
19
+ "rms_norm_eps": 1e-06,
20
+ "use_cache": true,
21
+ "pad_token_id": 0,
22
+ "bos_token_id": 1,
23
+ "eos_token_id": 2,
24
+ "tie_word_embeddings": false,
25
+ "rope_theta": 10000.0,
26
+ "rope_scaling": {
27
+ "type": "yarn",
28
+ "factor": 2.0,
29
+ "original_max_position_embeddings": 16384
30
+ },
31
+ "attention_bias": false,
32
+ "attention_dropout": 0.0,
33
+ "mlp_bias": false,
34
+
35
+ "use_flash_attention_2": true,
36
+ "use_sliding_window": false,
37
+ "sliding_window": null,
38
+
39
+ "tool_calling_enabled": true,
40
+ "tool_config": {
41
+ "enabled": true,
42
+ "function_calling_version": "v1",
43
+ "max_tools": 128,
44
+ "parallel_tool_calls": true
45
+ },
46
+
47
+ "math_config": {
48
+ "reasoning_steps": true,
49
+ "symbolic_solver": true,
50
+ "numerical_precision": "high",
51
+ "latex_output": true
52
+ },
53
+
54
+ "quantization_config": {
55
+ "quant_method": "gptq",
56
+ "bits": 4,
57
+ "group_size": 128,
58
+ "damp_percent": 0.01,
59
+ "desc_act": false,
60
+ "static_groups": false,
61
+ "sym": true,
62
+ "true_sequential": true,
63
+ "model_name_or_path": null,
64
+ "model_file_base_name": "model"
65
+ },
66
+
67
+ "auto_map": {
68
+ "AutoConfig": "configuration_kirim.KirimConfig",
69
+ "AutoModelForCausalLM": "modeling_kirim.KirimForCausalLM"
70
+ },
71
+
72
+ "task_specific_params": {
73
+ "text-generation": {
74
+ "do_sample": true,
75
+ "max_length": 4096,
76
+ "temperature": 0.6,
77
+ "top_p": 0.95,
78
+ "top_k": 50,
79
+ "repetition_penalty": 1.0
80
+ },
81
+ "math-solving": {
82
+ "do_sample": false,
83
+ "max_length": 8192,
84
+ "temperature": 0.1,
85
+ "top_p": 0.95,
86
+ "num_beams": 1,
87
+ "repetition_penalty": 1.0
88
+ }
89
+ }
90
+ }