CaptainLazarus commited on
Commit
edacbb5
1 Parent(s): f0b400d

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +3 -15
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "openlm-research/open_llama_3b_v2",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -17,24 +17,12 @@
17
  "num_key_value_heads": 32,
18
  "pad_token_id": 0,
19
  "pretraining_tp": 1,
20
- "quantization_config": {
21
- "bnb_4bit_compute_dtype": "float16",
22
- "bnb_4bit_quant_type": "nf4",
23
- "bnb_4bit_use_double_quant": true,
24
- "llm_int8_enable_fp32_cpu_offload": false,
25
- "llm_int8_has_fp16_weight": false,
26
- "llm_int8_skip_modules": null,
27
- "llm_int8_threshold": 6.0,
28
- "load_in_4bit": true,
29
- "load_in_8bit": false,
30
- "quant_method": "bitsandbytes"
31
- },
32
  "rms_norm_eps": 1e-06,
33
  "rope_scaling": null,
34
  "rope_theta": 10000.0,
35
  "tie_word_embeddings": false,
36
  "torch_dtype": "float16",
37
- "transformers_version": "4.35.0.dev0",
38
- "use_cache": false,
39
  "vocab_size": 32000
40
  }
 
1
  {
2
+ "_name_or_path": "openlm-research/open_llama_3b",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
17
  "num_key_value_heads": 32,
18
  "pad_token_id": 0,
19
  "pretraining_tp": 1,
 
 
 
 
 
 
 
 
 
 
 
 
20
  "rms_norm_eps": 1e-06,
21
  "rope_scaling": null,
22
  "rope_theta": 10000.0,
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "float16",
25
+ "transformers_version": "4.34.0",
26
+ "use_cache": true,
27
  "vocab_size": 32000
28
  }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.34.0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:902fa9038b5ff12fcb6e9a6fb078d6cedc0eea15632fe008998e8d7c44bbde42
3
+ size 6853027945