Shengcao1006 commited on
Commit
ed87f80
·
1 Parent(s): 3246aba

Add RAS-13B-General

Browse files
added_tokens.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "<mask_group_pred>": 32001,
3
+ "<mask_no>": 32003,
4
+ "<mask_pool_pred>": 32000,
5
+ "<mask_yes>": 32002
6
+ }
config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/localssd/save/llava-v1.5-13b-0730-llavapt-ptv2-directbinarymask",
3
+ "architectures": [
4
+ "SmartSegLlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "exclusive_mask_decoding": true,
11
+ "freeze_mask_classifier": false,
12
+ "freeze_mask_projector": false,
13
+ "freeze_mask_reprojector": false,
14
+ "freeze_vision_projector": false,
15
+ "freeze_vision_tower": true,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 5120,
18
+ "image_aspect_ratio": "pad",
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 13824,
21
+ "mask_decoding_binary_threshold": 0.5,
22
+ "mask_loss_binary": false,
23
+ "mask_loss_binary_pos_weight": 5.0,
24
+ "mask_loss_direct_binary": true,
25
+ "mask_loss_set_pred": true,
26
+ "mask_loss_type": "mse+infonce",
27
+ "mask_projector_input_features": [
28
+ "clip_-2",
29
+ "siglip",
30
+ "open_clip",
31
+ "dinov2",
32
+ "sincos_pe"
33
+ ],
34
+ "mask_projector_type": "mlp2x_gelu",
35
+ "mask_reprojector_type": "mlp2x_gelu",
36
+ "max_length": 4096,
37
+ "max_position_embeddings": 4096,
38
+ "mm_use_im_patch_token": false,
39
+ "mm_use_im_start_end": false,
40
+ "model_type": "smart_seg_llama",
41
+ "num_attention_heads": 40,
42
+ "num_hidden_layers": 40,
43
+ "num_key_value_heads": 40,
44
+ "pad_token_id": 0,
45
+ "pretrain_projectors": false,
46
+ "pretraining_tp": 1,
47
+ "rms_norm_eps": 1e-05,
48
+ "rope_scaling": null,
49
+ "rope_theta": 10000.0,
50
+ "tie_word_embeddings": false,
51
+ "torch_dtype": "bfloat16",
52
+ "transformers_version": "4.37.2",
53
+ "use_cache": true,
54
+ "version": "v1",
55
+ "vision_backbone_resolutions": [
56
+ 336,
57
+ 378,
58
+ 1024,
59
+ 518,
60
+ 448
61
+ ],
62
+ "vision_backbones": [
63
+ "openai/clip-vit-large-patch14-336",
64
+ "google/siglip-so400m-patch14-384",
65
+ "convnext_xxlarge",
66
+ "facebook/dinov2-large",
67
+ "sincos_pe"
68
+ ],
69
+ "vision_hidden_size": [
70
+ 1024,
71
+ 1152,
72
+ 3072,
73
+ 1024,
74
+ 1024
75
+ ],
76
+ "vision_output_features": [
77
+ "clip_-2",
78
+ "siglip",
79
+ "open_clip",
80
+ "dinov2",
81
+ "sincos_pe"
82
+ ],
83
+ "vision_pe_hidden_size": 1024,
84
+ "vision_pe_patches_per_side": 32,
85
+ "vision_pe_scale": 1.0,
86
+ "vision_processor": "openai/clip-vit-large-patch14-336",
87
+ "vision_projector_input_features": [
88
+ "clip_-2"
89
+ ],
90
+ "vision_projector_type": "mlp2x_gelu",
91
+ "vocab_size": 32004
92
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "max_length": 4096,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.37.2"
8
+ }
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1f7150e71868da3d7b053a1c1d473b6da0da715fad77a0729c4f11da5753b6c
3
+ size 4978306760
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:114c2513f19c41423c8a0af057a874166d3b449e3f014604b389e3f785b7d285
3
+ size 4970422232
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45dac3a159ab075002353770bfd94f8e4f241e56733100455108dd45f0f74de7
3
+ size 4970422256
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dba3e0228538b6403292198b1ffbd0971752e43b1273fbe8637ef64babc8d348
3
+ size 4933701504
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86f83c642f32fa6c5749f9677658a6b6fdd7b953b8783d2ed2243b893102674c
3
+ size 4933722216
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9100e2959fe653665de254cc3fe51df7c6cae80308587086040810a462a07121
3
+ size 4973874000
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cca538d377ac3e4fda83c55d6a0568310a52b9fc59ddf10e1f96c45a482223e0
3
+ size 380170778
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<mask_pool_pred>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<mask_group_pred>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "32002": {
46
+ "content": "<mask_yes>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "32003": {
54
+ "content": "<mask_no>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ }
61
+ },
62
+ "bos_token": "<s>",
63
+ "clean_up_tokenization_spaces": false,
64
+ "eos_token": "</s>",
65
+ "legacy": false,
66
+ "model_max_length": 2048,
67
+ "pad_token": "<unk>",
68
+ "padding_side": "right",
69
+ "sp_model_kwargs": {},
70
+ "spaces_between_special_tokens": false,
71
+ "tokenizer_class": "LlamaTokenizer",
72
+ "unk_token": "<unk>",
73
+ "use_default_system_prompt": false
74
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a19e47e7dfebe7862f83cba85ccc45ede2fd3c5fa51df714cc00b57e799e8c31
3
+ size 6328