BiliSakura commited on
Commit
c40328c
·
verified ·
1 Parent(s): 95b33b1

Upload GeoRSCLIP-ViT-H-14

Browse files
GeoRSCLIP-ViT-H-14.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62a3e79df886875976901b4a9b8d6a1c42b457879a5ce625c8eba9460cbc3a11
3
+ size 3944697282
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - clip
5
+ - feature-extraction
6
+ - remote-sensing
7
+ ---
8
+
9
+ # GeoRSCLIP-ViT-H-14
10
+
11
+ This model is a mirror/redistribution of the original [GeoRSCLIP](https://huggingface.co/Zilun/GeoRSCLIP) model.
12
+
13
+ ## Original Repository and Links
14
+ - **Original Hugging Face Model**: [Zilun/GeoRSCLIP](https://huggingface.co/Zilun/GeoRSCLIP)
15
+ - **Official GitHub Repository**: [om-ai-lab/RS5M](https://github.com/om-ai-lab/RS5M)
16
+
17
+ ## Description
18
+ GeoRSCLIP is a vision-language foundation model for remote sensing, trained on a large-scale dataset of remote sensing image-text pairs (RS5M). It is based on the CLIP architecture and is designed to handle the unique characteristics of remote sensing imagery.
19
+
20
+ ## Citation
21
+ If you use this model in your research, please cite the original work:
22
+
23
+ ```bibtex
24
+ @article{zhangRS5MGeoRSCLIPLargeScale2024,
25
+ title = {RS5M} and {GeoRSCLIP}: {A Large-Scale Vision-Language Dataset} and a {Large Vision-Language Model} for {Remote Sensing},
26
+ shorttitle = {RS5M} and {GeoRSCLIP},
27
+ author = {Zhang, Zilun and Zhao, Tiancheng and Guo, Yulong and Yin, Jianwei},
28
+ year = {2024},
29
+ journal = {TGRS},
30
+ volume = {62},
31
+ pages = {1--23},
32
+ issn = {1558-0644},
33
+ doi = {10.1109/TGRS.2024.3449154},
34
+ urldate = {2024-12-15},
35
+ keywords = {Computational modeling,Data models,Domain VLM (DVLM),general VLM (GVLM),image-text paired dataset,Location awareness,parameter efficient tuning,Remote sensing,remote sensing (RS),RS cross-modal text-image retrieval (RSCTIR),semantic localization (SeLo),Semantics,Tuning,vision-language model (VLM),Visualization,zero-shot classification (ZSC)}
36
+ }
37
+ ```
diffusers/text_encoder/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModel"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 49406,
7
+ "dropout": 0.0,
8
+ "dtype": "float32",
9
+ "eos_token_id": 49407,
10
+ "hidden_act": "quick_gelu",
11
+ "hidden_size": 1024,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "pad_token_id": 1,
21
+ "projection_dim": 768,
22
+ "transformers_version": "5.0.0.dev0",
23
+ "vocab_size": 49408
24
+ }
diffusers/text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:928493ea6f275b3e7a286fe7a003c888bc64478e044f8363f3270356a8ed919e
3
+ size 492265168
transformers/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPModel"
4
+ ],
5
+ "dtype": "float32",
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "clip",
9
+ "projection_dim": 768,
10
+ "text_config": {
11
+ "attention_dropout": 0.0,
12
+ "dropout": 0.0,
13
+ "dtype": "float32",
14
+ "hidden_act": "quick_gelu",
15
+ "hidden_size": 1024,
16
+ "initializer_factor": 1.0,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
19
+ "layer_norm_eps": 1e-05,
20
+ "max_position_embeddings": 77,
21
+ "model_type": "clip_text_model",
22
+ "num_attention_heads": 16,
23
+ "num_hidden_layers": 24,
24
+ "projection_dim": 768,
25
+ "vocab_size": 49408
26
+ },
27
+ "transformers_version": "5.0.0.dev0",
28
+ "vision_config": {
29
+ "attention_dropout": 0.0,
30
+ "dropout": 0.0,
31
+ "dtype": "float32",
32
+ "hidden_act": "quick_gelu",
33
+ "hidden_size": 1280,
34
+ "image_size": 224,
35
+ "initializer_factor": 1.0,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 5120,
38
+ "layer_norm_eps": 1e-05,
39
+ "model_type": "clip_vision_model",
40
+ "num_attention_heads": 16,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 32,
43
+ "patch_size": 14,
44
+ "projection_dim": 768
45
+ }
46
+ }
transformers/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
transformers/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827291db8a381538e2bf5b9508d08d8f2e899a0c4600e18f4ad88ce7554cae9e
3
+ size 1710537716
transformers/processor_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "crop_size": {
4
+ "height": 224,
5
+ "width": 224
6
+ },
7
+ "do_center_crop": true,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_rescale": true,
11
+ "do_resize": true,
12
+ "image_mean": [
13
+ 0.48145466,
14
+ 0.4578275,
15
+ 0.40821073
16
+ ],
17
+ "image_processor_type": "CLIPImageProcessor",
18
+ "image_std": [
19
+ 0.26862954,
20
+ 0.26130258,
21
+ 0.27577711
22
+ ],
23
+ "processor_class": "CLIPProcessor",
24
+ "resample": 3,
25
+ "rescale_factor": 0.00392156862745098,
26
+ "size": {
27
+ "shortest_edge": 224
28
+ }
29
+ },
30
+ "processor_class": "CLIPProcessor"
31
+ }
transformers/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
transformers/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
transformers/tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": false,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "extra_special_tokens": {},
27
+ "model_max_length": 77,
28
+ "pad_token": "<|endoftext|>",
29
+ "processor_class": "CLIPProcessor",
30
+ "tokenizer_class": "CLIPTokenizer",
31
+ "unk_token": "<|endoftext|>"
32
+ }
transformers/vocab.json ADDED
The diff for this file is too large to render. See raw diff