Prince12f commited on
Commit
e86e733
·
verified ·
1 Parent(s): 8e7740c

(Trained with Unsloth)

Browse files
Files changed (2) hide show
  1. config.json +81 -0
  2. generation_config.json +7 -0
config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "unsloth/llava-v1.6-mistral-7b-hf-bnb-4bit",
3
+ "architectures": [
4
+ "LlavaNextForConditionalGeneration"
5
+ ],
6
+ "ignore_index": -100,
7
+ "image_grid_pinpoints": [
8
+ [
9
+ 336,
10
+ 672
11
+ ],
12
+ [
13
+ 672,
14
+ 336
15
+ ],
16
+ [
17
+ 672,
18
+ 672
19
+ ],
20
+ [
21
+ 1008,
22
+ 336
23
+ ],
24
+ [
25
+ 336,
26
+ 1008
27
+ ]
28
+ ],
29
+ "image_seq_length": 576,
30
+ "image_token_index": 32000,
31
+ "model_type": "llava_next",
32
+ "pad_token_id": 32001,
33
+ "projector_hidden_act": "gelu",
34
+ "quantization_config": {
35
+ "bnb_4bit_compute_dtype": "bfloat16",
36
+ "bnb_4bit_quant_type": "nf4",
37
+ "bnb_4bit_use_double_quant": true,
38
+ "llm_int8_enable_fp32_cpu_offload": false,
39
+ "llm_int8_has_fp16_weight": false,
40
+ "llm_int8_skip_modules": null,
41
+ "llm_int8_threshold": 6.0,
42
+ "load_in_4bit": true,
43
+ "load_in_8bit": false,
44
+ "quant_method": "bitsandbytes"
45
+ },
46
+ "text_config": {
47
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
48
+ "architectures": [
49
+ "MistralForCausalLM"
50
+ ],
51
+ "intermediate_size": 14336,
52
+ "max_position_embeddings": 32768,
53
+ "model_type": "mistral",
54
+ "num_key_value_heads": 8,
55
+ "rms_norm_eps": 1e-05,
56
+ "rope_theta": 1000000.0,
57
+ "sliding_window": null,
58
+ "torch_dtype": "bfloat16",
59
+ "vocab_size": 32064
60
+ },
61
+ "tie_word_embeddings": false,
62
+ "torch_dtype": "bfloat16",
63
+ "transformers_version": "4.46.2",
64
+ "unsloth_fixed": true,
65
+ "unsloth_version": "2025.1.5",
66
+ "use_image_newline_parameter": true,
67
+ "vision_config": {
68
+ "hidden_size": 1024,
69
+ "image_size": 336,
70
+ "intermediate_size": 4096,
71
+ "model_type": "clip_vision_model",
72
+ "num_attention_heads": 16,
73
+ "num_hidden_layers": 24,
74
+ "patch_size": 14,
75
+ "projection_dim": 768,
76
+ "vocab_size": 32000
77
+ },
78
+ "vision_feature_layer": -2,
79
+ "vision_feature_select_strategy": "default",
80
+ "vocab_size": 32064
81
+ }
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": 32001,
6
+ "transformers_version": "4.46.2"
7
+ }