hammeiam commited on
Commit
30e5e3e
1 Parent(s): b8409e8

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +12 -13
  2. generation_config.json +2 -3
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,29 +1,28 @@
1
  {
2
- "_name_or_path": "/finetuning-subnet/local-models/training/2024-02-02_00-17-25",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 1,
9
- "eos_token_id": 32000,
10
  "hidden_act": "silu",
11
- "hidden_size": 4096,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 14336,
14
- "max_position_embeddings": 32768,
15
  "model_type": "llama",
16
- "num_attention_heads": 32,
17
- "num_hidden_layers": 32,
18
- "num_key_value_heads": 8,
19
  "pretraining_tp": 1,
20
- "rms_norm_eps": 1e-05,
21
  "rope_scaling": null,
22
  "rope_theta": 10000.0,
23
- "sliding_window": 4096,
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.36.2",
27
- "use_cache": false,
28
- "vocab_size": 32002
29
  }
 
1
  {
2
+ "_name_or_path": "/finetuning-subnet/local-models/training/2024-02-02_01-44-09",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
  "hidden_act": "silu",
11
+ "hidden_size": 4,
12
+ "initializer_range": 0.0,
13
+ "intermediate_size": 4,
14
+ "max_position_embeddings": 2048,
15
  "model_type": "llama",
16
+ "num_attention_heads": 1,
17
+ "num_hidden_layers": 4,
18
+ "num_key_value_heads": 1,
19
  "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-06,
21
  "rope_scaling": null,
22
  "rope_theta": 10000.0,
 
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.36.2",
26
+ "use_cache": true,
27
+ "vocab_size": 32000
28
  }
generation_config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
- "eos_token_id": 32000,
5
- "transformers_version": "4.36.2",
6
- "use_cache": false
7
  }
 
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.36.2"
 
6
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1dd1f04ba6a6594915c590313ace9321f03fb0f04aeb3f4d4e25185b7b16d5c
3
+ size 516936