aixk commited on
Commit
f45fa4b
·
verified ·
1 Parent(s): 01edb4e

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # kosmo-TEST (Transformers)
2
+
3
+ ## Purpose
4
+ - Daily conversation model
5
+ - Non-coding assistant behavior
6
+
7
+ ## Architecture
8
+ - Custom architecture: KosmoForCausalLM
9
+
10
+ - hidden_size: 576
11
+ - intermediate_size: 1536
12
+ - layers: 30
13
+ - heads: 9
14
+ - kv_heads: 3
15
+ - max_seq_len: 2048
16
+ - rope_theta: 10000
17
+ - qk_norm: True
18
+ - local_mixer: True
19
+ - neftune_alpha: 0.0
20
+
21
+ ## Base Model
22
+ - Reference base: `HuggingFaceTB/SmolLM2-135M`
23
+ - Training recipe: SmolLM2-compatible continual training at 135M profile
24
+ - Target size: approximately 135M parameters
25
+
26
+ ## Expansion
27
+ - The original SmolLM2-135M stack is reused as the initialization base.
28
+ - No mandatory layer expansion is applied in the default 135M profile.
29
+ - This model is trained as a 135M-structured derivative.
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "dtype": "float32",
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_dropout": 0.0,
13
+ "hidden_size": 576,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 1536,
16
+ "max_position_embeddings": 2048,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "neftune_alpha": 0.0,
20
+ "num_attention_heads": 9,
21
+ "num_hidden_layers": 30,
22
+ "num_key_value_heads": 3,
23
+ "pad_token_id": null,
24
+ "pretraining_tp": 1,
25
+ "qk_norm": true,
26
+ "rezero_init": 0.0,
27
+ "rms_norm_eps": 1e-06,
28
+ "rope_parameters": {
29
+ "rope_theta": 100000.0,
30
+ "rope_type": "default"
31
+ },
32
+ "tie_word_embeddings": false,
33
+ "transformers_version": "5.0.0",
34
+ "use_cache": false,
35
+ "vocab_size": 53120
36
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "transformers_version": "5.0.0",
8
+ "use_cache": false
9
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0c144cd04d6eecc6995e70c1d93b9ff507b7bee20031918b66b49ca36eec7a0
3
+ size 669621248
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
7
+ "extra_special_tokens": [
8
+ "<|endoftext|>",
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<repo_name>",
12
+ "<reponame>",
13
+ "<file_sep>",
14
+ "<filename>",
15
+ "<gh_stars>",
16
+ "<issue_start>",
17
+ "<issue_comment>",
18
+ "<issue_closed>",
19
+ "<jupyter_start>",
20
+ "<jupyter_text>",
21
+ "<jupyter_code>",
22
+ "<jupyter_output>",
23
+ "<jupyter_script>",
24
+ "<empty_output>"
25
+ ],
26
+ "is_local": false,
27
+ "model_max_length": 8192,
28
+ "tokenizer_class": "TokenizersBackend",
29
+ "unk_token": "<|endoftext|>",
30
+ "vocab_size": 49152
31
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff