squarelike commited on
Commit
9f32d0a
1 Parent(s): 175a669

Upload LlamaForCausalLM (#1)

Browse files

- Upload LlamaForCausalLM (cc07ae3098e48e876341a369984068454e3514a4)

Files changed (3) hide show
  1. config.json +52 -0
  2. generation_config.json +8 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "squarelike/Gugugo-koen-7B-V1.1",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 11008,
13
+ "max_length": 4096,
14
+ "max_position_embeddings": 2048,
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
+ "batch_size": 1,
23
+ "bits": 4,
24
+ "block_name_to_quantize": "model.layers",
25
+ "damp_percent": 0.1,
26
+ "dataset": [
27
+ "auto-gptq is an easy-to-use model quantization library with user-friendly apis, based on GPTQ algorithm."
28
+ ],
29
+ "desc_act": false,
30
+ "disable_exllama": false,
31
+ "group_size": 128,
32
+ "max_input_length": null,
33
+ "model_seqlen": 2048,
34
+ "module_name_preceding_first_block": [
35
+ "model.embed_tokens"
36
+ ],
37
+ "pad_token_id": null,
38
+ "quant_method": "gptq",
39
+ "sym": true,
40
+ "tokenizer": null,
41
+ "true_sequential": true,
42
+ "use_cuda_fp16": true
43
+ },
44
+ "rms_norm_eps": 1e-05,
45
+ "rope_scaling": null,
46
+ "rope_theta": 10000.0,
47
+ "tie_word_embeddings": false,
48
+ "torch_dtype": "float16",
49
+ "transformers_version": "4.34.1",
50
+ "use_cache": true,
51
+ "vocab_size": 46336
52
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "max_length": 4096,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.34.1"
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c220a9445bf29fae2fa83334ce22e83b86eed5786e7e7d6cbf466a43829acb6
3
+ size 4131860881