Daemontatox commited on
Commit
1861ed5
1 Parent(s): e20b20e

(Trained with Unsloth)

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. generation_config.json +7 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "unsloth/pixtral-12b-2409-unsloth-bnb-4bit",
3
+ "architectures": [
4
+ "LlavaForConditionalGeneration"
5
+ ],
6
+ "ignore_index": -100,
7
+ "image_seq_length": 1,
8
+ "image_token_index": 10,
9
+ "model_type": "llava",
10
+ "pad_token_id": 11,
11
+ "projector_hidden_act": "gelu",
12
+ "quantization_config": {
13
+ "bnb_4bit_compute_dtype": "bfloat16",
14
+ "bnb_4bit_quant_type": "nf4",
15
+ "bnb_4bit_use_double_quant": true,
16
+ "llm_int8_enable_fp32_cpu_offload": false,
17
+ "llm_int8_has_fp16_weight": false,
18
+ "llm_int8_skip_modules": null,
19
+ "llm_int8_threshold": 6.0,
20
+ "load_in_4bit": true,
21
+ "load_in_8bit": false,
22
+ "quant_method": "bitsandbytes"
23
+ },
24
+ "text_config": {
25
+ "hidden_size": 5120,
26
+ "intermediate_size": 14336,
27
+ "max_position_embeddings": 1024000,
28
+ "model_type": "mistral",
29
+ "num_hidden_layers": 40,
30
+ "num_key_value_heads": 8,
31
+ "rms_norm_eps": 1e-05,
32
+ "rope_theta": 1000000000.0,
33
+ "sliding_window": null,
34
+ "vocab_size": 131072
35
+ },
36
+ "torch_dtype": "bfloat16",
37
+ "transformers_version": "4.47.1",
38
+ "unsloth_fixed": true,
39
+ "unsloth_version": "2024.12.11",
40
+ "vision_config": {
41
+ "head_dim": 64,
42
+ "hidden_act": "gelu",
43
+ "image_size": 1024,
44
+ "model_type": "pixtral",
45
+ "patch_size": 16,
46
+ "rope_theta": 10000.0
47
+ },
48
+ "vision_feature_layer": -1,
49
+ "vision_feature_select_strategy": "full"
50
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 11,
6
+ "transformers_version": "4.47.1"
7
+ }