loocorez commited on
Commit
5cf34f5
·
verified ·
1 Parent(s): 1f900b5

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +12 -10
config.json CHANGED
@@ -1,16 +1,18 @@
1
  {
 
2
  "architectures": [
3
- "GPTForCausalLM"
4
  ],
5
- "model_type": "gpt2",
 
 
 
 
 
 
6
  "vocab_size": 65536,
7
- "n_positions": 2048,
8
- "n_ctx": 2048,
9
- "n_embd": 1280,
10
- "n_head": 10,
11
  "n_layer": 20,
 
12
  "n_kv_head": 10,
13
- "rotary": true,
14
- "rotary_base": 10000,
15
- "tie_word_embeddings": false
16
- }
 
1
  {
2
+ "model_type": "nanogpt",
3
  "architectures": [
4
+ "NanoGPTModel"
5
  ],
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_nanogpt.NanoGPTConfig",
8
+ "AutoModel": "modeling_nanogpt.NanoGPTModel",
9
+ "AutoModelForCausalLM": "modeling_nanogpt.NanoGPTModel",
10
+ "AutoTokenizer": "tokenizer_nanogpt.NanoGPTTokenizer"
11
+ },
12
+ "sequence_len": 2048,
13
  "vocab_size": 65536,
 
 
 
 
14
  "n_layer": 20,
15
+ "n_head": 10,
16
  "n_kv_head": 10,
17
+ "n_embd": 1280
18
+ }