maiyad commited on
Commit
e83d74f
·
1 Parent(s): ae93b6b

Upload MistralForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +53 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "heka-ai/zephyr-beta-ft-400",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 14336,
12
+ "max_position_embeddings": 32768,
13
+ "model_type": "mistral",
14
+ "num_attention_heads": 32,
15
+ "num_hidden_layers": 32,
16
+ "num_key_value_heads": 8,
17
+ "pad_token_id": 2,
18
+ "quantization_config": {
19
+ "batch_size": 1,
20
+ "bits": 4,
21
+ "block_name_to_quantize": "model.layers",
22
+ "cache_block_outputs": true,
23
+ "damp_percent": 0.1,
24
+ "dataset": [
25
+ "c4"
26
+ ],
27
+ "desc_act": false,
28
+ "exllama_config": {
29
+ "version": 1
30
+ },
31
+ "group_size": 128,
32
+ "max_input_length": null,
33
+ "model_seqlen": 32768,
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
+ "use_exllama": true
44
+ },
45
+ "rms_norm_eps": 1e-05,
46
+ "rope_theta": 10000.0,
47
+ "sliding_window": 4096,
48
+ "tie_word_embeddings": false,
49
+ "torch_dtype": "float16",
50
+ "transformers_version": "4.35.2",
51
+ "use_cache": true,
52
+ "vocab_size": 32000
53
+ }
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.35.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af2b14f085b179034b076007e6e76d174455bd4d9044fc153baed258a00ca454
3
+ size 4158662096