Gokulm commited on
Commit
a8b4c73
·
verified ·
1 Parent(s): c3e634a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +32 -36
config.json CHANGED
@@ -1,40 +1,36 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "model_type": "llama",
3
- "architectures": ["LlamaForCausalLM"],
4
- "hidden_size": 4096,
5
  "num_attention_heads": 32,
6
- "num_hidden_layers": 32,
7
- "num_labels": 50257,
8
- "vocab_size": 50257,
9
- "max_position_embeddings": 2048,
10
- "hidden_dropout_prob": 0.1,
11
- "attention_probs_dropout_prob": 0.1,
12
- "initializer_range": 0.02,
13
- "layer_norm_eps": 1e-5,
14
- "gradient_checkpointing": true,
15
- "use_cache": false,
16
- "quantization": {
17
- "enabled": true,
18
- "bits": 4,
19
- "method": "PTQ",
20
- "reduce_precision": true
21
- },
22
- "training": {
23
- "epochs": 3,
24
- "batch_size": 16,
25
- "learning_rate": 5e-5,
26
- "warmup_steps": 100,
27
- "weight_decay": 0.01,
28
- "logging_steps": 50,
29
- "save_steps": 500,
30
- "eval_steps": 100
31
- },
32
- "tokenizer": {
33
- "type": "LlamaTokenizer",
34
- "model_max_length": 2048
35
  },
36
- "output_dir": "./output",
37
- "overwrite_output_dir": true,
38
- "save_total_limit": 3,
39
- "evaluation_strategy": "epoch"
40
- }
 
 
 
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
+ "rms_norm_eps": 1e-05,
23
+ "rope_scaling": {
24
+ "factor": 32.0,
25
+ "high_freq_factor": 4.0,
26
+ "low_freq_factor": 1.0,
27
+ "original_max_position_embeddings": 8192,
28
+ "rope_type": "llama3"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  },
30
+ "rope_theta": 500000.0,
31
+ "tie_word_embeddings": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.46.3",
34
+ "use_cache": true,
35
+ "vocab_size": 128256
36
+ }