danielhanchen commited on
Commit
1f7efee
1 Parent(s): 18dd2a3

Upload LlamaForCausalLM

Browse files
Files changed (4) hide show
  1. README.md +1 -2
  2. config.json +3 -2
  3. generation_config.json +1 -1
  4. model.safetensors +2 -2
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-7b
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-7b
 
11
  ---
12
 
13
  # Finetune Mistral, Gemma, Llama 2-5x faster with 70% less memory via Unsloth!
config.json CHANGED
@@ -12,16 +12,17 @@
12
  "initializer_range": 0.02,
13
  "intermediate_size": 11008,
14
  "max_position_embeddings": 16384,
 
15
  "model_type": "llama",
16
  "num_attention_heads": 32,
17
  "num_hidden_layers": 32,
18
  "num_key_value_heads": 32,
19
- "pad_token_id": 0,
20
  "pretraining_tp": 1,
21
  "quantization_config": {
22
  "_load_in_4bit": true,
23
  "_load_in_8bit": false,
24
  "bnb_4bit_compute_dtype": "bfloat16",
 
25
  "bnb_4bit_quant_type": "nf4",
26
  "bnb_4bit_use_double_quant": true,
27
  "llm_int8_enable_fp32_cpu_offload": false,
@@ -37,7 +38,7 @@
37
  "rope_theta": 1000000,
38
  "tie_word_embeddings": false,
39
  "torch_dtype": "bfloat16",
40
- "transformers_version": "4.38.0.dev0",
41
  "use_cache": true,
42
  "vocab_size": 32016
43
  }
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 11008,
14
  "max_position_embeddings": 16384,
15
+ "mlp_bias": false,
16
  "model_type": "llama",
17
  "num_attention_heads": 32,
18
  "num_hidden_layers": 32,
19
  "num_key_value_heads": 32,
 
20
  "pretraining_tp": 1,
21
  "quantization_config": {
22
  "_load_in_4bit": true,
23
  "_load_in_8bit": false,
24
  "bnb_4bit_compute_dtype": "bfloat16",
25
+ "bnb_4bit_quant_storage": "uint8",
26
  "bnb_4bit_quant_type": "nf4",
27
  "bnb_4bit_use_double_quant": true,
28
  "llm_int8_enable_fp32_cpu_offload": false,
 
38
  "rope_theta": 1000000,
39
  "tie_word_embeddings": false,
40
  "torch_dtype": "bfloat16",
41
+ "transformers_version": "4.43.3",
42
  "use_cache": true,
43
  "vocab_size": 32016
44
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "transformers_version": "4.38.0.dev0"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "transformers_version": "4.43.3"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5d636d5f7fa4ffdf7524d90a772e5db520e3a96be9f4003e78693c41788a4325
3
- size 3866304243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77c6ef940402724bd88cd1043177aae981e269badc0dac59847e29097a26810c
3
+ size 3866304467