daedalus314 commited on
Commit
2b2bb22
1 Parent(s): 9af9c67

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +47 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "acrastt/Griffin-3B",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 3200,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 8640,
12
+ "max_position_embeddings": 2048,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 32,
15
+ "num_hidden_layers": 26,
16
+ "num_key_value_heads": 32,
17
+ "pad_token_id": 0,
18
+ "pretraining_tp": 1,
19
+ "quantization_config": {
20
+ "batch_size": 1,
21
+ "bits": 4,
22
+ "block_name_to_quantize": "model.layers",
23
+ "damp_percent": 0.1,
24
+ "dataset": "c4",
25
+ "desc_act": false,
26
+ "disable_exllama": false,
27
+ "group_size": 32,
28
+ "model_seqlen": 2048,
29
+ "module_name_preceding_first_block": [
30
+ "model.embed_tokens"
31
+ ],
32
+ "pad_token_id": null,
33
+ "quant_method": "gptq",
34
+ "sym": true,
35
+ "tokenizer": null,
36
+ "true_sequential": true,
37
+ "use_cuda_fp16": true
38
+ },
39
+ "rms_norm_eps": 1e-06,
40
+ "rope_scaling": null,
41
+ "rope_theta": 10000.0,
42
+ "tie_word_embeddings": false,
43
+ "torch_dtype": "float16",
44
+ "transformers_version": "4.33.1",
45
+ "use_cache": true,
46
+ "vocab_size": 32000
47
+ }
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.33.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad2239e0c170e027e104de171421fdb9baf513598e25732e08488422a81ab1ce
3
+ size 2277319841