File size: 776 Bytes
0a7ac83
 
 
8f0de5b
 
 
 
 
75c212f
 
 
 
997ce10
 
 
5355083
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
base_model:
- google/flan-t5-large
license: apache-2.0
metrics:
- bleu
tags:
- code
language:
- en
new_version: google/flan-t5-large
pipeline_tag: graph-ml
datasets:
- none-yet/anime-captions
library_name: pyannote-audio
---
### 📦 Model Weights Usage

This repository hosts two separate model weights that need to be used together for the full functionality of Style2Code:

✅ **Style Encoder Checkpoint (first stage)**:  
Trained via contrastive learning to extract explicit style embeddings.

✅ **Flan-T5 Generator Checkpoint (second stage)**:  
Fine-tuned to generate code while incorporating the style embeddings.

To **use these weights**:

1️⃣ Clone the Style2Code repository:  
```bash
git clone https://github.com/zh19980811/Style2Code.git
cd Style2Code