jliang097 commited on
Commit
fc48141
·
verified ·
1 Parent(s): 92f04c9

Add FARM model weights and inference configurations

Browse files
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ tags:
4
+ - radio-map
5
+ - aerial-networking
6
+ - foundation-model
7
+ datasets:
8
+ - jliang097/FARM_training_test
9
+ ---
10
+
11
+ # FARM: Foundational Aerial Radio Map for Intelligent Low-Altitude Networking
12
+
13
+ Pretrained model weights for [FARM](https://arxiv.org/abs/2604.17362).
14
+
15
+ [Code and inference instructions](https://github.com/Jiahui-L/FARM) · [Dataset](https://huggingface.co/datasets/jliang097/FARM_training_test)
16
+
17
+ | Model | Checkpoint | Configuration |
18
+ | --- | --- | --- |
19
+ | Small | [farm_small.pth](farm_small.pth) | [farm_small.json](configs/farm_small.json) |
20
+ | Base | [farm_base.pth](farm_base.pth) | [farm_base.json](configs/farm_base.json) |
21
+ | Large | [farm_large.pth](farm_large.pth) | [farm_large.json](configs/farm_large.json) |
22
+ | Extra large | [farm_extra_large.pth](farm_extra_large.pth) | [farm_extra_large.json](configs/farm_extra_large.json) |
23
+
24
+ Each checkpoint contains a PyTorch model state dictionary. Use the matching configuration and the inference code in the FARM GitHub repository.
25
+
26
+ ```bash
27
+ hf download jliang097/FARM farm_base.pth --local-dir weights
28
+ ```
configs/farm_base.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arm_shape": [
3
+ 24,
4
+ 512,
5
+ 512
6
+ ],
7
+ "patch_shape": [
8
+ 2,
9
+ 32,
10
+ 32
11
+ ],
12
+ "input_channels": 4,
13
+ "hidden_dim": 512,
14
+ "radio_encoder_depth": 8,
15
+ "map_decoder_depth": 6,
16
+ "attention_heads": 8,
17
+ "ffn_expansion_ratio": 4.0,
18
+ "use_global_token": true,
19
+ "use_embedding_bottleneck": false
20
+ }
configs/farm_extra_large.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arm_shape": [
3
+ 24,
4
+ 512,
5
+ 512
6
+ ],
7
+ "patch_shape": [
8
+ 2,
9
+ 32,
10
+ 32
11
+ ],
12
+ "input_channels": 4,
13
+ "hidden_dim": 768,
14
+ "radio_encoder_depth": 12,
15
+ "map_decoder_depth": 12,
16
+ "attention_heads": 12,
17
+ "ffn_expansion_ratio": 4.0,
18
+ "use_global_token": true,
19
+ "use_embedding_bottleneck": true,
20
+ "embedding_bottleneck_dim": 128
21
+ }
configs/farm_large.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arm_shape": [
3
+ 24,
4
+ 512,
5
+ 512
6
+ ],
7
+ "patch_shape": [
8
+ 2,
9
+ 32,
10
+ 32
11
+ ],
12
+ "input_channels": 4,
13
+ "hidden_dim": 768,
14
+ "radio_encoder_depth": 10,
15
+ "map_decoder_depth": 8,
16
+ "attention_heads": 8,
17
+ "ffn_expansion_ratio": 4.0,
18
+ "use_global_token": true,
19
+ "use_embedding_bottleneck": false
20
+ }
configs/farm_small.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arm_shape": [
3
+ 24,
4
+ 512,
5
+ 512
6
+ ],
7
+ "patch_shape": [
8
+ 2,
9
+ 32,
10
+ 32
11
+ ],
12
+ "input_channels": 4,
13
+ "hidden_dim": 256,
14
+ "radio_encoder_depth": 6,
15
+ "map_decoder_depth": 4,
16
+ "attention_heads": 8,
17
+ "ffn_expansion_ratio": 4.0,
18
+ "use_global_token": true,
19
+ "use_embedding_bottleneck": false
20
+ }
farm_base.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d14e54e4d20bc71f9310a9f4a73c30cf4a371e8318ecb14f79ca44b9c1cc8bd
3
+ size 255802455
farm_extra_large.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5430eb881508d5a366bc8f690133616f837597d4b76c6cf9af2fe2ec6e8dbfe2
3
+ size 894457911
farm_large.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6bbad3849e3c29baf2463304b764ee99ed25c7209ce9ce5b04bb3d34447aa64
3
+ size 688228372
farm_small.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18c1547057e4506bd921dc23b58895b2d340c0a0154d00e894a55062cbec2b4f
3
+ size 57867552