iagoalves commited on
Commit
040f54f
·
verified ·
1 Parent(s): 382bcdd

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +25 -18
  2. generation_config.json +5 -10
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,21 +1,24 @@
1
  {
2
- "_name_or_path": "Qwen/Qwen2.5-1.5B-Instruct",
3
  "architectures": [
4
- "Qwen2ForCausalLM"
5
  ],
 
6
  "attention_dropout": 0.0,
7
- "bos_token_id": 151643,
8
- "eos_token_id": 151645,
 
9
  "hidden_act": "silu",
10
- "hidden_size": 1536,
11
  "initializer_range": 0.02,
12
- "intermediate_size": 8960,
13
- "max_position_embeddings": 32768,
14
- "max_window_layers": 21,
15
- "model_type": "qwen2",
16
- "num_attention_heads": 12,
17
- "num_hidden_layers": 28,
18
- "num_key_value_heads": 2,
 
19
  "quantization_config": {
20
  "_load_in_4bit": true,
21
  "_load_in_8bit": false,
@@ -31,14 +34,18 @@
31
  "load_in_8bit": false,
32
  "quant_method": "bitsandbytes"
33
  },
34
- "rms_norm_eps": 1e-06,
35
- "rope_scaling": null,
36
- "rope_theta": 1000000.0,
37
- "sliding_window": null,
 
 
 
 
 
38
  "tie_word_embeddings": true,
39
  "torch_dtype": "float32",
40
  "transformers_version": "4.46.3",
41
  "use_cache": true,
42
- "use_sliding_window": false,
43
- "vocab_size": 151936
44
  }
 
1
  {
2
+ "_name_or_path": "meta-llama/Llama-3.2-1B",
3
  "architectures": [
4
+ "LlamaForCausalLM"
5
  ],
6
+ "attention_bias": false,
7
  "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "head_dim": 64,
11
  "hidden_act": "silu",
12
+ "hidden_size": 2048,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 8192,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 32,
19
+ "num_hidden_layers": 16,
20
+ "num_key_value_heads": 8,
21
+ "pretraining_tp": 1,
22
  "quantization_config": {
23
  "_load_in_4bit": true,
24
  "_load_in_8bit": false,
 
34
  "load_in_8bit": false,
35
  "quant_method": "bitsandbytes"
36
  },
37
+ "rms_norm_eps": 1e-05,
38
+ "rope_scaling": {
39
+ "factor": 32.0,
40
+ "high_freq_factor": 4.0,
41
+ "low_freq_factor": 1.0,
42
+ "original_max_position_embeddings": 8192,
43
+ "rope_type": "llama3"
44
+ },
45
+ "rope_theta": 500000.0,
46
  "tie_word_embeddings": true,
47
  "torch_dtype": "float32",
48
  "transformers_version": "4.46.3",
49
  "use_cache": true,
50
+ "vocab_size": 128256
 
51
  }
generation_config.json CHANGED
@@ -1,14 +1,9 @@
1
  {
2
- "bos_token_id": 151643,
 
3
  "do_sample": true,
4
- "eos_token_id": [
5
- 151645,
6
- 151643
7
- ],
8
- "pad_token_id": 151643,
9
- "repetition_penalty": 1.1,
10
- "temperature": 0.7,
11
- "top_k": 20,
12
- "top_p": 0.8,
13
  "transformers_version": "4.46.3"
14
  }
 
1
  {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 128000,
4
  "do_sample": true,
5
+ "eos_token_id": 128001,
6
+ "temperature": 0.6,
7
+ "top_p": 0.9,
 
 
 
 
 
 
8
  "transformers_version": "4.46.3"
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e62a0b58bfd291a9809ab89c28296b10bd6b0ad08459911abc466b1cf264058b
3
- size 1610369128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd42fbf9239b7b4c95edc38b191f3aea4cd745bf50fc24b5f4966d157be848e1
3
+ size 1553151900