Smith42 Shashwat20 commited on
Commit
d0595e7
·
verified ·
1 Parent(s): ba273bd

“Add usage instructions with SpecFormer–DINO example” (#2)

Browse files

- “Add usage instructions with SpecFormer–DINO example” (c8cdc395c11a392588db605c891e3339fbaa76ae)


Co-authored-by: Shashwat Sourav <[email protected]>

Files changed (1) hide show
  1. README.md +90 -67
README.md CHANGED
@@ -1,67 +1,90 @@
1
- ---
2
- license: cc-by-sa-4.0
3
- configs:
4
- - config_name: default
5
- data_files:
6
- - split: train
7
- path: data/train-*
8
- dataset_info:
9
- features:
10
- - name: astropt_15m_hsc
11
- list: float32
12
- length: 384
13
- - name: astropt_95m_hsc
14
- list: float32
15
- length: 768
16
- - name: astropt_850m_hsc
17
- list: float32
18
- length: 2048
19
- - name: convnext_nano_hsc
20
- list: float32
21
- length: 640
22
- - name: convnext_tiny_hsc
23
- list: float32
24
- length: 768
25
- - name: convnext_base_hsc
26
- list: float32
27
- length: 1024
28
- - name: convnext_large_hsc
29
- list: float32
30
- length: 1536
31
- - name: dino_small_hsc
32
- list: float32
33
- length: 384
34
- - name: dino_base_hsc
35
- list: float32
36
- length: 768
37
- - name: dino_large_hsc
38
- list: float32
39
- length: 1024
40
- - name: dino_giant_hsc
41
- list: float32
42
- length: 1536
43
- - name: ijepa_huge_hsc
44
- list: float32
45
- length: 1280
46
- - name: ijepa_giant_hsc
47
- list: float32
48
- length: 1408
49
- - name: vit_base_hsc
50
- list: float32
51
- length: 768
52
- - name: vit_large_hsc
53
- list: float32
54
- length: 1024
55
- - name: vit_huge_hsc
56
- list: float32
57
- length: 1280
58
- - name: specformer_base_desi
59
- list: float64
60
- length: 768
61
- splits:
62
- - name: train
63
- num_bytes: 1487887360
64
- num_examples: 20465
65
- download_size: 1676612642
66
- dataset_size: 1487887360
67
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ configs:
4
+ - config_name: default
5
+ data_files:
6
+ - split: train
7
+ path: data/train-*
8
+ dataset_info:
9
+ features:
10
+ - name: astropt_15m_hsc
11
+ list: float32
12
+ length: 384
13
+ - name: astropt_95m_hsc
14
+ list: float32
15
+ length: 768
16
+ - name: astropt_850m_hsc
17
+ list: float32
18
+ length: 2048
19
+ - name: convnext_nano_hsc
20
+ list: float32
21
+ length: 640
22
+ - name: convnext_tiny_hsc
23
+ list: float32
24
+ length: 768
25
+ - name: convnext_base_hsc
26
+ list: float32
27
+ length: 1024
28
+ - name: convnext_large_hsc
29
+ list: float32
30
+ length: 1536
31
+ - name: dino_small_hsc
32
+ list: float32
33
+ length: 384
34
+ - name: dino_base_hsc
35
+ list: float32
36
+ length: 768
37
+ - name: dino_large_hsc
38
+ list: float32
39
+ length: 1024
40
+ - name: dino_giant_hsc
41
+ list: float32
42
+ length: 1536
43
+ - name: ijepa_huge_hsc
44
+ list: float32
45
+ length: 1280
46
+ - name: ijepa_giant_hsc
47
+ list: float32
48
+ length: 1408
49
+ - name: vit_base_hsc
50
+ list: float32
51
+ length: 768
52
+ - name: vit_large_hsc
53
+ list: float32
54
+ length: 1024
55
+ - name: vit_huge_hsc
56
+ list: float32
57
+ length: 1280
58
+ - name: specformer_base_desi
59
+ list: float64
60
+ length: 768
61
+ splits:
62
+ - name: train
63
+ num_bytes: 1487887360
64
+ num_examples: 20465
65
+ download_size: 1676612642
66
+ dataset_size: 1487887360
67
+ ---
68
+
69
+ # DESI–HSC Embeddings
70
+
71
+ This dataset contains precomputed embeddings for cross-survey sources (DESI ↔ HSC).
72
+ Each row includes one object ID and multiple embedding vectors from different backbone models (e.g. DINO, ViT, AstroPT).
73
+
74
+ ## Load in Python
75
+
76
+ ```python
77
+ from datasets import load_dataset
78
+ import numpy as np
79
+
80
+ ds = load_dataset("UniverseTBD/desi_hsc_embeddings", split="train")
81
+
82
+ print("Columns:", ds.column_names)
83
+
84
+ # Choose one HSC image embedding and the DESI spectral embedding:
85
+ col_a = "specformer_base_desi" # DESI spectra (SpecFormer)
86
+ col_b = "dino_large_hsc" # HSC images (DINOv2 Large)
87
+ assert col_a in ds.column_names and col_b in ds.column_names
88
+
89
+
90
+ ```