Mindigenous commited on
Commit
d97d813
Β·
verified Β·
1 Parent(s): fc3adca

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +65 -25
README.md CHANGED
@@ -1,38 +1,78 @@
1
- # MINDI 1.5 Vision-Coder
2
-
3
- **Built by [MINDIGENOUS.AI](https://mindigenous.ai)**
4
- **Builder:** Faaz ([@Mindigenous](https://huggingface.co/Mindigenous) on HuggingFace)
5
- **Started:** April 14, 2026 | **Training Complete:** April 28, 2026 | **Frontend v2:** May 2, 2026
6
-
 
 
 
 
 
 
 
 
7
  ---
8
 
9
- ## What is MINDI 1.5?
10
 
11
- MINDI 1.5 Vision-Coder is a multimodal AI model that generates frontend code (HTML/CSS/JS, React, Next.js, Tailwind) from text prompts and UI screenshots.
12
 
13
- - **Architecture:** Qwen2.5-Coder-7B-Instruct + LoRA + CLIP ViT-L/14 + Vision-Language Fusion
14
- - **Training:** 10,000 steps across 3 phases on AMD MI300X 192GB
15
- - **Live API:** [Mindigenous/mindi-chat](https://huggingface.co/spaces/Mindigenous/mindi-chat) on HuggingFace Spaces
16
 
17
- ## Frontend β€” AI Website Builder
 
 
 
 
 
 
 
18
 
19
- A professional 3-panel IDE (Bolt.new-style) for interacting with MINDI:
 
 
 
20
 
21
- ```powershell
22
- cd frontend
23
- npm install
24
- npm run dev # β†’ http://localhost:5173
 
 
 
 
 
 
 
25
  ```
26
 
27
- Features: Plan modal, prompt enhancement, code animation, live preview, file tree, demo fallback.
28
- **Read `context.md` for full architecture and next steps.**
 
 
29
 
30
- ## HuggingFace
 
 
 
 
 
 
 
 
31
 
32
- - **Model:** `Mindigenous/MINDI-1.5-Vision-Coder` (private)
33
- - **Dataset:** `Mindigenous/MINDI-1.5-training-data` (private)
34
- - **Space:** `Mindigenous/mindi-chat` (live, ZeroGPU)
 
 
 
35
 
36
- ## License
 
37
 
38
- Apache 2.0
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - code-generation
7
+ - nextjs
8
+ - react
9
+ - typescript
10
+ - vision
11
+ - multimodal
12
+ - mindi
13
+ - mindigenous
14
+ base_model: Qwen/Qwen2.5-Coder-7B-Instruct
15
  ---
16
 
17
+ # MINDI 1.5 Vision-Coder
18
 
19
+ **Built by MINDIGENOUS.AI β€” Faaz, Mumbai, India**
20
 
21
+ ## Model Description
22
+ MINDI 1.5 is a multimodal agentic AI coding model that generates frontend code
23
+ (HTML/CSS/JS, Next.js, React, Tailwind) from text prompts and UI screenshots.
24
 
25
+ ## Architecture
26
+ | Component | Details |
27
+ |-----------|---------|
28
+ | Base LLM | Qwen/Qwen2.5-Coder-7B-Instruct (7.62B params) |
29
+ | Vision Encoder | CLIP ViT-L/14 (frozen, 304M params) |
30
+ | LoRA Adapters | r=64, alpha=128 (161.5M trainable params) |
31
+ | Fusion | VisionLanguageFusion with text_gate (16.8M params) |
32
+ | Total | 8.1B params, 182.5M trainable (2.25%) |
33
 
34
+ ## Training
35
+ - **3-Phase Progressive Training** on AMD MI300X 192GB + Modal A100 40GB
36
+ - **Dataset**: 1.45M examples, 860M tokens
37
+ - **Final loss**: 0.25–0.40 range
38
 
39
+ ## Checkpoint Structure
40
+ ```
41
+ checkpoints/
42
+ β”œβ”€β”€ phase3_final/ ← Best checkpoint for inference
43
+ β”‚ β”œβ”€β”€ lora/ ← LoRA adapter weights
44
+ β”‚ β”œβ”€β”€ vision/ ← Vision projection weights
45
+ β”‚ └── fusion/ ← Fusion layer weights
46
+ β”œβ”€β”€ phase3_all_step2500_final/
47
+ β”œβ”€β”€ phase3_all_step2000/
48
+ β”œβ”€β”€ phase3_all_step1500/
49
+ └── ... (earlier phases)
50
  ```
51
 
52
+ ## Usage
53
+ ```python
54
+ from src.model.mindi_model import MINDI15
55
+ import torch
56
 
57
+ model = MINDI15(
58
+ model_name="Qwen/Qwen2.5-Coder-7B-Instruct",
59
+ clip_model="openai/clip-vit-large-patch14",
60
+ hidden_size=3584,
61
+ num_visual_tokens=256,
62
+ torch_dtype=torch.bfloat16,
63
+ )
64
+ model.load("checkpoints/phase3_final")
65
+ model.eval()
66
 
67
+ response = model.generate(
68
+ prompt="Build a Next.js landing page",
69
+ max_new_tokens=2048,
70
+ temperature=0.7,
71
+ )
72
+ ```
73
 
74
+ ## Special Tokens (22 total, 11 pairs)
75
+ think, code, file, critique, suggest, search, error, fix, vision, sandbox, context
76
 
77
+ ## Built By
78
+ Faaz β€” MINDIGENOUS.AI | Mumbai, India | April–May 2026