fitleech commited on
Commit
d4045f8
·
verified ·
1 Parent(s): 3ebfd36

Upload 2023 weights

Browse files
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - sn38
7
+ - chronollm
8
+ - year-cutoff
9
+ ---
10
+
11
+ # sn38-2023-01
12
+
13
+ 2023-cutoff language model. Weights are safetensors. `trust_remote_code=false`. Architecture `sn38-nanochrono`.
config.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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",
14
+ "sliding_attention",
15
+ "full_attention",
16
+ "sliding_attention",
17
+ "sliding_attention",
18
+ "sliding_attention",
19
+ "full_attention",
20
+ "sliding_attention",
21
+ "sliding_attention",
22
+ "sliding_attention",
23
+ "full_attention",
24
+ "sliding_attention",
25
+ "sliding_attention",
26
+ "sliding_attention",
27
+ "full_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "sliding_attention",
31
+ "full_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "full_attention",
36
+ "sliding_attention",
37
+ "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 ADDED
@@ -0,0 +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
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b82c04c6c021850fa694280eca40ded30988728d0aaf66e6fe43923561e0fdfc
3
+ size 4037045748
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|bos|>",
3
+ "eos_token": "<|assistant_end|>",
4
+ "pad_token": "<|assistant_end|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "model_max_length": 2048,
7
+ "add_bos_token": false
8
+ }