kuleshov commited on
Commit
5eb0eee
1 Parent(s): e1bf9f2

first commit

Browse files
Files changed (3) hide show
  1. config.json +3 -1
  2. quant_config.json +11 -0
  3. quantized_weights.pt +3 -0
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "architectures": [
3
  "LLaMAForCausalLM"
4
  ],
@@ -8,6 +9,7 @@
8
  "hidden_size": 4096,
9
  "initializer_range": 0.02,
10
  "intermediate_size": 11008,
 
11
  "max_sequence_length": 2048,
12
  "model_type": "llama",
13
  "num_attention_heads": 32,
@@ -16,7 +18,7 @@
16
  "rms_norm_eps": 1e-06,
17
  "tie_word_embeddings": false,
18
  "torch_dtype": "float16",
19
- "transformers_version": "4.27.0.dev0",
20
  "use_cache": true,
21
  "vocab_size": 32000
22
  }
 
1
  {
2
+ "_name_or_path": "/share/kuleshov/vk379/llamas/llama-7b-4bit",
3
  "architectures": [
4
  "LLaMAForCausalLM"
5
  ],
 
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 11008,
12
+ "max_position_embeddings": 2048,
13
  "max_sequence_length": 2048,
14
  "model_type": "llama",
15
  "num_attention_heads": 32,
 
18
  "rms_norm_eps": 1e-06,
19
  "tie_word_embeddings": false,
20
  "torch_dtype": "float16",
21
+ "transformers_version": "4.28.0",
22
  "use_cache": true,
23
  "vocab_size": 32000
24
  }
quant_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "c4",
3
+ "bits": 4,
4
+ "nsamples": 128,
5
+ "groupsize": 64,
6
+ "act_order": true,
7
+ "percdamp": 0.01,
8
+ "seed": 0,
9
+ "nearest": false,
10
+ "save": "/tmp/llama-out-test"
11
+ }
quantized_weights.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2be0456edba63d31f64be986886884607b76a0aae01b932f3fd4f0024f07d85b
3
+ size 4020703149