Update README.md
Browse files
README.md
CHANGED
|
@@ -13,4 +13,20 @@ pipeline_tag: graph-ml
|
|
| 13 |
datasets:
|
| 14 |
- none-yet/anime-captions
|
| 15 |
library_name: pyannote-audio
|
| 16 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
datasets:
|
| 14 |
- none-yet/anime-captions
|
| 15 |
library_name: pyannote-audio
|
| 16 |
+
---
|
| 17 |
+
### 📦 Model Weights Usage
|
| 18 |
+
|
| 19 |
+
This repository hosts two separate model weights that need to be used together for the full functionality of Style2Code:
|
| 20 |
+
|
| 21 |
+
✅ **Style Encoder Checkpoint (first stage)**:
|
| 22 |
+
Trained via contrastive learning to extract explicit style embeddings.
|
| 23 |
+
|
| 24 |
+
✅ **Flan-T5 Generator Checkpoint (second stage)**:
|
| 25 |
+
Fine-tuned to generate code while incorporating the style embeddings.
|
| 26 |
+
|
| 27 |
+
To **use these weights**:
|
| 28 |
+
|
| 29 |
+
1️⃣ Clone the Style2Code repository:
|
| 30 |
+
```bash
|
| 31 |
+
git clone https://github.com/zh19980811/Style2Code.git
|
| 32 |
+
cd Style2Code
|