paidaixing commited on
Commit
ea33018
·
verified ·
1 Parent(s): b8bd394

Upload folder content

Browse files
.gitattributes CHANGED
@@ -48,3 +48,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
48
  27b-it-lr3e5-lora8/cp50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
49
  27b-it-lr3e5-lora32/cp50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
50
  27b-32lora-8e-6/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
48
  27b-it-lr3e5-lora8/cp50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
49
  27b-it-lr3e5-lora32/cp50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
50
  27b-32lora-8e-6/tokenizer.json filter=lfs diff=lfs merge=lfs -text
51
+ 27b-lr8e6_lora8/tokenizer.json filter=lfs diff=lfs merge=lfs -text
27b-lr8e6_lora8/Modelfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ollama modelfile auto-generated by llamafactory
2
+
3
+ FROM .
4
+
5
+ TEMPLATE """<bos>{{ if .System }}{{ .System }}
6
+
7
+ {{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<start_of_turn>user
8
+ {{ .Content }}<end_of_turn>
9
+ <start_of_turn>model
10
+ {{ else if eq .Role "assistant" }}{{ .Content }}<end_of_turn>
11
+ {{ end }}{{ end }}"""
12
+
13
+ PARAMETER stop "<eos>"
14
+ PARAMETER stop "<end_of_turn>"
15
+ PARAMETER num_ctx 4096
27b-lr8e6_lora8/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
27b-lr8e6_lora8/chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{{ bos_token }}\n{%- if messages[0]['role'] == 'system' -%}\n {%- if messages[0]['content'] is string -%}\n {%- set first_user_prefix = messages[0]['content'] + '\n\n' -%}\n {%- else -%}\n {%- set first_user_prefix = messages[0]['content'][0]['text'] + '\n\n' -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n{%- else -%}\n {%- set first_user_prefix = \"\" -%}\n {%- set loop_messages = messages -%}\n{%- endif -%}\n{%- for message in loop_messages -%}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}\n {{ raise_exception(\"Conversation roles must alternate user/assistant/user/assistant/...\") }}\n {%- endif -%}\n {%- if (message['role'] == 'assistant') -%}\n {%- set role = \"model\" -%}\n {%- else -%}\n {%- set role = message['role'] -%}\n {%- endif -%}\n {{ '<start_of_turn>' + role + '\n' + (first_user_prefix if loop.first else \"\") }}\n {%- if message['content'] is string -%}\n {{ message['content'] | trim }}\n {%- elif message['content'] is iterable -%}\n {%- for item in message['content'] -%}\n {%- if item['type'] == 'image' -%}\n {{ '<start_of_image>' }}\n {%- elif item['type'] == 'text' -%}\n {{ item['text'] | trim }}\n {%- endif -%}\n {%- endfor -%}\n {%- else -%}\n {{ raise_exception(\"Invalid content type\") }}\n {%- endif -%}\n {{ '<end_of_turn>\n' }}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n {{'<start_of_turn>model\n'}}\n{%- endif -%}\n"
3
+ }
27b-lr8e6_lora8/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "eoi_token_index": 256000,
7
+ "eos_token_id": [
8
+ 1,
9
+ 106
10
+ ],
11
+ "hidden_size": 5376,
12
+ "image_token_index": 262144,
13
+ "initializer_range": 0.02,
14
+ "mm_tokens_per_image": 256,
15
+ "model_type": "gemma3",
16
+ "text_config": {
17
+ "attention_bias": false,
18
+ "attention_dropout": 0.0,
19
+ "attn_logit_softcapping": null,
20
+ "cache_implementation": "hybrid",
21
+ "final_logit_softcapping": null,
22
+ "head_dim": 128,
23
+ "hidden_activation": "gelu_pytorch_tanh",
24
+ "hidden_size": 5376,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 21504,
27
+ "max_position_embeddings": 131072,
28
+ "model_type": "gemma3_text",
29
+ "num_attention_heads": 32,
30
+ "num_hidden_layers": 62,
31
+ "num_key_value_heads": 16,
32
+ "query_pre_attn_scalar": 168,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_local_base_freq": 10000.0,
35
+ "rope_scaling": {
36
+ "factor": 8.0,
37
+ "rope_type": "linear"
38
+ },
39
+ "rope_theta": 1000000.0,
40
+ "sliding_window": 1024,
41
+ "sliding_window_pattern": 6,
42
+ "torch_dtype": "bfloat16",
43
+ "use_cache": true,
44
+ "vocab_size": 262208
45
+ },
46
+ "torch_dtype": "bfloat16",
47
+ "transformers_version": "4.51.3",
48
+ "use_cache": true,
49
+ "vision_config": {
50
+ "attention_dropout": 0.0,
51
+ "hidden_act": "gelu_pytorch_tanh",
52
+ "hidden_size": 1152,
53
+ "image_size": 896,
54
+ "intermediate_size": 4304,
55
+ "layer_norm_eps": 1e-06,
56
+ "model_type": "siglip_vision_model",
57
+ "num_attention_heads": 16,
58
+ "num_channels": 3,
59
+ "num_hidden_layers": 27,
60
+ "patch_size": 14,
61
+ "torch_dtype": "bfloat16",
62
+ "vision_use_head": false
63
+ }
64
+ }
27b-lr8e6_lora8/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "cache_implementation": "hybrid",
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "pad_token_id": 0,
10
+ "top_k": 64,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.51.3"
13
+ }
27b-lr8e6_lora8/model-00001-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb334c685cd780de9d001a6c95aed103fc18a494af9fd55f578642d93b1a9fea
3
+ size 4854573696
27b-lr8e6_lora8/model-00002-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87925914ba86119702a1cc8e07ddc8e5f7fccec6a9be75d7ba569da7e7300415
3
+ size 4954792944
27b-lr8e6_lora8/model-00003-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0460625b8626eed5cb5ea38d4265d538fb130df5860ca03e2dfa09f94bd12d6
3
+ size 4954792976
27b-lr8e6_lora8/model-00004-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4c6ef501d7bc369fbde7b1b97c1f65e1474067fedb94a93daafcde95c2eaf7f
3
+ size 4954793016
27b-lr8e6_lora8/model-00005-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d119dd872def31959d50c11ac5f64531e19fa881b64077ba5e86e03e8f46c01d
3
+ size 4954793016
27b-lr8e6_lora8/model-00006-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64c9c40d38ddcd9c433caa308fb7af639014749d64107d3dba1169631add5a5f
3
+ size 4954793016
27b-lr8e6_lora8/model-00007-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4079413037f0fd78481ada6ad8d754801b09052b03a07c390bce2991ba82ee50
3
+ size 4954793016
27b-lr8e6_lora8/model-00008-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd5421e32f0237fc1d06702611bc61e31936cdd2b2a2d9e8a84de7a16aaa195
3
+ size 4954793016
27b-lr8e6_lora8/model-00009-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d17469649c150dd204144d56f7a8a910869c071bf3c710613c5ecc747dc1266
3
+ size 4954793016
27b-lr8e6_lora8/model-00010-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a43ef1aa08c23e7bf5e2286f58c95c70710139aabf8034024313417fd5ea8bb6
3
+ size 4954793016
27b-lr8e6_lora8/model-00011-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f4ff7d616b458caf10ccf65bab9bd55c81e3a690fd8747efc6cc79046cdd07f
3
+ size 4954793016
27b-lr8e6_lora8/model-00012-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1e269aa740727a5691eeba10ea9386b2a9a97a7d598872e47548d014ec50b34
3
+ size 462476696
27b-lr8e6_lora8/model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
27b-lr8e6_lora8/preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_pan_and_scan": null,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Gemma3ImageProcessor",
13
+ "image_seq_length": 256,
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "pan_and_scan_max_num_crops": null,
20
+ "pan_and_scan_min_crop_size": null,
21
+ "pan_and_scan_min_ratio_to_activate": null,
22
+ "processor_class": "Gemma3Processor",
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 896,
27
+ "width": 896
28
+ }
29
+ }
27b-lr8e6_lora8/processor_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "image_seq_length": 256,
3
+ "processor_class": "Gemma3Processor"
4
+ }
27b-lr8e6_lora8/special_tokens_map.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<end_of_turn>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ }
10
+ ],
11
+ "boi_token": "<start_of_image>",
12
+ "bos_token": {
13
+ "content": "<bos>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "eoi_token": "<end_of_image>",
20
+ "eos_token": {
21
+ "content": "<eos>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "image_token": "<image_soft_token>",
28
+ "pad_token": {
29
+ "content": "<pad>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ },
35
+ "unk_token": {
36
+ "content": "<unk>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false
41
+ }
42
+ }
27b-lr8e6_lora8/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
27b-lr8e6_lora8/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
27b-lr8e6_lora8/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff