fitleech commited on
Commit
6e5fefa
·
verified ·
1 Parent(s): 0aa4f87

Upload model

Browse files
Files changed (3) hide show
  1. config.json +50 -36
  2. generation_config.json +9 -9
  3. model.safetensors +1 -1
config.json CHANGED
@@ -1,31 +1,13 @@
1
  {
2
- "architectures": [
3
- "NanochronoForCausalLM"
4
- ],
5
- "attention_multiplier": 1.2,
6
- "aux_gate_dim": 12,
7
- "aux_layers": [
8
- 1,
9
- 3,
10
- 5,
11
- 7,
12
- 9,
13
- 11,
14
- 13,
15
- 15,
16
- 17,
17
- 19,
18
- 21,
19
- 23,
20
- 25,
21
- 27
22
- ],
23
- "bos_token_id": 32759,
24
- "dtype": "float32",
25
- "eos_token_id": 32763,
26
- "final_logit_softcapping": 15.0,
27
  "hidden_size": 1792,
28
  "intermediate_size": 7168,
 
 
 
 
 
 
29
  "layer_types": [
30
  "sliding_attention",
31
  "sliding_attention",
@@ -56,18 +38,50 @@
56
  "sliding_attention",
57
  "full_attention"
58
  ],
59
- "max_position_embeddings": 2048,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  "mix_gate_dim": 24,
61
- "model_type": "sn38-nanochrono",
62
- "num_attention_heads": 14,
63
- "num_hidden_layers": 28,
64
- "num_key_value_heads": 14,
65
- "pad_token_id": 32763,
66
- "rope_theta": 100000.0,
67
- "sliding_window": 512,
68
  "tap_layer": 14,
69
- "tie_word_embeddings": false,
70
- "transformers_version": "5.16.1",
71
  "use_cache": false,
72
- "vocab_size": 32768
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  }
 
1
  {
2
+ "vocab_size": 32768,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "hidden_size": 1792,
4
  "intermediate_size": 7168,
5
+ "num_hidden_layers": 28,
6
+ "num_attention_heads": 14,
7
+ "num_key_value_heads": 14,
8
+ "max_position_embeddings": 2048,
9
+ "rope_theta": 100000.0,
10
+ "sliding_window": 512,
11
  "layer_types": [
12
  "sliding_attention",
13
  "sliding_attention",
 
38
  "sliding_attention",
39
  "full_attention"
40
  ],
41
+ "attention_multiplier": 1.2,
42
+ "final_logit_softcapping": 15.0,
43
+ "aux_layers": [
44
+ 1,
45
+ 3,
46
+ 5,
47
+ 7,
48
+ 9,
49
+ 11,
50
+ 13,
51
+ 15,
52
+ 17,
53
+ 19,
54
+ 21,
55
+ 23,
56
+ 25,
57
+ 27
58
+ ],
59
+ "aux_gate_dim": 12,
60
  "mix_gate_dim": 24,
 
 
 
 
 
 
 
61
  "tap_layer": 14,
 
 
62
  "use_cache": false,
63
+ "architectures": [
64
+ "NanochronoForCausalLM"
65
+ ],
66
+ "output_hidden_states": false,
67
+ "return_dict": true,
68
+ "dtype": "bfloat16",
69
+ "chunk_size_feed_forward": 0,
70
+ "is_encoder_decoder": false,
71
+ "id2label": {
72
+ "0": "LABEL_0",
73
+ "1": "LABEL_1"
74
+ },
75
+ "label2id": {
76
+ "LABEL_0": 0,
77
+ "LABEL_1": 1
78
+ },
79
+ "problem_type": null,
80
+ "bos_token_id": 32759,
81
+ "eos_token_id": 32763,
82
+ "pad_token_id": 32763,
83
+ "tie_word_embeddings": false,
84
+ "model_type": "sn38-nanochrono",
85
+ "output_attentions": false,
86
+ "torch_dtype": "bfloat16"
87
  }
generation_config.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
- "bos_token_id": 32759,
3
- "do_sample": true,
4
- "eos_token_id": 32763,
5
- "max_new_tokens": 256,
6
- "pad_token_id": 32763,
7
- "temperature": 0.8,
8
- "top_k": 50,
9
- "transformers_version": "5.14.1"
10
- }
 
1
  {
2
+ "bos_token_id": 32759,
3
+ "eos_token_id": 32763,
4
+ "pad_token_id": 32763,
5
+ "do_sample": false,
6
+ "no_repeat_ngram_size": 3,
7
+ "min_new_tokens": 4,
8
+ "max_new_tokens": 50,
9
+ "repetition_penalty": 1.1
10
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ad89f1ec5a82f7b38d33e5483c580c559e54b981bc46e91665b53f916641b676
3
  size 4037045748
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f24e2f5e23fd7d72ed74e22f98e59170155778849537ab07740c0a3f1d79a63e
3
  size 4037045748