atorsvn commited on
Commit
729003d
1 Parent(s): a3b933e

Upload LlamaForCausalLM

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