jsaizant commited on
Commit
fbe30e2
1 Parent(s): 2a5c0d3

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +55 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/jsaiz/storage5/gpfs/projects/bsc88/text/models/salamandra_quantized_speculative/salamandra-2b-base-gptq",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 2048,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 5440,
15
+ "max_position_embeddings": 8192,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "num_key_value_heads": 16,
21
+ "num_layers": 24,
22
+ "pretraining_tp": 1,
23
+ "quantization_config": {
24
+ "batch_size": 1,
25
+ "bits": 4,
26
+ "block_name_to_quantize": null,
27
+ "cache_block_outputs": true,
28
+ "damp_percent": 0.1,
29
+ "dataset": null,
30
+ "desc_act": false,
31
+ "exllama_config": {
32
+ "version": 1
33
+ },
34
+ "group_size": 64,
35
+ "max_input_length": null,
36
+ "model_seqlen": null,
37
+ "module_name_preceding_first_block": null,
38
+ "modules_in_block_to_quantize": null,
39
+ "pad_token_id": null,
40
+ "quant_method": "gptq",
41
+ "sym": true,
42
+ "tokenizer": null,
43
+ "true_sequential": true,
44
+ "use_cuda_fp16": false,
45
+ "use_exllama": true
46
+ },
47
+ "rms_norm_eps": 1e-05,
48
+ "rope_scaling": null,
49
+ "rope_theta": 10000.0,
50
+ "tie_word_embeddings": false,
51
+ "torch_dtype": "float16",
52
+ "transformers_version": "4.46.1",
53
+ "use_cache": true,
54
+ "vocab_size": 256000
55
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.46.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7af1838451456ccd725a2ed0584dde644e06877443368db6d8c239841c9da0ef
3
+ size 2748604656