danielhanchen commited on
Commit
0185ed6
1 Parent(s): 41612ed

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +4 -2
  2. generation_config.json +5 -5
  3. model.safetensors +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "unsloth/llama-3-8b-bnb-4bit",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -18,7 +18,10 @@
18
  "num_key_value_heads": 8,
19
  "pretraining_tp": 1,
20
  "quantization_config": {
 
 
21
  "bnb_4bit_compute_dtype": "bfloat16",
 
22
  "bnb_4bit_quant_type": "nf4",
23
  "bnb_4bit_use_double_quant": true,
24
  "llm_int8_enable_fp32_cpu_offload": false,
@@ -35,7 +38,6 @@
35
  "tie_word_embeddings": false,
36
  "torch_dtype": "bfloat16",
37
  "transformers_version": "4.40.1",
38
- "unsloth_version": "2024.4",
39
  "use_cache": true,
40
  "vocab_size": 128256
41
  }
 
1
  {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
18
  "num_key_value_heads": 8,
19
  "pretraining_tp": 1,
20
  "quantization_config": {
21
+ "_load_in_4bit": true,
22
+ "_load_in_8bit": false,
23
  "bnb_4bit_compute_dtype": "bfloat16",
24
+ "bnb_4bit_quant_storage": "uint8",
25
  "bnb_4bit_quant_type": "nf4",
26
  "bnb_4bit_use_double_quant": true,
27
  "llm_int8_enable_fp32_cpu_offload": false,
 
38
  "tie_word_embeddings": false,
39
  "torch_dtype": "bfloat16",
40
  "transformers_version": "4.40.1",
 
41
  "use_cache": true,
42
  "vocab_size": 128256
43
  }
generation_config.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "_from_model_config": true,
3
  "bos_token_id": 128000,
4
- "eos_token_id": [
5
- 128001,
6
- 128009
7
- ],
 
8
  "transformers_version": "4.40.1"
9
  }
 
1
  {
 
2
  "bos_token_id": 128000,
3
+ "do_sample": true,
4
+ "eos_token_id": 128001,
5
+ "max_length": 4096,
6
+ "temperature": 0.6,
7
+ "top_p": 0.9,
8
  "transformers_version": "4.40.1"
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:042662b7762a43ff7b1af8ae19534ed2f65cf9e2c5f72d1aaa64e133fae216fe
3
  size 5702746405
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcd90a05ae86858f8775ecd4dab8db5a9dcb29b3158c6b4cc5420b9650fb85ff
3
  size 5702746405