Datasets:
Merge branch 'main' of https://huggingface.co/datasets/dclure/laion-aesthetics-12m-umap into main
Browse files
README.md
CHANGED
@@ -1,3 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
# LAION-Aesthetics :: CLIP → UMAP
|
3 |
|
@@ -87,9 +107,6 @@ Then using `cuml.GaussianRandomProjection` to do an initial squeeze to 64d (whic
|
|
87 |
@app.command()
|
88 |
def random_projection(src: str, dst: str, dim: int = 64):
|
89 |
"""Random projection on an embedding matrix."""
|
90 |
-
import rmm
|
91 |
-
import cuml
|
92 |
-
|
93 |
rmm.reinitialize(managed_memory=True)
|
94 |
|
95 |
embeds = np.load(src)
|
|
|
1 |
+
---
|
2 |
+
annotations_creators: []
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
language_creators:
|
6 |
+
- found
|
7 |
+
license:
|
8 |
+
- mit
|
9 |
+
multilinguality:
|
10 |
+
- monolingual
|
11 |
+
pretty_name: laion-aesthetics-12m-umap
|
12 |
+
size_categories: []
|
13 |
+
source_datasets: []
|
14 |
+
tags:
|
15 |
+
- laion
|
16 |
+
- stable-diffuson
|
17 |
+
- text2img
|
18 |
+
task_categories: []
|
19 |
+
task_ids: []
|
20 |
+
---
|
21 |
|
22 |
# LAION-Aesthetics :: CLIP → UMAP
|
23 |
|
|
|
107 |
@app.command()
|
108 |
def random_projection(src: str, dst: str, dim: int = 64):
|
109 |
"""Random projection on an embedding matrix."""
|
|
|
|
|
|
|
110 |
rmm.reinitialize(managed_memory=True)
|
111 |
|
112 |
embeds = np.load(src)
|