Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,56 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- image-generation
|
| 5 |
+
- diffusion
|
| 6 |
+
- imagenet
|
| 7 |
+
- flow-matching
|
| 8 |
+
- self-supervised
|
| 9 |
+
datasets:
|
| 10 |
+
- imagenet-1k
|
| 11 |
+
pipeline_tag: image-to-image
|
| 12 |
+
library_name: pytorch
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Self-Flow ImageNet 256×256
|
| 16 |
+
|
| 17 |
+
**Self-Flow** is a self-supervised training method for diffusion transformers that combines flow matching with a self-supervised feature reconstruction objective. This checkpoint is trained on ImageNet 256×256.
|
| 18 |
+
|
| 19 |
+
### Key Features
|
| 20 |
+
|
| 21 |
+
- **Architecture**: SiT-XL/2 with per-token timestep conditioning
|
| 22 |
+
- **Training**: Flow matching + self-supervised feature reconstruction
|
| 23 |
+
- **Resolution**: 256×256 pixels
|
| 24 |
+
- **Parameters**: ~675M
|
| 25 |
+
|
| 26 |
+
## Evaluation Results
|
| 27 |
+
|
| 28 |
+
| Metric | Value |
|
| 29 |
+
|--------|-------|
|
| 30 |
+
| FID ↓ | 5.7 |
|
| 31 |
+
| IS ↑ | 151.40 |
|
| 32 |
+
| sFID ↓ | 4.97 |
|
| 33 |
+
| Precision | 0.72 |
|
| 34 |
+
| Recall | 0.67 |
|
| 35 |
+
|
| 36 |
+
*Results computed on 50,000 generated samples vs ImageNet validation set.*
|
| 37 |
+
|
| 38 |
+
## Usage
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
### Download Checkpoint
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from huggingface_hub import hf_hub_download
|
| 45 |
+
|
| 46 |
+
checkpoint_path = hf_hub_download(
|
| 47 |
+
repo_id="Hila/selfflow-imagenet256",
|
| 48 |
+
filename="selfflow_imagenet256.pt"
|
| 49 |
+
)
|
| 50 |
+
```
|
| 51 |
+
and follow the instructions in our repository: https://github.com/black-forest-labs/Self-Flow
|
| 52 |
+
|
| 53 |
+
## License
|
| 54 |
+
|
| 55 |
+
This model is released under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
|
| 56 |
+
|