Update README.md
Browse files
README.md
CHANGED
@@ -1,23 +1,124 @@
|
|
1 |
---
|
2 |
-
base_model:
|
|
|
3 |
tags:
|
4 |
- text-generation-inference
|
5 |
- transformers
|
6 |
-
- unsloth
|
7 |
- qwen2
|
8 |
- trl
|
9 |
-
- sft
|
10 |
license: apache-2.0
|
11 |
language:
|
12 |
- en
|
|
|
|
|
13 |
---
|
|
|
|
|
14 |
|
15 |
-
#
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
-
|
|
|
|
|
|
1 |
---
|
2 |
+
base_model:
|
3 |
+
- Qwen/Qwen2.5-Coder-14B-Instruct
|
4 |
tags:
|
5 |
- text-generation-inference
|
6 |
- transformers
|
|
|
7 |
- qwen2
|
8 |
- trl
|
|
|
9 |
license: apache-2.0
|
10 |
language:
|
11 |
- en
|
12 |
+
datasets:
|
13 |
+
- Tesslate/UIGEN-T1.5-Dataset
|
14 |
---
|
15 |
+

|
16 |
+
*Landing page showcasing visual richness*
|
17 |
|
18 |
+
# **Model Card for UIGEN-T1.5**
|
19 |
|
20 |
+
---
|
21 |
+
|
22 |
+
## **Model Overview**
|
23 |
+
|
24 |
+
UIGEN-T1.5 is an advanced transformer-based UI generation model fine-tuned from **Qwen2.5-Coder-14B-Instruct**, specifically enhanced to produce stunning, modern, and unique frontend user interfaces. Leveraging sophisticated reasoning and chain-of-thought methodologies, UIGEN-T1.5 excels at generating highly structured and visually compelling HTML and CSS code, ideal for sleek dashboards, engaging landing pages, and intuitive sign-up forms.
|
25 |
+
|
26 |
+
---
|
27 |
+
|
28 |
+
## **Model Highlights**
|
29 |
+
|
30 |
+
- **Advanced UI Styles**: Produces sleek, modern, and unique designs.
|
31 |
+
- **Chain-of-Thought Reasoning**: Enhanced reasoning capabilities for accurate HTML/CSS layouts.
|
32 |
+
- **High Usability**: Generates responsive and production-ready frontend code.
|
33 |
+
|
34 |
+
---
|
35 |
+
|
36 |
+
## **Visual Examples**
|
37 |
+
|
38 |
+
*See examples below showcasing UIGEN-T1.5-generated interfaces:*
|
39 |
+
|
40 |
+
|
41 |
+

|
42 |
+
*Dashboard UI generated by UIGEN-T1.5*
|
43 |
+
|
44 |
+
|
45 |
+
---
|
46 |
+
|
47 |
+
## **Use Cases**
|
48 |
+
|
49 |
+
### **Recommended Uses**
|
50 |
+
- **Dashboards**: Insightful and visually appealing data interfaces.
|
51 |
+
- **Landing Pages**: Captivating and high-conversion web pages.
|
52 |
+
- **Authentication Screens**: Elegant sign-up and login interfaces.
|
53 |
+
|
54 |
+
### **Limitations**
|
55 |
+
- **Limited Interactivity**: Minimal JavaScript functionality, focusing on HTML/CSS.
|
56 |
+
- **Prompt Engineering**: May require specific prompts (e.g., appending "answer").
|
57 |
+
|
58 |
+
---
|
59 |
|
60 |
+
## **How to Use**
|
61 |
+
|
62 |
+
### **Inference Example**
|
63 |
+
```python
|
64 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
65 |
+
|
66 |
+
model_name = "smirki/UIGEN-T1.5"
|
67 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
68 |
+
model = AutoModelForCausalLM.from_pretrained(model_name).to("cuda")
|
69 |
+
|
70 |
+
prompt = """<|im_start|>user
|
71 |
+
Design a sleek, modern dashboard for monitoring solar panel efficiency.<|im_end|>
|
72 |
+
<|im_start|>assistant
|
73 |
+
<|im_start|>think
|
74 |
+
"""
|
75 |
+
|
76 |
+
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
|
77 |
+
outputs = model.generate(**inputs, max_new_tokens=12012, do_sample=True, temperature=0.7)
|
78 |
+
|
79 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
80 |
+
```
|
81 |
+
|
82 |
+
---
|
83 |
+
|
84 |
+
## **Performance and Evaluation**
|
85 |
+
|
86 |
+
- **Strengths**:
|
87 |
+
- High-quality UI generation.
|
88 |
+
- Strong reasoning capabilities for structured layouts.
|
89 |
+
|
90 |
+
- **Weaknesses**:
|
91 |
+
- Occasional repetitive design patterns.
|
92 |
+
- Minor artifacting in complex designs.
|
93 |
+
|
94 |
+
---
|
95 |
+
|
96 |
+
## **Technical Specifications**
|
97 |
+
|
98 |
+
- **Architecture**: Transformer-based LLM
|
99 |
+
- **Base Model**: Qwen2.5-Coder-7B-Instruct
|
100 |
+
- **Precision**: bf16 mixed precision, quantized to q8
|
101 |
+
- **Hardware Requirements**: Recommended 12GB VRAM
|
102 |
+
- **Software Dependencies**:
|
103 |
+
- Hugging Face Transformers
|
104 |
+
- PyTorch
|
105 |
+
|
106 |
+
---
|
107 |
+
|
108 |
+
## **Citation**
|
109 |
+
|
110 |
+
```bibtex
|
111 |
+
@misc{Tesslate_UIGEN-T1.5,
|
112 |
+
title={UIGEN-T1.5: Advanced Chain-of-Thought UI Generation Model},
|
113 |
+
author={smirki},
|
114 |
+
year={2025},
|
115 |
+
publisher={Hugging Face},
|
116 |
+
url={https://huggingface.co/Tesslate/UIGEN-T1.5}
|
117 |
+
}
|
118 |
+
```
|
119 |
+
|
120 |
+
---
|
121 |
|
122 |
+
## **Contact & Community**
|
123 |
+
- **Creator:** [smirki](https://huggingface.co/Tesslate)
|
124 |
+
- **Repository & Demo**: Coming soon!
|