Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
# 🌟🔥 T2I-R1: Reinforcing Image Generation with Collaborative Semantic-level and Token-level CoT
|
| 5 |
+
|
| 6 |
+
Official checkpoint for the paper "[T2I-R1: Reinforcing Image Generation with Collaborative Semantic-level and Token-level CoT](https://arxiv.org/pdf/2505.00703)".
|
| 7 |
+
|
| 8 |
+
Paper: https://arxiv.org/pdf/2505.00703
|
| 9 |
+
Code: https://github.com/CaraJ7/T2I-R1
|
| 10 |
+
|
| 11 |
+
# Usage
|
| 12 |
+
Please refer to the instructions in GitHub to set up the repository first then run the inference script below.
|
| 13 |
+
|
| 14 |
+
```
|
| 15 |
+
cd t2i-r1/src/infer
|
| 16 |
+
python reason_inference.py \
|
| 17 |
+
--model_path YOUR_MODEL_CKPT \
|
| 18 |
+
--data_path test_data.txt
|
| 19 |
+
```
|