RUPASTRA Text-to-Image 10M (128×128 Pixel Art)

RUPASTRA Text-to-Image 10M merupakan model Text-to-Image berukuran kecil yang dikembangkan untuk menghasilkan karakter bergaya pixel art dari deskripsi teks. Model ini memiliki 10.234.624 parameter (~10,23 juta) dan dilatih dari awal (trained from scratch) menggunakan dataset m1guelpf/nouns.

Fokus utama pengembangan RUPASTRA adalah mengeksplorasi bagaimana model dengan jumlah parameter yang relatif sedikit dapat digunakan untuk menghasilkan gambar berdasarkan teks. Setiap gambar yang dihasilkan memiliki resolusi 128×128 piksel dengan gaya visual yang terinspirasi dari karakter Nouns.

Di balik ukurannya yang kecil, RUPASTRA menggunakan beberapa komponen arsitektur, yaitu Grouped Query Dual-Attention (GQDA), 2D Multimodal Rotary Position Embeddings (RoPE-2D), 2×2 Spatial Patch Decoding, dan Embedding Weight Tying. Komponen-komponen ini digunakan sebagai bagian dari pendekatan autoregresif dalam proses generasi gambar.

(RUPASTRA Text-to-Image 10M is a compact Text-to-Image model developed to generate pixel-art characters from text descriptions. It contains 10,234,624 parameters (~10.23 million) and was trained from scratch using the m1guelpf/nouns dataset.

The main goal behind RUPASTRA is to explore how a relatively small model can be used for text-conditioned image generation. Each generated image has a resolution of 128×128 pixels, featuring a visual style inspired by Nouns characters.

*Despite its small size, RUPASTRA incorporates several architectural components, including Grouped Query Dual-Attention (GQDA), 2D Multimodal Rotary Position Embeddings (RoPE-2D), 2×2 Spatial Patch Decoding, and Embedding Weight Tying. These components are part of its autoregressive approach to image generation.)*


Contoh Hasil Generasi (Sample Generations)

Berikut beberapa contoh karakter yang dihasilkan oleh RUPASTRA menggunakan deskripsi teks yang berbeda. Setiap prompt memberikan kombinasi bentuk kepala, warna tubuh, dan latar belakang yang berbeda.

(Here are some examples of characters generated by RUPASTRA using different text prompts. Each prompt provides a different combination of head shape, body color, and background.)

Sample 1 Sample 2 Sample 3 Sample 4
Sample 1 Sample 2 Sample 3 Sample 4
cat-shaped head, red-colored body, warm background robot-shaped head, blue-colored body, cool background crown-shaped head, yellow-colored body, warm background pizza-shaped head, purple-colored body, cool background

Spesifikasi Model (Model Specifications)

Komponen Konfigurasi
Arsitektur (Architecture) GQDATextToImageForConditionalGeneration (Custom GQDA Transformer)
Total Parameter (Unique Parameters) 10,234,624 (~10,23M)
Ukuran Bobot Model (Model Size) ~`40 MB (model.safetensors`)
Dimensi Backbone (Backbone Dimensions) 8 layers, d_model = 288, 8 Q heads / 2 KV heads, ffn_dim = 768 (SwiGLU)
Spatial Patch Decoding 2×2 latent patches (16×16 = 256 autoregressive steps → 32×32 = 1,024 tokens)
Image Decoder (VQ-VAE) CompVis/ldm-super-resolution-4x-openimages (subfolder="vqvae", 8,192 codebook)
Tokenizer Teks (Text Tokenizer) Custom BPE Tokenizer (828 vocabulary, max length 64)
Resolusi Output (Output Resolution) 128×128 RGB
Dataset Pelatihan (Training Dataset) m1guelpf/nouns
Ringkasan Pelatihan (Training Summary) 12 epochs (9,348 steps), CFG dropout 0.1, Final Train Loss 1.1018 (0.9337 eval)

Proses Pelatihan (Training Overview)

RUPASTRA dilatih selama 12 epoch, dengan total 9.348 langkah pelatihan. Selama proses ini, digunakan Classifier-Free Guidance (CFG) dropout sebesar 0.1.

Pada akhir pelatihan, model memperoleh training loss sebesar 1.1018, sementara evaluation loss tercatat sebesar 0.9337.

Hasil ini merupakan bagian dari eksperimen pengembangan RUPASTRA untuk mengeksplorasi generasi gambar autoregresif menggunakan arsitektur yang relatif kecil.

(RUPASTRA was trained for 12 epochs, with a total of 9,348 training steps. A Classifier-Free Guidance (CFG) dropout rate of 0.1 was used throughout the training process.

By the end of training, the model achieved a training loss of 1.1018, while the recorded evaluation loss was 0.9337.

These results are part of the RUPASTRA development experiments, exploring autoregressive image generation with a relatively compact architecture.)

Downloads last month
-
Safetensors
Model size
10.2M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train dhiiitraaa/rupastra-10M

Collection including dhiiitraaa/rupastra-10M