chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {%- if tools %}{{- '<|im_start|>system\nYou are AetherMind, a helpful, honest and safe multilingual assistant.\nYou have access to the following tools (JSON schema):\n' + tools | tojson + '\nWhen you decide to call a tool, output one JSON object between <|tool_start|> and <|tool_end|>. After receiving tool results, answer the user.<|im_end|>\n' }}{%- endif %}{%- for message in messages %}{%- if message.role == 'assistant' and message.tool_calls %}{{- '<|im_start|>assistant\n' + (message.content or '') }}{%- for tc in message.tool_calls %}{{- '<|tool_start|>' + {'name': tc['function']['name'], 'arguments': tc['function']['arguments']} | tojson + '<|tool_end|>' }}{%- endfor %}{{- '<|im_end|>\n' }}{%- else %}{{- '<|im_start|>' + message['role'] + '\n' + (message['content'] or '') + '<|im_end|>\n' }}{%- endif %}{%- endfor %}{%- if add_generation_prompt %}{{- '<|im_start|>assistant\n' }}{%- endif %}
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{%- if tools %}{{- '<|im_start|>system\\nYou are AetherMind, a helpful, honest and safe multilingual assistant.\\nYou have access to the following tools (JSON schema):\\n' + tools | tojson + '\\nWhen you decide to call a tool, output one JSON object between <|tool_start|> and <|tool_end|>. After receiving tool results, answer the user.<|im_end|>\\n' }}{%- endif %}{%- for message in messages %}{%- if message.role == 'assistant' and message.tool_calls %}{{- '<|im_start|>assistant\\n' + (message.content or '') }}{%- for tc in message.tool_calls %}{{- '<|tool_start|>' + {'name': tc['function']['name'], 'arguments': tc['function']['arguments']} | tojson + '<|tool_end|>' }}{%- endfor %}{{- '<|im_end|>\\n' }}{%- else %}{{- '<|im_start|>' + message['role'] + '\\n' + (message['content'] or '') + '<|im_end|>\\n' }}{%- endif %}{%- endfor %}{%- if add_generation_prompt %}{{- '<|im_start|>assistant\\n' }}{%- endif %}"
3
+ }
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "AetherMindForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 2,
8
+ "dtype": "float32",
9
+ "eos_token_id": 3,
10
+ "head_dim": 32,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 256,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 768,
15
+ "max_position_embeddings": 1024,
16
+ "model_type": "aethermind",
17
+ "moe_aux_loss_coeff": 0.01,
18
+ "moe_intermediate_size": 768,
19
+ "moe_layers_freq": 1,
20
+ "num_attention_heads": 8,
21
+ "num_experts": 8,
22
+ "num_experts_per_tok": 2,
23
+ "num_hidden_layers": 6,
24
+ "num_key_value_heads": 4,
25
+ "pad_token_id": 0,
26
+ "rms_norm_eps": 1e-06,
27
+ "rope_parameters": {
28
+ "rope_theta": 10000.0,
29
+ "rope_type": "default"
30
+ },
31
+ "rope_theta": 10000.0,
32
+ "tie_word_embeddings": true,
33
+ "transformers_version": "5.17.0",
34
+ "use_cache": true,
35
+ "use_moe": false,
36
+ "vocab_size": 4326,
37
+ "auto_map": {
38
+ "AutoConfig": "configuration_aethermind.AetherMindConfig",
39
+ "AutoModel": "modeling_aethermind.AetherMindModel",
40
+ "AutoModelForCausalLM": "modeling_aethermind.AetherMindForCausalLM"
41
+ }
42
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "do_sample": false,
4
+ "eos_token_id": 3,
5
+ "max_new_tokens": 64,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "5.17.0"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c08e260e255960a1a1ea2ee8b37c46c106168b73a600f2ba73b1b0038ed8a03b
3
+ size 23323560
special_tokens_map.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|im_start|>",
3
+ "eos_token": "<|im_end|>",
4
+ "pad_token": "<|pad|>",
5
+ "unk_token": "<|unk|>",
6
+ "additional_special_tokens": [
7
+ "<|tool_start|>",
8
+ "<|tool_end|>",
9
+ "<|reasoning_start|>",
10
+ "<|reasoning_end|>"
11
+ ]
12
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|im_start|>",
4
+ "eos_token": "<|im_end|>",
5
+ "is_local": true,
6
+ "local_files_only": false,
7
+ "model_max_length": 1024,
8
+ "pad_token": "<|pad|>",
9
+ "tokenizer_class": "TokenizersBackend",
10
+ "unk_token": "<|unk|>"
11
+ }