Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
-
-
|
| 5 |
- dream
|
| 6 |
- text-generation
|
| 7 |
- diffusion
|
|
@@ -12,10 +12,6 @@ tags:
|
|
| 12 |
|
| 13 |
Dream 7B planned diffusion model trained for 16 epochs.
|
| 14 |
|
| 15 |
-
## Model Description
|
| 16 |
-
|
| 17 |
-
This is a PASTA-Diffusion model trained for 16 epochs using advanced diffusion techniques with structured attention patterns.
|
| 18 |
-
|
| 19 |
## Usage
|
| 20 |
|
| 21 |
|
|
@@ -29,27 +25,23 @@ model = DreamModel.from_pretrained("{model_name}", trust_remote_code=True)
|
|
| 29 |
|
| 30 |
# Use for diffusion generation
|
| 31 |
inputs = tokenizer("Your prompt here", return_tensors="pt")
|
| 32 |
-
output = model.
|
| 33 |
generated_text = tokenizer.decode(output.sequences[0], skip_special_tokens=True)
|
| 34 |
print(generated_text)
|
| 35 |
```
|
| 36 |
|
| 37 |
-
## Model Details
|
| 38 |
-
|
| 39 |
-
- **Model type**: PASTA-Diffusion (Dream-based)
|
| 40 |
-
- **Training**: 16 epochs
|
| 41 |
-
- **Architecture**: Transformer-based with diffusion generation
|
| 42 |
-
- **License**: Apache 2.0
|
| 43 |
-
|
| 44 |
## Citation
|
| 45 |
|
| 46 |
-
If you use this model, please cite the
|
| 47 |
|
| 48 |
```bibtex
|
| 49 |
-
@
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
| 54 |
}
|
| 55 |
```
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
+
- planned-diffusion
|
| 5 |
- dream
|
| 6 |
- text-generation
|
| 7 |
- diffusion
|
|
|
|
| 12 |
|
| 13 |
Dream 7B planned diffusion model trained for 16 epochs.
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
## Usage
|
| 16 |
|
| 17 |
|
|
|
|
| 25 |
|
| 26 |
# Use for diffusion generation
|
| 27 |
inputs = tokenizer("Your prompt here", return_tensors="pt")
|
| 28 |
+
output = model.planned_diffusion_generate(inputs, max_length=512)
|
| 29 |
generated_text = tokenizer.decode(output.sequences[0], skip_special_tokens=True)
|
| 30 |
print(generated_text)
|
| 31 |
```
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
## Citation
|
| 34 |
|
| 35 |
+
If you use this model, please cite the Planned Diffusion paper:
|
| 36 |
|
| 37 |
```bibtex
|
| 38 |
+
@misc{israel2025planneddiffusion,
|
| 39 |
+
title={Planned Diffusion},
|
| 40 |
+
author={Daniel Israel and Tian Jin and Ellie Cheng and Guy Van den Broeck and Aditya Grover and Suvinay Subramanian and Michael Carbin},
|
| 41 |
+
year={2025},
|
| 42 |
+
eprint={2510.18087},
|
| 43 |
+
archivePrefix={arXiv},
|
| 44 |
+
primaryClass={cs.AI},
|
| 45 |
+
url={https://arxiv.org/abs/2510.18087},
|
| 46 |
}
|
| 47 |
```
|