danielhanchen commited on
Commit
0a08e04
1 Parent(s): 6b5fd95

Upload config

Browse files
Files changed (2) hide show
  1. README.md +1 -2
  2. config.json +8 -3
README.md CHANGED
@@ -1,14 +1,13 @@
1
  ---
2
  language:
3
  - en
4
- license: apache-2.0
5
  library_name: transformers
 
6
  tags:
7
  - unsloth
8
  - transformers
9
  - codellama
10
  - codellama-34b
11
-
12
  ---
13
 
14
  # Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
 
1
  ---
2
  language:
3
  - en
 
4
  library_name: transformers
5
+ license: apache-2.0
6
  tags:
7
  - unsloth
8
  - transformers
9
  - codellama
10
  - codellama-34b
 
11
  ---
12
 
13
  # Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "codellama/CodeLlama-34b-hf",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -12,14 +12,18 @@
12
  "initializer_range": 0.02,
13
  "intermediate_size": 22016,
14
  "max_position_embeddings": 16384,
 
15
  "model_type": "llama",
16
  "num_attention_heads": 64,
17
  "num_hidden_layers": 48,
18
  "num_key_value_heads": 8,
19
- "pad_token_id": 2,
20
  "pretraining_tp": 1,
21
  "quantization_config": {
 
 
22
  "bnb_4bit_compute_dtype": "bfloat16",
 
23
  "bnb_4bit_quant_type": "nf4",
24
  "bnb_4bit_use_double_quant": true,
25
  "llm_int8_enable_fp32_cpu_offload": false,
@@ -35,7 +39,8 @@
35
  "rope_theta": 1000000,
36
  "tie_word_embeddings": false,
37
  "torch_dtype": "bfloat16",
38
- "transformers_version": "4.37.0.dev0",
 
39
  "use_cache": true,
40
  "vocab_size": 32000
41
  }
 
1
  {
2
+ "_name_or_path": "unsloth/codellama-34b",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 22016,
14
  "max_position_embeddings": 16384,
15
+ "mlp_bias": false,
16
  "model_type": "llama",
17
  "num_attention_heads": 64,
18
  "num_hidden_layers": 48,
19
  "num_key_value_heads": 8,
20
+ "pad_token_id": 0,
21
  "pretraining_tp": 1,
22
  "quantization_config": {
23
+ "_load_in_4bit": true,
24
+ "_load_in_8bit": false,
25
  "bnb_4bit_compute_dtype": "bfloat16",
26
+ "bnb_4bit_quant_storage": "uint8",
27
  "bnb_4bit_quant_type": "nf4",
28
  "bnb_4bit_use_double_quant": true,
29
  "llm_int8_enable_fp32_cpu_offload": false,
 
39
  "rope_theta": 1000000,
40
  "tie_word_embeddings": false,
41
  "torch_dtype": "bfloat16",
42
+ "transformers_version": "4.44.0",
43
+ "unsloth_version": "2024.8",
44
  "use_cache": true,
45
  "vocab_size": 32000
46
  }