Daemontatox commited on
Commit
87da01e
·
verified ·
1 Parent(s): 7c978fb

(Trained with Unsloth)

Browse files
Files changed (2) hide show
  1. config.json +24 -41
  2. generation_config.json +7 -8
config.json CHANGED
@@ -1,51 +1,34 @@
1
  {
2
- "_name_or_path": "unsloth/Qwen2-VL-2B-Instruct",
3
  "architectures": [
4
- "Qwen2VLForConditionalGeneration"
5
  ],
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 151643,
8
- "eos_token_id": 151645,
9
- "hidden_act": "silu",
10
- "hidden_size": 1536,
11
- "image_token_id": 151655,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 8960,
14
- "max_position_embeddings": 32768,
15
- "max_window_layers": 28,
16
- "model_type": "qwen2_vl",
17
- "num_attention_heads": 12,
18
- "num_hidden_layers": 28,
19
- "num_key_value_heads": 2,
20
- "pad_token_id": 151654,
21
- "rms_norm_eps": 1e-06,
22
- "rope_scaling": {
23
- "mrope_section": [
24
- 16,
25
- 24,
26
- 24
27
  ],
28
- "rope_type": "default",
29
- "type": "default"
 
 
 
 
 
 
 
30
  },
31
- "rope_theta": 1000000.0,
32
- "sliding_window": 32768,
33
- "tie_word_embeddings": true,
34
- "torch_dtype": "float16",
35
  "transformers_version": "4.47.1",
36
  "unsloth_fixed": true,
37
  "unsloth_version": "2024.12.11",
38
- "use_cache": true,
39
- "use_sliding_window": false,
40
- "video_token_id": 151656,
41
  "vision_config": {
42
- "hidden_size": 1536,
43
- "in_chans": 3,
44
- "model_type": "qwen2_vl",
45
- "spatial_patch_size": 14
46
- },
47
- "vision_end_token_id": 151653,
48
- "vision_start_token_id": 151652,
49
- "vision_token_id": 151654,
50
- "vocab_size": 151936
51
  }
 
1
  {
2
+ "_name_or_path": "unsloth/Llama-3.2-11B-Vision-Instruct",
3
  "architectures": [
4
+ "MllamaForConditionalGeneration"
5
  ],
6
+ "image_token_index": 128256,
7
+ "model_type": "mllama",
8
+ "pad_token_id": 128004,
9
+ "text_config": {
10
+ "eos_token_id": [
11
+ 128001,
12
+ 128008,
13
+ 128009
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ],
15
+ "model_type": "mllama_text_model",
16
+ "rope_scaling": {
17
+ "factor": 8.0,
18
+ "high_freq_factor": 4.0,
19
+ "low_freq_factor": 1.0,
20
+ "original_max_position_embeddings": 8192,
21
+ "rope_type": "llama3"
22
+ },
23
+ "torch_dtype": "bfloat16"
24
  },
25
+ "torch_dtype": "bfloat16",
 
 
 
26
  "transformers_version": "4.47.1",
27
  "unsloth_fixed": true,
28
  "unsloth_version": "2024.12.11",
 
 
 
29
  "vision_config": {
30
+ "image_size": 560,
31
+ "model_type": "mllama_vision_model",
32
+ "torch_dtype": "bfloat16"
33
+ }
 
 
 
 
 
34
  }
generation_config.json CHANGED
@@ -1,14 +1,13 @@
1
  {
2
- "bos_token_id": 151643,
3
  "do_sample": true,
4
  "eos_token_id": [
5
- 151645,
6
- 151643
 
7
  ],
8
- "max_length": 32768,
9
- "pad_token_id": 151654,
10
- "temperature": 0.01,
11
- "top_k": 1,
12
- "top_p": 0.001,
13
  "transformers_version": "4.47.1"
14
  }
 
1
  {
2
+ "bos_token_id": 128000,
3
  "do_sample": true,
4
  "eos_token_id": [
5
+ 128001,
6
+ 128008,
7
+ 128009
8
  ],
9
+ "pad_token_id": 128004,
10
+ "temperature": 0.6,
11
+ "top_p": 0.9,
 
 
12
  "transformers_version": "4.47.1"
13
  }