Add library_name to metadata
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
base_model:
|
| 6 |
- black-forest-labs/FLUX.2-klein-9B
|
|
|
|
|
|
|
|
|
|
| 7 |
pipeline_tag: text-to-image
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
<div align="center">
|
|
@@ -79,8 +80,11 @@ rewards.
|
|
| 79 |
For the generator $G_\theta$, the reward-tilted KL objective decomposes as
|
| 80 |
|
| 81 |
$$
|
| 82 |
-
|
| 83 |
-
\
|
|
|
|
|
|
|
|
|
|
| 84 |
$$
|
| 85 |
|
| 86 |
The two terms map directly to the two trainers exposed by the CLI:
|
|
@@ -191,4 +195,4 @@ pipe(prompt="a cute cat sitting on a windowsill",
|
|
| 191 |
Apache 2.0 — same as the upstream
|
| 192 |
[RTDMD](https://github.com/Harahan/RTDMD) repo. The base model
|
| 193 |
[`black-forest-labs/FLUX.2-klein-9B`](https://huggingface.co/black-forest-labs/FLUX.2-klein-9B)
|
| 194 |
-
is governed by its own license; please review and comply with it separately.
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- black-forest-labs/FLUX.2-klein-9B
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
license: apache-2.0
|
| 7 |
pipeline_tag: text-to-image
|
| 8 |
+
library_name: diffusers
|
| 9 |
---
|
| 10 |
|
| 11 |
<div align="center">
|
|
|
|
| 80 |
For the generator $G_\theta$, the reward-tilted KL objective decomposes as
|
| 81 |
|
| 82 |
$$
|
| 83 |
+
|
| 84 |
+
abla_\theta D_{\text{KL}}(p_\theta \| \tilde{p}_\psi) =
|
| 85 |
+
\underbrace{
|
| 86 |
+
abla_\theta D_{\text{KL}}(p_\theta \| p_\psi)}_{\text{distribution matching}} - \beta\underbrace{
|
| 87 |
+
abla_\theta \mathbb{E}_{\hat{\mathbf{x}}_0 \sim p_\theta}[r(\hat{\mathbf{x}}_0)]}_{\text{reward maximization}}.
|
| 88 |
$$
|
| 89 |
|
| 90 |
The two terms map directly to the two trainers exposed by the CLI:
|
|
|
|
| 195 |
Apache 2.0 — same as the upstream
|
| 196 |
[RTDMD](https://github.com/Harahan/RTDMD) repo. The base model
|
| 197 |
[`black-forest-labs/FLUX.2-klein-9B`](https://huggingface.co/black-forest-labs/FLUX.2-klein-9B)
|
| 198 |
+
is governed by its own license; please review and comply with it separately.
|