yongseonlee commited on
Commit
89ea2ec
1 Parent(s): efa0ca5

Upload MistralForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +12 -14
  2. generation_config.json +1 -0
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "unsloth/mistral-7b-instruct-v0.2-bnb-4bit",
3
  "architectures": [
4
  "MistralForCausalLM"
5
  ],
@@ -15,26 +15,24 @@
15
  "num_attention_heads": 32,
16
  "num_hidden_layers": 32,
17
  "num_key_value_heads": 8,
18
- "pad_token_id": 0,
19
  "quantization_config": {
20
- "bnb_4bit_compute_dtype": "bfloat16",
21
- "bnb_4bit_quant_type": "nf4",
22
- "bnb_4bit_use_double_quant": true,
23
- "llm_int8_enable_fp32_cpu_offload": false,
24
- "llm_int8_has_fp16_weight": false,
25
- "llm_int8_skip_modules": null,
26
- "llm_int8_threshold": 6.0,
27
- "load_in_4bit": true,
28
- "load_in_8bit": false,
29
- "quant_method": "bitsandbytes"
30
  },
31
  "rms_norm_eps": 1e-05,
32
  "rope_theta": 1000000.0,
33
  "sliding_window": null,
34
  "tie_word_embeddings": false,
35
- "torch_dtype": "bfloat16",
36
  "transformers_version": "4.38.2",
37
- "unsloth_version": "2024.4",
38
  "use_cache": true,
39
  "vocab_size": 32000
40
  }
 
1
  {
2
+ "_name_or_path": "quant-awq",
3
  "architectures": [
4
  "MistralForCausalLM"
5
  ],
 
15
  "num_attention_heads": 32,
16
  "num_hidden_layers": 32,
17
  "num_key_value_heads": 8,
 
18
  "quantization_config": {
19
+ "backend": "autoawq",
20
+ "bits": 4,
21
+ "do_fuse": false,
22
+ "fuse_max_seq_len": null,
23
+ "group_size": 128,
24
+ "modules_to_fuse": null,
25
+ "modules_to_not_convert": null,
26
+ "quant_method": "awq",
27
+ "version": "gemm",
28
+ "zero_point": true
29
  },
30
  "rms_norm_eps": 1e-05,
31
  "rope_theta": 1000000.0,
32
  "sliding_window": null,
33
  "tie_word_embeddings": false,
34
+ "torch_dtype": "float16",
35
  "transformers_version": "4.38.2",
 
36
  "use_cache": true,
37
  "vocab_size": 32000
38
  }
generation_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
 
4
  "eos_token_id": 2,
5
  "transformers_version": "4.38.2"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
+ "do_sample": true,
5
  "eos_token_id": 2,
6
  "transformers_version": "4.38.2"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:560e60c799fa7aeb3e45f5df038d7b8df60a25cf59aeaf0012f80d6a5eacc4f5
3
- size 4125687693
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd6722c35d4396fc352363e28f9bb9ad05475aa1d72f1134a23e3c924d6d7ebf
3
+ size 4150880232