File size: 1,019 Bytes
8cf26cc
d3932f4
 
 
 
8cf26cc
d3932f4
8cf26cc
 
d3932f4
8cf26cc
 
d3932f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
39
40
41
42
---
title: Candlestick Chart Diffusion
emoji: πŸ“ˆ
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
---

# Candlestick Chart Diffusion Generator

Generate candlestick chart images from text descriptions using a conditional diffusion model.

## Features

- 🎨 **Generate** candlestick charts from text prompts
- πŸ‹οΈ **Train** your own model on custom data
- πŸ“‚ **Load** pre-trained checkpoints

## Example Prompts

- "bullish trend with high volatility"
- "bearish reversal pattern"
- "double bottom formation"
- "sideways market consolidation"
- "head and shoulders pattern"

## How to Use

1. **Generate Dataset**: Use the data generator script to create training data
2. **Train Model**: Upload dataset and train for 50+ epochs
3. **Generate Charts**: Enter a text prompt and generate!

## Model Architecture

- **U-Net** with cross-attention for text conditioning
- **Diffusion** with cosine noise schedule
- **Text Encoder** with transformer layers